- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- max mem on 32 bit Linux OS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2007 08:20 PM
тАО10-11-2007 08:20 PM
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2007 09:08 PM
тАО10-11-2007 09:08 PM
Re: max mem on 32 bit Linux OS
But I have read somewhere that in modern Intel processors there are 36 address lines. That takes the memory limit to 4*2*2*2*2 GB but I am not sure if Linux uses these. :(.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2007 10:09 PM
тАО10-11-2007 10:09 PM
SolutionA 32bit Linux system can access up to 64GB of memory (assuming the mainboard is capable of having that amount).
You have to make sure the kernel you are using is also compiled to take advantage of such amounts of memory.
In the RHEL4 series, you're standard kernel and kernel-smp packages can only address 4GB of memory.
If you have more than 4, then you use the smp enabled kernel-hugemem packages.
All this being said, an individual process can only access 3GB of memory (each).
Hope this helps :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2007 10:50 PM
тАО10-11-2007 10:50 PM
Re: max mem on 32 bit Linux OS
32-bit architectures can reference 4 GB of physical memory (2^32). Processors that have an MMU (Memory Management Unit) support the concept of virtual memory: page tables are set up by the kernel which map "virtual addresses" to "physical addresses"; this basically means that each process can access 4 GB of memory, thinking it's the only process running on the machine (much like multi-tasking, in which each process is made to think that it's the only process executing on a CPU).
.....
The Linux kernel splits the 4 GB virtual address space of a process in two parts: 3 GB and 1 GB. The lower 3 GB of the process virtual address space is accessible as the user-space virtual addresses and the upper 1 GB space is reserved for the kernel virtual addresses. This is true for all processes.
http://kerneltrap.org/node/2450
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 09:00 PM
тАО10-14-2007 09:00 PM
Re: max mem on 32 bit Linux OS
32bits is 4GB limit yes. But for a long time now, there is the PAE extension in 32bits CPU, allowing the memory allocation to be done on 36bits.
So with PAE, it's 64GB. PAE is part of the 'bigmem' kernel option. So almost kernel have it and can use more than 4GB in 32bits.
Restriction is from chipset for Linux.
Windows is different, using PAE is not automatic and can occurs in software issues with drivers for exemple. It is one thing where Linux is better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 05:02 AM
тАО10-15-2007 05:02 AM
Re: max mem on 32 bit Linux OS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 10:07 PM
тАО10-15-2007 10:07 PM
Re: max mem on 32 bit Linux OS
If you have 16 GB of memory, you could, for example, have 3 processes of about 3-4 GB size and some smaller processes (including the OS standard daemons) in the last 4GB portion. But none of the processes can grow beyond 4 GB size. A true 64-bit system is more flexible.
The use of PAE also causes some complications with I/O and shared memory, so a 32-bit OS with PAE and lots of memory might perform slightly worse than a true 64-bit system, especially if your workload is I/O intensive.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 04:57 PM
тАО10-16-2007 04:57 PM
Re: max mem on 32 bit Linux OS
Matti Kurkela, what do you mean by "A true 64-bit system" ? i mean please explain... ? I mean is "A FAKE/PSEOUDO 64-bit system" also exist ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 05:17 PM
тАО10-16-2007 05:17 PM
Re: max mem on 32 bit Linux OS
ia64 = Itanium series of processors (HP Superdome, HP Integrity series)
x86_64 = AMD Opteron / AMD Athlon 64 and Intel Xeon / Intel Core 2 (EM64T) series of processors (HP Proliant series, see http://en.wikipedia.org/wiki/X86-64 for a more full list of actual processors, but basically any proliant produced in the past 2-3 years at a minimum).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 07:57 PM
тАО10-17-2007 07:57 PM
Re: max mem on 32 bit Linux OS
With the x86_64 architecture (also known as AMD64 or EM64T) there's a possibility to run a 32-bit "legacy" OS on top of the 64-bit capable hardware. This brings back all the limitations of 32-bit systems, but usually allows the use of PAE.
We had to do this once when we had to get more powerful servers ASAP but the application was not yet certified for 64-bit platforms by the vendor. The next version of the application was fully certified for 64-bit, so we can now go to true 64-bit mode when the application is upgraded next time.
MK