From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 7F3EC67482 for ; Wed, 26 Aug 2020 17:36:42 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6C901109BE for ; Wed, 26 Aug 2020 17:36:12 +0200 (CEST) Received: from mailpro.odiso.net (mailpro.odiso.net [89.248.211.110]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 95C32109B1 for ; Wed, 26 Aug 2020 17:36:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailpro.odiso.net (Postfix) with ESMTP id 4C04C1076152 for ; Wed, 26 Aug 2020 17:26:37 +0200 (CEST) Received: from mailpro.odiso.net ([127.0.0.1]) by localhost (mailpro.odiso.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 8yTxPVFhGW1d for ; Wed, 26 Aug 2020 17:26:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailpro.odiso.net (Postfix) with ESMTP id 313451076158 for ; Wed, 26 Aug 2020 17:26:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at mailpro.odiso.com Received: from mailpro.odiso.net ([127.0.0.1]) by localhost (mailpro.odiso.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2bovcD3Vdw7n for ; Wed, 26 Aug 2020 17:26:37 +0200 (CEST) Received: from mailpro.odiso.net (mailpro.odiso.net [10.1.31.111]) by mailpro.odiso.net (Postfix) with ESMTP id 1E25C1076152 for ; Wed, 26 Aug 2020 17:26:37 +0200 (CEST) Date: Wed, 26 Aug 2020 17:26:36 +0200 (CEST) From: Alexandre DERUMIER To: Proxmox VE user list Message-ID: <1590399257.111792.1598455596942.JavaMail.zimbra@odiso.com> In-Reply-To: <7acc53a6-0cc6-9c68-a562-e15433d2cc42@dkfz-heidelberg.de> References: <7acc53a6-0cc6-9c68-a562-e15433d2cc42@dkfz-heidelberg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.8.12_GA_3866 (ZimbraWebClient - GC83 (Linux)/8.8.12_GA_3844) Thread-Topic: Show memory usage w/o buffer/cache in VM summaries? Thread-Index: nhiuFx9OYdANsIbEA7QbDpP+JoRabw== X-SPAM-LEVEL: Spam detection results: 0 AWL 0.053 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com] Subject: Re: [PVE-User] Show memory usage w/o buffer/cache in VM summaries? X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 15:36:42 -0000 Hi, I don't think we can retrieve this information from balloon driver from qemu monitor -> # info balloon balloon: actual=3D32768 max_mem=3D32768 total_mem=3D32170 free_mem=3D14111 = mem_swapped_in=3D0 mem_swapped_out=3D0 major_page_faults=3D48300 minor_page= _faults=3D4492802887 last_update=3D1598455555 ----- Mail original ----- De: "Frank Thommen" =C3=80: "Proxmox VE user list" Envoy=C3=A9: Mardi 18 Ao=C3=BBt 2020 22:17:42 Objet: [PVE-User] Show memory usage w/o buffer/cache in VM summaries? Dear all.=20 the memory usage bar in the VM summaires in PVE (6.1-3) shows "active"=20 memory including caches, which is in practice misleading. E.g. this=20 system=20 $ free -m=20 total used free shared buff/cache=20 available=20 Mem: 7821 4778 177 51 2864=20 2738=20 Swap: 3276 123 3153=20 $=20 is shown as using 7.46 GB memory, in red warning color, since this=20 number exceeds 90% of the available 8 GB. However IMHO the almost 3 GB=20 memory used as buffer/cache are irrelevant as they will be freed as soon=20 as they are required by applications. Hence I'd rather see the bar=20 showing me only 4.8 GB of used memory.=20 Is that achievable? The guest OS is CentOS 7.x. The qemu gest agent is=20 installed.=20 Cheers, Frank=20 _______________________________________________=20 pve-user mailing list=20 pve-user@lists.proxmox.com=20 https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user=20