the reason behind your performance improvement is a better TLB usage - you
don't need to work through the page table so often (translation physical
address from a virtual address) if you are using HugePages.
VMware explained how TLB is used with their software here (page 3&4):
@ Scott: I like a sentence that Mark Bobak said: "If you’re not using
hugepages, you’re doing it wrong!"
Independent Oracle performance consultant and researcher
Andrew Kerber <andrew.kerber@xxxxxxxxx> hat am 15. Juli 2017 um 01:21--
we have had good luck with them Our observation is a substantial (10% or
better) performance improvement when using hugepages on Virtual Machines.
Andrew W. Kerber