Re: KVM Domain memory and disk usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eric,

When we run the "virsh dommemstat" cmd, it returns us two values, actual and rss.

I am referring to the rss here. I believe this is the qemu process in the host. So you mean it could be greater than the maximum memory allocation ("memory" in "virsh dumpxml") to the guest? Why?

Thanks,
Bruce


On Fri, Feb 28, 2014 at 3:15 PM, Eric Blake <eblake@xxxxxxxxxx> wrote:
On 02/28/2014 11:28 AM, Qiang Fu wrote:

>> Right now we can get domain memory statistics through the following virsh
>> cmds:
>> 1.      dumpxml: this returns "memory" and "currentMemory"
>>
>
> This are settings for the domain that you can change before the domain
> starts.  "memory" is the maximum it can reach and "currentMemory" is
> what the domain will have it cut down to using a memballoon.
>
> However somehow we can observe RSS greater than the "memory", which is
> supposed to be the maximum it can reach. Have you ever seen this happen and
> could you provide us any comment?

RSS from where?  Are you looking at the memory usage by the qemu process
in the host, or the amount of memory in use by the guest?  The qemu
process uses more memory than what it makes available to the guest.

--
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]