[libvirt] KVM Domain memory and disk usage

Eric Blake eblake at redhat.com
Fri Feb 28 20:15:37 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140228/bee159f3/attachment-0001.sig>


More information about the libvir-list mailing list