Host memory usage

Jun 28, 2019
119
12
23
44
Hi,

My proxmox 6.0 host is reporting 56GB of RAM usage, but the sum of my total VMs (5) running is only 15GB (considering the total memory allocation, not used memory on guest), this host does not run CEPH or any other services, just KVM process, what is consuming so much memory if the sum of my VMs (5 in total) is only 15GB ?

All running guests have the same hardware config, 4 are windows 2016, 1 is Debian system:

MEMORY : 1.5GB min, 3,0 GB max

Attached is the screenshots..
 

Attachments

  • Host-memory-usage2.PNG
    Host-memory-usage2.PNG
    4.3 KB · Views: 9
  • gues-memory-allocation.PNG
    gues-memory-allocation.PNG
    39.6 KB · Views: 8
  • Host-memory-usage.PNG
    Host-memory-usage.PNG
    68.7 KB · Views: 8
Hi,

It appears that some local filesystem is doing a lot of cache, (maybe ZFS) ?

I executed:
echo 3 > /proc/sys/vm/drop_caches

Host memory lowered to 20GB...
 
I confirmed that ZFS ARC cache is consuming this memory...

Running the command below, shows ZFS arc cache using almost 35GB...

awk '/^size/ { print $1 " " $3 / 1048576 }' < /proc/spl/kstat/zfs/arcstats

So, I have three questions:

1- There is any way to limit this ARC cache on ZFS-local proxmox setup ?

2 - Limiting the ARC cache can result in any side effect in terms of performance?

3 - If the KVM guest require this cached memory, will ZFS release it for other applications?

thanks in advance
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!