Re: [External] : Re: about the hugepage setting of the KVM server

I use the ovirt-node, and I configured HUGEPAGE on the VM, and does not configure the HUGEPAGE on the KVM host. The THP I don't configure anything about it, and after configure the HUGEPAGE on the vm, there is no report. I don't know which method is the best. From: Marcos Sungaila <marcos.sungaila@oracle.com> Sent: Thursday, August 26, 2021 9:13 PM To: Tommy Sway <sz_cuitao@163.com>; users@ovirt.org Subject: RE: [External] : [ovirt-users] Re: about the hugepage setting of the KVM server Hi Tommy, I have no simple answer to your question since I did not need this before, but some questions may help us understand how it is currently working. 1st- Are you using an ovirt-node or an OS+vdsm as a hypervisor? 2nd- Did you enabled huge pages on the VM OS? 3rd- Did you check on the hypervisor OS if transparent hugepages (THP) is enabled? And if, after enabling/configuring hugepages in the VM, it is reporting hugepages are in use in the host? Marcos From: Tommy Sway <sz_cuitao@163.com <mailto:sz_cuitao@163.com> > Sent: quinta-feira, 26 de agosto de 2021 04:49 To: users@ovirt.org <mailto:users@ovirt.org> Subject: [External] : [ovirt-users] Re: about the hugepage setting of the KVM server Anyone can help me ? From: users-bounces@ovirt.org <mailto:users-bounces@ovirt.org> <users-bounces@ovirt.org <mailto:users-bounces@ovirt.org> > On Behalf Of Tommy Sway Sent: Thursday, August 26, 2021 12:27 AM To: users@ovirt.org <mailto:users@ovirt.org> Subject: [ovirt-users] about the hugepage setting of the KVM server Hi: I am running virtual machines on the KVM servers of oVirt env. The virtual machine is running database, which needs to set the memory huge page on the OPERATING system of the virtual machine. If I need to set the huge page on the VIRTUAL machine, do I also need to set huge page on the KVM physical machine? Or just on the virtual machine? What best practices do you recommend? Thank you very much!

Don't mix THP with HP.THP is a mechanism of the kernel to "create" hugepages , but it's inefficient. Disable THP on the VM.Also, if you have large VMs on the host -> consider disabling it there too. Best Regards,Strahil Nikolov Sent from Yahoo Mail on Android On Thu, Aug 26, 2021 at 16:26, Tommy Sway<sz_cuitao@163.com> wrote: _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/UC22X63AAT5LFJ...
participants (2)
-
Strahil Nikolov
-
Tommy Sway