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>
Sent: quinta-feira, 26 de agosto de 2021 04:49
To: 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 <users-bounces@ovirt.org> On Behalf Of Tommy Sway
Sent: Thursday, August 26, 2021 12:27 AM
To: 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!