3 ms·
Hardware support for virtualization is actually one of the main things driving huge pages. For a TLB miss in a guest, you end up doing a nested page table walk.
by etep 13y ago
Hardware support for virtualization is actually one of the main things driving huge pages. For a TLB miss in a guest, you end up doing a nested page table walk. This is much more expensive with 4 KB pages (i.e. as opposed to 2 MB).
Short answer: huge pages are a big win for virtualization.
- MrBuddyCasino 13y agoThanks, but do I have to enable them on the host or the guest OS? Or both? Sorry, I'm not familiar with the details of HW virtualization.
- etep 13y agoBoth would be best, but they are actually independent.