changing memory size with virsh setmem - results only visible in domain, not on host

Hi, i have a Linux domain (Ubuntu 14.04) where we like to be able to change the amount of usable memory. We have a balloon device and statistics are switched in 5 sec. rhythm. The domain shows very quickly changes (following top) when we change the memory size with setmem, but the host does not show changes in the use of memory for the respective domain. Is that expected behavior ? Host is SLES 12 SP4, libvirt is 4.0.0-8.15.2 Bernd -- Bernd Lentes Systemadministration Institute for Metabolism and Cell Death (MCD) Building 35.34 - Raum 208 HelmholtzZentrum münchen bernd.lentes@helmholtz-muenchen.de phone: +49 89 3187 1241 phone: +49 89 3187 3827 fax: +49 89 3187 2294 http://www.helmholtz-muenchen.de/mcd Perfekt ist wer keine Fehler macht Also sind Tote perfekt Helmholtz Zentrum München Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir.in Prof. Dr. Veronika von Messling Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671

On 3/6/20 10:45 AM, Lentes, Bernd wrote:
Hi,
i have a Linux domain (Ubuntu 14.04) where we like to be able to change the amount of usable memory. We have a balloon device and statistics are switched in 5 sec. rhythm. The domain shows very quickly changes (following top) when we change the memory size with setmem, but the host does not show changes in the use of memory for the respective domain.
How are you looking at it from the host? From the memory-related values in 'virsh dominfo' or 'virsh dumpxml'? Is the host KVM or Xen?
Is that expected behavior ?
Host is SLES 12 SP4, libvirt is 4.0.0-8.15.2
There was a Xen bug along these lines, fixed by commit 11c8aca9. I've verified your version of libvirt contains that fix. Regards, Jim
participants (2)
-
Jim Fehlig
-
Lentes, Bernd