WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [Xen-users] Xen 4 - Page Sharing HowTo?

On Fri, Apr 09, 2010 at 01:38:12PM +0100, Andrew Lyon wrote:
> On Fri, Apr 9, 2010 at 1:36 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
> > On Fri, Apr 9, 2010 at 1:26 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
> >> On Fri, Apr 9, 2010 at 1:18 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote:
> >>> On Thu, Apr 8, 2010 at 11:01 PM, Nick Couchman <Nick.Couchman@xxxxxxxxx> 
> >>> wrote:
> >>>> One of the features listed as having been added to Xen 4 is page sharing 
> >>>> for HVM domUs.  I was wondering if 1) this is automatic, or something 
> >>>> that must be enabled, and 2) if it must be enabled, how do you go about 
> >>>> 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 test it.
> >>>
> >>> Andy
> >>>
> >>
> >> I added memory_sharing=1 to two hvm guests and started them up, xm log
> >> shows that the setting was applied but there seems to be no change in
> >> the reported memory usage, is there any way to monitor shared memory
> >> performance?
> >>
> >> Andy
> >>
> >
> > I don't think memory_sharing=1 works at all, the very first thing that
> > should happen when it is enabled is a printk:
> >
> > void mem_sharing_init(void)
> > {
> >    printk("Initing memory sharing.\n");
> >
> >
> > But I've not seen that at all on my 4.x system.
> >
> > Andy
> >
> 
> 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?
> 

Hopefully someone from xen-devel can help us with this feature..

-- Pasi


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