From: Jacob Gorm Hansen Subject: Re: Page cache shared across domain Date: Tue, 31 Jan 2006 11:17:31 +0100 Message-ID: References: <347829aa0601232338n1a10402fjad1e4dadc7adc6af@mail.gmail.com> <200601241558.09000.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200601241558.09000.mark.williamson@cl.cam.ac.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mark Williamson Cc: xen-devel@lists.xensource.com, Amit Patel List-Id: xen-devel@lists.xenproject.org On 1/24/06, Mark Williamson 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 belie= ve > 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 t= he > 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 g= ives > you sharing for program text, etc. I'm implementing infrastructure to > support the dcssblk driver used on IBM zSeries mainframes, which will giv= e 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