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(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org