[libvirt] [PATCH] qemu: Set reasonable RSS limit on domain startup

Eric Blake eblake at redhat.com
Thu Jul 19 15:04:01 UTC 2012


On 07/19/2012 08:10 AM, Paolo Bonzini wrote:
> Il 18/07/2012 22:17, Daniel P. Berrange ha scritto:
>>>>
>>>> Looks like a good change. My only question would be if its better to
>>>> look up the guest video RAM instead of assuming that QEMU overhead +
>>>> guest video RAM will amount to no more than about 200MB (I say about
>>>> because of the 1.02 fudge factor). If its not really possible to grab
>>>> that or it just makes sense to go with a set value like this then ACK
>>>> from me.
>> Yeah, since we go to the trouble of keeping video RAM in the XML, I
>> say we ought to use it, instead of the 200MB fudge factor.
> 
> Migration can probably consume more memory than this, with the new
> XBZRLE support that was committed upstream.  Orit, how big is the cache?

It's user-configurable (although libvirt would have to expose that
configuration); defaulting to 64M plus overhead.

-- 
Eric Blake   eblake at 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: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120719/4ec7548d/attachment-0001.sig>


More information about the libvir-list mailing list