VM with lots of RAM takes ages to start, if even....

soupdiver

Active Member
Feb 24, 2021
33
2
28
55
Its probably related to memory fragmentation somehow...
My system has 256GB of ram total, one VM uses 48GB.
After a reboot the VM comes up easily.. but after some time it wont or takes ages.

If I check hugepages for example it seems fine

Code:
root@pve:~# cat /proc/meminfo | grep -i huge
AnonHugePages:    784384 kB
ShmemHugePages:        0 kB
FileHugePages:         0 kB
HugePages_Total:      56
HugePages_Free:       56
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:    1048576 kB
Hugetlb:        58720256 kB

My zfs ARC is at > 100GB. Which I dont really mind.. but I thought it would free up space if needed etc.

So yea... it's not a soluation to "reboot the host if that happens". There is RAM, there are huge pages available etc etc but the VM sometimes still wont come up.

How do I best address this?