Xen 3.0 x86 + PAE with > 16 GB RAM?
Xen developers:
My employers are interested in deploying large (specifically Sun Fire V40z) systems for use as virtual private server hosting platforms using Xen. However, in playing with Xen on another Opteron based system (with only 5 GB of RAM), I noticed that the PAE-enabled Xen build claims a 16 GB RAM ceiling. Some poking around in the source of the hyperkernel (specifically xen/include/asm/config.h) revealed that MACHPHYS_MBYTES seems to be the key limiting value, capping the system RAM at 16 gigabytes.
Can this safely be increased? From my reading of the code, it appears that it is set as it is because each gigabyte of installed RAM requires a megabyte of RAM to be set aside for mapping tables and such. If I just increase the value of MACHPHYS_MBYTES to 32 (for example), should Xen boot and work happily, just consuming more RAM for its mapping tables?
Please Cc: me with your reply, as I'm not subscribed to this list currently.
Signature · 2 lines
Derrik Pates [email protected]
Quoted 7 lines · Derrik Pates
Can this safely be increased? From my reading of the code, it appears that it is set as it is because each gigabyte of installed RAM requires a megabyte of RAM to be set aside for mapping tables and such. If I just increase the value of
MACHPHYS_MBYTESto 32 (for example), should Xen boot and work happily, just consuming more RAM for its mapping tables?Please Cc: me with your reply, as I'm not subscribed to this list currently.
The memory layout of Xen is hardcoded in asm-x86/config.h, and also in public/arch-x86_32.h. If the addresses of certain critical structures are modified appropriately then things should work fine. Of course Linux will end up with less kernel virtual address space and hence less lowmem.
-- Keir