On 10/14/20 4:07 PM, David Hildenbrand wrote:
Note: prealloc=yes is a bad choice in this environment. It
contradicts memory overcommit - what we want to optimize with
free page reporting. You allocate all VM memory to throw it away
once the guest is up. Is there an option to turn this of with
hugetlbfs? I hope so.
Is this something that should be addressed on qemu side? Since I'm
writing a follow up patches for libvirt I can forbid this combination in
libvirt.
I'll try reproducing upstream and send a BUG report upstream, ccing you. Thanks!
Thank you very much!
Michal