From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [Xen-users] Xen 4 - Page Sharing HowTo? Date: Fri, 9 Apr 2010 17:09:30 +0300 Message-ID: <20100409140930.GP1878@reaktio.net> References: <4BBDFDF5020000990004DEF5@collaborate.seakr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andrew Lyon Cc: xen-devel@lists.xensource.com, XEN Mailing List List-Id: xen-devel@lists.xenproject.org On Fri, Apr 09, 2010 at 01:38:12PM +0100, Andrew Lyon wrote: > On Fri, Apr 9, 2010 at 1:36 PM, Andrew Lyon wro= te: > > On Fri, Apr 9, 2010 at 1:26 PM, Andrew Lyon w= rote: > >> On Fri, Apr 9, 2010 at 1:18 PM, Andrew Lyon = wrote: > >>> On Thu, Apr 8, 2010 at 11:01 PM, Nick Couchman wrote: > >>>> One of the features listed as having been added to Xen 4 is page s= haring for HVM domUs. =A0I was wondering if 1) this is automatic, or some= thing that must be enabled, and 2) if it must be enabled, how do you go a= bout enabling it? > >>>> > >>>> Thanks! > >>>> -Nick > >>> > >>> See http://lists.xensource.com/archives/html/xen-changelog/2009-12/= msg00192.html > >>> > >>> The setting you need to add is memory_sharing > >>> > >>> I think it may require hap but I am not sure yet.. just about to te= st it. > >>> > >>> Andy > >>> > >> > >> I added memory_sharing=3D1 to two hvm guests and started them up, xm= log > >> shows that the setting was applied but there seems to be no change i= n > >> the reported memory usage, is there any way to monitor shared memory > >> performance? > >> > >> Andy > >> > > > > I don't think memory_sharing=3D1 works at all, the very first thing t= hat > > should happen when it is enabled is a printk: > > > > void mem_sharing_init(void) > > { > > =A0 =A0printk("Initing memory sharing.\n"); > > > > > > But I've not seen that at all on my 4.x system. > > > > Andy > > >=20 > Also the 4.0 release announcement mentioned page to disk, but again I > can find no reference to that... has anybody tested these new > features? >=20 Hopefully someone from xen-devel can help us with this feature.. -- Pasi