it looks like if my gaming VM with hugepages is configured right, because:
... and right after VM start that mountpoint is getting subdirs: "/mnt/hugepages/libvirt/qemu" but thats it. no file here.hugetlbfs on /mnt/hugepages type hugetlbfs (rw,relatime,gid=78,mode=1770,pagesize=2M)
well, and "cat /proc/meminfo":
Code: Select all
HugePages_Total: 16384
HugePages_Free: 16384
HugePages_Rsvd: 16384
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 33554432 kB
My VM-XML:
Code: Select all
<qemu:arg value="memory-backend-file,id=mem1,size=32G,mem-path=/mnt/hugepages,share=on"/>VM fires up without problems. VM is having 32GB rams and i wanted that all to be "covered" by hugepages.
Its just that i am unter the impression hugepages *are_not* used just because HugePages_Free doesnt shrink.
Am i wrong? Help
