Arjun wrote: > Hi Folks, > > A fellow student and I wish to do run some experiments with KVM. > Specifically, we would like to examine > KVM's guest paging/swapping mechanism, make some changes and run some > tests. After a brief search through > the docs and code, we would greatly appreciate help with the following: > > 1) Guest Paging : What is the selection mechanism used by KVM for > evicting a guest's page ?
With mmu notifiers (not yet merged), pages are picked by the normal Linux LRU mechanism. > What if there are any conflicts between host and guest as to which > page to evict ? > I don't understand this question. > 2) Where can we find the code for the above (guest paging). It's the normal Linux swapping code. > > 3) Are the KVM guests scheduled by the (hosts) standard linux > scheduler ? It appears that this > is the case but I want to be sure. Yes. > > 4) Have there been any changes to the host's page/buffer cache ? Are > there any changes planned ? > Yes, mmu notifiers. This doesn't change pagecache, but rather allows kvm's shadow mmu to be synchronized to the main Linux mmu, which is what allows page eviction and page aging to work. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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