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

Re: [Xen-devel] Page cache shared across domain


  • To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
  • From: Jacob Gorm Hansen <jacobg@xxxxxxx>
  • Date: Tue, 31 Jan 2006 11:17:31 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Amit Patel <amitpate@xxxxxxxxx>
  • Delivery-date: Tue, 31 Jan 2006 10:27:15 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J/c/z4q+TcrbnsEw99f0/M1/ffNWsMuQ6oSGsa9n5oiG9PNFDXOH2BmJy3xRlPHzg85flzUZCj7xlSI5oLrrpRQgo+hSHK8VJzO6244Oq9OwXIJArbfPJsj1yrzHczP8ByNZlTwSVO0jn8NBteJtOlULiMjbXmSs1Pn7MCNCnkM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 1/24/06, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> There are a number of routes for this.  The most obvious is to implement
> content-based page sharing mechanisms for the hypervisor itself - I believe
> people are working on this already.  This is what VMware ESX does when
> running multiple guests, and can unify storage for pages when they have the
> same content.
>
> Another approach is to use a shared interdomain ramdisk and do Execute In
> Place (XIP) on the contents.  It's not a full shared page cache, but it gives
> you sharing for program text, etc.  I'm implementing infrastructure to
> support the dcssblk driver used on IBM zSeries mainframes, which will give us
> this functionality.

Would it make sense to have a Read-Only page type in Xen (if it's not
already there), so that pages coming from the blockdev-backend could
be made RO by the backend, and the domain would have to CoW them if it
needed to modify the contents?

Seems this would allow a shared buffer cache, and also open the door
to a voluntary page sharing mechanism.

Jacob

_______________________________________________
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®.