Hi Gianluca,

in 4.2 we added a new engine custom property "hugepages" to replace the VDSM hook, where the value of the property is the size of the pages in KiB (1G = 1048576, 2M = 2048).

This property can be set for any VM profile type (not just to high performance VM's).

Please see the following for more details (not all details are up to date, but most are):
https://mpolednik.github.io/2017/06/26/hugepages-and-ovirt/


Regards,
Sharon

On Sat, Jun 16, 2018 at 7:42 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
A part from configuring high performance vm, that gives me no high availability.
Can I allocate huge pages using vdsm-hook-hugepages-4.19.31-1.el7.centos.noarch

it seems that after updating an environment to 4.2 I'm not able to start a VM configured with the custom property

I get 

Th ehost xxxxx did not satisfy internal filter HugePages because there are not enough free huge pages to run the VM

But on host I have

# cat /proc/meminfo | grep -i huge
AnonHugePages:         0 kB
HugePages_Total:   60000
HugePages_Free:    60000
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
#

and the custom property is configured to allocate 8200 huge pages to the guest

The gropu configured in sysctl.d/10-hugepages.conf is

vm.hugetlb_shm_group = 36

Do I have to set anything in /etc/securily/limits.d/ for qemu user?

Thanks In advance,

Gainluca





_______________________________________________
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/A5HNSDH6GEAXQ4X4QFIY3VVWCYWSWCKX/