Please don't top-post.

Arjun wrote:
> Avi,
> Thanks for your response.
>
> Regarding the query on "Guest Swapping", I'm referring to the 
> mechanism that the KVM host can use to swap out a guest's pages. Since 
> a guest OS will have its own swapping mechanism, then how will the 
> host ensure that if it choses to swap out a guest's page, it will not 
> conflict with the guest's own swapping mechanism.
> Put another way: I understand (from docs, mailing list etc.) that KVM 
> allows the host to overbook/overcommit physical memory via the guest 
> swapping mechanism. i.e. the guest thinks it has x number of physical 
> pages but actually the host has swapped out some of the guests pages 
> and given the freed up physical memory to another guest VM. So the 
> guest actually has less than x pages in physical memory but doesn't 
> know it.
>

The guest and host swapping algorithms are completely independent.  It 
is quite possible for the host to select an incorrect page (from a 
performance point of view) for swapping.

There is a proposal (search for "CMM2") to allow cooperation between 
guest and host in this area.

-- 
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to