public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Show memory usage w/o buffer/cache in VM summaries?
@ 2020-08-18 20:17 Frank Thommen
  2020-08-26 15:26 ` Alexandre DERUMIER
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Thommen @ 2020-08-18 20:17 UTC (permalink / raw)
  To: Proxmox VE user list

Dear all.

the memory usage bar in the VM summaires in PVE (6.1-3) shows "active" 
memory including caches, which is in practice misleading.  E.g. this 
system

$ free -m
               total        used        free      shared  buff/cache 
available
Mem:           7821        4778         177          51        2864 
   2738
Swap:          3276         123        3153
$

is shown as using 7.46 GB memory, in red warning color, since this 
number exceeds 90% of the available 8 GB.  However IMHO the almost 3 GB 
memory used as buffer/cache are irrelevant as they will be freed as soon 
as they are required by applications.  Hence I'd rather see the bar 
showing me only 4.8 GB of used memory.

Is that achievable?  The guest OS is CentOS 7.x.  The qemu gest agent is 
installed.

Cheers, Frank



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PVE-User] Show memory usage w/o buffer/cache in VM summaries?
  2020-08-18 20:17 [PVE-User] Show memory usage w/o buffer/cache in VM summaries? Frank Thommen
@ 2020-08-26 15:26 ` Alexandre DERUMIER
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre DERUMIER @ 2020-08-26 15:26 UTC (permalink / raw)
  To: Proxmox VE user list

Hi,

I don't think we can retrieve this information from balloon driver

from qemu monitor ->

# info balloon
balloon: actual=32768 max_mem=32768 total_mem=32170 free_mem=14111 mem_swapped_in=0 mem_swapped_out=0 major_page_faults=48300 minor_page_faults=4492802887 last_update=1598455555


----- Mail original -----
De: "Frank Thommen" <f.thommen@dkfz-heidelberg.de>
À: "Proxmox VE user list" <pve-user@lists.proxmox.com>
Envoyé: Mardi 18 Août 2020 22:17:42
Objet: [PVE-User] Show memory usage w/o buffer/cache in VM summaries?

Dear all. 

the memory usage bar in the VM summaires in PVE (6.1-3) shows "active" 
memory including caches, which is in practice misleading. E.g. this 
system 

$ free -m 
total used free shared buff/cache 
available 
Mem: 7821 4778 177 51 2864 
2738 
Swap: 3276 123 3153 
$ 

is shown as using 7.46 GB memory, in red warning color, since this 
number exceeds 90% of the available 8 GB. However IMHO the almost 3 GB 
memory used as buffer/cache are irrelevant as they will be freed as soon 
as they are required by applications. Hence I'd rather see the bar 
showing me only 4.8 GB of used memory. 

Is that achievable? The guest OS is CentOS 7.x. The qemu gest agent is 
installed. 

Cheers, Frank 

_______________________________________________ 
pve-user mailing list 
pve-user@lists.proxmox.com 
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-26 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18 20:17 [PVE-User] Show memory usage w/o buffer/cache in VM summaries? Frank Thommen
2020-08-26 15:26 ` Alexandre DERUMIER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal