On 07/19/2012 05:10 PM, 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?
The default cache size is 64M and is allocated on demand,
the user can configure the desired cache size.
My guess is that the cache size will be part of the migration configuration and
can be used for calculating the needed extra RAM for migration with XBZRLE.
Regards,
Orit
Paolo