Now that I have some systems with 128GB of RAM it seems that using HugePages would be very beneficial.
For example, the page table for 16GB of RAM using 4k pages is 32MB, using hugepages it is 64KB
Keeping 64KB in the CPU Cache is much easier than 32MB
Looking at change logs I see that openvz at one point set transparent huge pages to disabled by default (enabled by default in upstream redhat)
But I can not find an explination as to why it was disabled.
Is there some issue between openvz and transparent huge pages?
If so, can I use transparent huge pages with KVM if I do not use any openvz containers?
For example, the page table for 16GB of RAM using 4k pages is 32MB, using hugepages it is 64KB
Keeping 64KB in the CPU Cache is much easier than 32MB
Looking at change logs I see that openvz at one point set transparent huge pages to disabled by default (enabled by default in upstream redhat)
But I can not find an explination as to why it was disabled.
Is there some issue between openvz and transparent huge pages?
If so, can I use transparent huge pages with KVM if I do not use any openvz containers?