LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
LinkBack Search this Thread
Old 11-02-2007, 06:13 AM   #1
mokku
Member
 
Registered: Feb 2007
Posts: 197

Rep: Reputation: 30
32 bit question


Hi,

If we run 32 bit system, can't we have more than 4 GB RAM? I think 32 bit can't support more than 4 GB in address. Please advice.
 
Old 11-02-2007, 06:51 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Yes the 32-bit kernels can support more than 4-GB of memory. For example RHEL4/5 has kernels built just for this very reason, the kernel-PAE (RHEL5) and kernel-hugemem (RHEL4) for example. Other distributions also offer support for greater then 4-GB of memory also. If I remember correctly the 32-bit kernel memory limit is 64-GB.
 
Old 11-02-2007, 07:51 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,660

Rep: Reputation: 425Reputation: 425Reputation: 425Reputation: 425Reputation: 425
32-bits can only directly address 4GB (i.e. 2^32 = 4,294,967,296 bytes). Beyond that, a 32-bit system uses things like paging to address more memory.

A 64-bit system can directly address 1.845 X 10^19 bytes (16 exabytes) Motherboards are not expected to support this much memory for several years....
 
Old 11-02-2007, 08:34 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
See:

http://kerneltrap.org/node/2450

http://groups.google.com/group/comp....625dfcec0b51eb
 
Old 11-02-2007, 08:34 AM   #5
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,989

Rep: Reputation: 63
If memory serves, 32-bit "high memory" support under Linux will, at the cost of some slight performance, allow the kernel to access 64Gb of RAM. But each individual process still gets only a 4Gb address space, so you will need at least 32 memory-hungry programs to make proper use of this for anything more than I/O caching.

Also, it should be noted that some distributions, including Red Hat Enterprise Linux I think, disable high memory support by default, so you may need to recompile your kernel to enable it. Not difficult, but it can be daunting if you've not done it before (and it needs to be done by hand at each kernel update).

A kernel without high memory support will still work on a box with more than 4Gb of memory; it just won't use the rest.

Hope that helps,

—Robert J Lee
 
Old 11-02-2007, 01:28 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,623
Blog Entries: 10

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Moved: This thread is more suitable in <GENERAL> since it's not really Linux-specific, and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
32bit or 64 bit question mokku Linux - Newbie 2 10-26-2007 02:50 PM
64 bit flash question narz Linux - Newbie 4 06-10-2007 05:27 PM
64-bit question foggytown Suse/Novell 2 01-05-2007 08:36 PM
Dumb 64 bit question! ricdave Linux - Hardware 1 07-28-2006 04:31 PM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM


All times are GMT -5. The time now is 05:10 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration