Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Will I benefit from the 32-bit PAE-enabled Linux kernel over the 32-bit non-PAE kernel in a server that has exactly 4GB of ram (and 'pae' in the cpuid flags)? Will the system be able to use all 4GB of ram without a PAE kernel, or will some of the memory go idle?

share|improve this question

4 Answers 4

up vote 6 down vote accepted

Yes, you will need to enable PAE to see all 4GB of RAM. Whilst a 32Bit CPU should in theory be able to use up to 4GB of RAM without PAE, the problem with this is that it requires all 32bits of the address bus to use the 4GB, leaving nothing left for things like graphics cards. So with Non PAE systems, you will get less than 4GB. Enabling PAE will get round this.

share|improve this answer
1  
It would be excellent to get a source on this assertion... –  supervacuo May 31 '12 at 5:51

You would need the PAE enabled kernel to see the 4gb of RAM, yes. Although there is a lot of debate as to seeing the additional memory through hacks like PAE provides any advantage.

Actually Jeff Atwood made a great post about this very issue: Dude where's my RAM

share|improve this answer
1  
+1 for the tried-and-true "Google the Joel/Jeff archives" s*.com answering technique... –  joeforker May 14 '09 at 1:16

I assume you want to "reclaim" the lost memory that devices use?

Now remember, physical memory is not the same as virtual address space. That is, each individual program will still only be able to use 2GB. However, more of them may be able to run without swapping.

Also remember that PAE addressing takes more page table/page directory bookkeeping, so you lose some memory to that. Probably much less than the devices used to take.

share|improve this answer

Yes, you will be able to use most if not all of the 4GB of RAM. See this Stackoverflow posting for a more in-depth discussion of PAE (amongst other things)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.