On 12/13/2009 06:41 PM, Thomas Fjellstrom wrote:
Use the balloon driver to return memory to the host.
Will it actually just free the memory and leave the total memory size in the
VM alone? Last I checked it would just decrease the total memory size, which
isn't that useful. Sometimes it needs more ram, so its given 512M ram, but
most of the time can live on 100M or so.
If you balloon and than balloon back the guest will be able to
reallocate all this memory.
The Linux vm prefers anonymous memory, so guests do get an advantage.
I think the only thing I'd like to have now is automatic memory return, much
like vmware server has. It doesn't change what the guest VM sees, it just
flushes the unused ram back to the host.
Linux usually keeps very little RAM free (it's kept as cache). So there
has to be some action on the part of the host to get the guest to free
things. For Windows guests you can use ksm to reclaim free memory
(since Windows will zero it).
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html