DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st March 2017
beiroot beiroot is offline
Shell Scout
 
Join Date: Sep 2016
Posts: 86
Default OpenBSD - i386 vs amd64 - RAM

Hi,
I've a question I couldn't find the answer to googling.
When you have equal or more of 4GB RAM you need to install amd64?
I know it's true for the older versions of OpenBSD, but is it also true for 6.0?

What are the main reasons for this? I mean the technical answer - what are the architectural differences between those two architectures.

Thanks!
Reply With Quote
  #2   (View Single Post)  
Old 1st March 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

You don't need amd64, but your usable memory space would be limited to 4GB.
amd64 has 64-bit registers for addressing memory.
i386 has 32-bit registers for addressing memory.

2^32 [bytes] = 4294967296 [bytes] = 4 [GB]
2^64 [bytes] =(2^32)^2 [bytes] = 4294967296 * 4294967296 [bytes] = 16 Exabytes

There is something called PAE, but process address space remains expressed by 32-bit pointers, so you still have 4GB limit for every process in system.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 2nd March 2017 at 08:21 AM.
Reply With Quote
  #3   (View Single Post)  
Old 2nd March 2017
beiroot beiroot is offline
Shell Scout
 
Join Date: Sep 2016
Posts: 86
Default

That's a great answer, thank you

But...
Is it 4GB or 3GB according to this thread (jggimi's posts)?
http://daemonforums.org/showthread.php?t=8892

AFAI understand:
- PAE (available since OpenBSD 5.0?) addresses virtual memory (per process) and not physical (overall memory) - do I understand this correctly?
- bigmem - what is it?
Reply With Quote
  #4   (View Single Post)  
Old 2nd March 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Install and discover.

I have both i386 and amd64 systems; however none of the i386 systems have more than 512 MB of RAM.
Reply With Quote
  #5   (View Single Post)  
Old 6th March 2017
beiroot beiroot is offline
Shell Scout
 
Join Date: Sep 2016
Posts: 86
Default

Now that's what I call japanese-style minimalistic
Reply With Quote
  #6   (View Single Post)  
Old 6th March 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

They are Alix systems from PC Engines.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD64 vs i386 on desktop nerfur OpenBSD General 6 5th March 2010 04:12 PM
OpenBSD amd64 or i386 for firewall/router J65nko OpenBSD General 7 24th December 2009 09:06 PM
i386 to amd64 gkontos FreeBSD Installation and Upgrading 3 10th November 2009 02:49 PM
i386 drivers on amd64 kienjakenobi FreeBSD Ports and Packages 5 25th June 2008 05:37 PM
Revert from AMD64 to i386 chavez243 FreeBSD General 6 6th May 2008 12:24 PM


All times are GMT. The time now is 11:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick