![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| built-in hex editor? | Loriel | Shell Programming and Scripting | 7 | 12-02-2008 03:56 PM |
| Which GCC Built My Kernel? | deckard | Gentoo | 5 | 08-07-2007 10:37 AM |
| ksh built-in function | solea | Shell Programming and Scripting | 1 | 09-23-2004 08:25 AM |
| BUILT-IN command scripts | JSP | Shell Programming and Scripting | 2 | 03-11-2002 09:52 AM |
| awk built in variables | Reza Nazarian | UNIX for Dummies Questions & Answers | 4 | 02-18-2002 01:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
I don't have any experience with x86_64 cpu's and I have never used more than 2 GB Ram on any pc. But after reviewing the memory management sections of my copy "Understanding the Linux Kernel", I may have a handle on this. The Linux kernel needs to use a CPU feature called PAE to access more than 4GB of memory with a 32 bit kernel. This pushes the paging system into a 3 level model (instead of a 2 level model) resulting in the performance hit you mentioned. A 64 bit kernel needs a 3 level model up to kernel version 2.6.10. But this imposed constraints on how memory could be allocated. Starting with version 2.6.11, a four level paging model is used with x86_64 cpu's. It is not clear from the book if it would be possible to not use PAE on a x86_64 with 4 GB or less of memory. But reading between the lines a bit, I gather that the answer is "no". Support for non-PAE kernels seems to be intended for very old cpu's and they won't do 64 bit. Besides large RAM configurations, PAE is required to use the new NX flag which marks some memory regions as non-executable. This closes a security problem. Linux 2.6.11 supports the NX feature.
So a 64-bit kernel may have less decisions for you to make thus "taking care of things". |
|
|||||
|
Ok, thanks - this confirms my suspicions. When poking around in my kernel config (kernel 2.6.20) I could not seem to find any option for large memory support anyway, whereas I do remember seeing it a while back, so that must have been a 2.6.10 or earlier kernel as you mentioned.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|