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

Re: [Xen-devel] Xen Memory de-duplication



Please don't top post.

On Sun, Apr 17, 2016 at 06:28:15PM +0430, Maryam Masoudian wrote:
> Well, yes memshr is at tools/memshr .
> Then , after modifying this c file, should I compile Xen from scratch?

No, you only need to compile the tools -- or, just that tool.

> And is the sharing feature enabled by default in Xen 4.6 ? If not, how to
> enable it?
> 

The hypervisor code is compiled in by default on x86_64 in 4.6.

Wei.

> 
> On Sun, Apr 17, 2016 at 4:45 PM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
> 
> > On Sun, Apr 17, 2016 at 03:55:00PM +0430, Maryam Masoudian wrote:
> > > Hi,
> > >
> > > I have some questions about memory de-duplication in xen.
> > > Firstly, I want to know if this feature is available in Xen .
> > > If it is, how can I enable it in Xen 4.6 HVM mode.
> > >
> > > Also, if I want to do some logging or other action whenever a COW happens
> > > on shared memory, where should I add my codes? (is the /xen/memshr folder
> > > containing the memory de-duplication code)?
> > >
> >
> > I don't seem to find xen/memshr, only tools/memshr -- that's the tool
> > for manipulating memory sharing. You might want to look into hypervsior
> > code arch/x86/mm/mem_sharing.c.
> >
> > Note that memory sharing is not actively maintained so you might
> > encounter all sorts of problems and on your own to solve them.
> >
> > Wei.
> >
> > > Regards,
> >
> 
> 
> 
> >
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@xxxxxxxxxxxxx
> > > http://lists.xen.org/xen-devel
> >
> >

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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