
Hi, the hugepages configuration has two aspects - hugepage size and count. You can have multiple sizes at the same time. I am not sure what the recommended configuration is or how to pass it to kernel so others will have to help here (I think 2M and 1G are the usual sizes). The VM memory configuration is then taken from two places. The custom property tells oVirt which size of hugepages you want to use (in KiB iirc) and the actual number of used hugepages is computed from the total memory configured for the VM at the usual place (it has to be a multiple of the selected hugepage size). One of our colleagues wrote a blog post about this: https://mpolednik.github.io/2017/06/26/hugepages-and-ovirt/ Best regards Martin Sivak On Fri, Feb 15, 2019 at 5:35 AM Vincent Royer <vincent@epicenergy.ca> wrote:
How do I know how many huge pages my hosts can support?
cat /proc/meminfo | grep Huge AnonHugePages: 17684480 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB
[image: image.png]
And once I know, I set the kernel parameters here, and reboot the host, correct?
[image: image.png]
And then I assume I assign them to the VM here? How do I decide how many huge pages and what size a particular VM can benefit from?
[image: image.png]
Is there a part of the docs I am not finding that covers this? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZMGN7YZXSQ5UUZ...