[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen Mem Page Sharing -> Implementation



Hi, 

At 13:07 -0500 on 08 Feb (1328706468), Peter Deng wrote:
> So looking through the code, I am getting that the mechanisms for sharing
> the pages are present within the hypervisor and the hypervisor will manage
> the sharing and unsharing of pages. Now, this leads me into a question that
> regards the implementation of sharing pages. In the research articles I
> have read, hashing was used to determine the contents of similar pages; is
> there code implementation present in Xen that does this or something
> related in that area? If so, where is it in the source code?

No, Xen itself does not contain any code for selecting which pages to
share.  We leave that to the tools.

Incidentally, here are some reasons why hashing pages of RAM and
scanning for duplicates might not be such a great idea:
http://www.usenix.org/events/usenix09/tech/full_papers/milos/milos_html/index.html
(N.B.: that paper does _not_ describe the page-sharing interface that's
currently in Xen; Satori was a research prototype for sharing memory
between _PV_ guests).

Tim.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.