Hi, guys, I''m sorry to disturb you. I am a student. I want to use Xen to do some test about memory sharing between two domain. I am a newbie in Xen memory sharing. I want to set up a environment. I search on the internet. I find some patch for old version. However, I want to running on Xen 4.1 or 4.2 version. Does this still work? Can you help me? Can you give some instruction on this? or Can you give me some information? also, I want to know how the data structure "page_info" in xen connect with data structure "page" in linux kernel. Which source code files do I need to read? Thanks for you reading. Thank you! _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Thu, 2013-09-05 at 16:08 -0400, Xie White wrote:> Hi, guys, > > > I''m sorry to disturb you. > > > I am a student. I want to use Xen to do some test about memory sharing > between two domain. I am a newbie in Xen memory sharing. I want to set > up a environment. > > > I search on the internet. I find some patch for old version. However, > I want to running on Xen 4.1 or 4.2 version. Does this still work? Can > you help me? Can you give some instruction on this? or Can you give me > some information?What exactly do you mean by memory sharing between dom0 and domU?> also, I want to know how the data structure "page_info" in xen connect > with data structure "page" in linux kernel. Which source code files do > I need to read?I suggest you use tools such as grep to locate the relevant source file. Ian.
Memory Sharing allow sharing of identical pages between HVM guests it‘s a feature of Xen, but it is under tech preview. I just want to enable this feature. here is a link for xen 4.0.1. http://xen.1045712.n5.nabble.com/Memory-Page-Sharing-on-Xen-4-0-1-td4531585.html I want to enable it in xen 4.2 or 4.3. I don''t know whether this works. 2013/9/6 Ian Campbell <Ian.Campbell@citrix.com>> On Thu, 2013-09-05 at 16:08 -0400, Xie White wrote: > > Hi, guys, > > > > > > I''m sorry to disturb you. > > > > > > I am a student. I want to use Xen to do some test about memory sharing > > between two domain. I am a newbie in Xen memory sharing. I want to set > > up a environment. > > > > > > I search on the internet. I find some patch for old version. However, > > I want to running on Xen 4.1 or 4.2 version. Does this still work? Can > > you help me? Can you give some instruction on this? or Can you give me > > some information? > > What exactly do you mean by memory sharing between dom0 and domU? > > > also, I want to know how the data structure "page_info" in xen connect > > with data structure "page" in linux kernel. Which source code files do > > I need to read? > > I suggest you use tools such as grep to locate the relevant source file. > > Ian. > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
What I want to do is to enable memory_sharing on my Xen. I search the mails. I find some guys discussed this before. Does someone can give me some advises? Appreciate! Thanks. This is great.... All VM''s is HVM here... Thanks Pasi Kärkkäinen escreveu: On Thu, Apr 08, 2010 at 12:52:21PM -0300, Gilberto Nunes wrote: Yes... I''m testing 4.0 and see this option on xend-config... I read comment and wanna know more about it... This memory share work like KSM or not???? It works only for HVM guests.. I haven''t tried it (yet), so I cannot tell you more.. You might want to discuss it on xen-devel mailinglist.. -- Pasi Thanks Pasi Kärkkäinen escreveu: On Thu, Apr 08, 2010 at 10:02:24AM -0300, Gilberto Nunes wrote: Hi... What the purpose of this option: memory_sharing Is this some KSM tecnology??? Thanks for replay.... Are you testing Xen 4.0 perhaps? [1]http://wiki.xensource.com/xenwiki/Xen4.0 -- Pasi -- Gilberto Nunes Ferreira Suporte T.I. Selbetti Gestão de Documentos (47) 3441-6004 / (47) 8861-6672 Fax (47) 3441-6021 [2]gilberto.nunes@xxxxxxxxxxxxxxx References Visible links 1. http://wiki.xensource.com/xenwiki/Xen4.0 2. mailto:gilberto.nunes@xxxxxxxxxxxxxxx <gilberto.nunes@xxxxxxxxxxxxxxx> 2013/9/9 Xie White <wait.xen@gmail.com>> Memory Sharing > allow sharing of identical pages between HVM guests > it‘s a feature of Xen, but it is under tech preview. > I just want to enable this feature. > here is a link for xen 4.0.1. > > http://xen.1045712.n5.nabble.com/Memory-Page-Sharing-on-Xen-4-0-1-td4531585.html > I want to enable it in xen 4.2 or 4.3. I don''t know whether this works. > > > > 2013/9/6 Ian Campbell <Ian.Campbell@citrix.com> > >> On Thu, 2013-09-05 at 16:08 -0400, Xie White wrote: >> > Hi, guys, >> > >> > >> > I''m sorry to disturb you. >> > >> > >> > I am a student. I want to use Xen to do some test about memory sharing >> > between two domain. I am a newbie in Xen memory sharing. I want to set >> > up a environment. >> > >> > >> > I search on the internet. I find some patch for old version. However, >> > I want to running on Xen 4.1 or 4.2 version. Does this still work? Can >> > you help me? Can you give some instruction on this? or Can you give me >> > some information? >> >> What exactly do you mean by memory sharing between dom0 and domU? >> >> > also, I want to know how the data structure "page_info" in xen connect >> > with data structure "page" in linux kernel. Which source code files do >> > I need to read? >> >> I suggest you use tools such as grep to locate the relevant source file. >> >> Ian. >> >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Mon, 2013-09-09 at 09:44 -0400, Xie White wrote:> Memory Sharing > allow sharing of identical pages between HVM guests > > it‘s a feature of Xen, but it is under tech preview.I believe it is in tech previous in 4.3 too, but the code is mostly there.> I just want to enable this feature. > here is a link for xen 4.0.1. > http://xen.1045712.n5.nabble.com/Memory-Page-Sharing-on-Xen-4-0-1-td4531585.html > I want to enable it in xen 4.2 or 4.3. I don't know whether this > works.I think you'll probably need to just dig in and try it, being tech preview there isn't a whole lot of documentation or even information around I'm afraid. Ian. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Thank you for you reply. I tried KVM before. However, KSM only merge the anonymous pages, not pagecache(file) pages. I want to do some test on file pages in memory. So, the KSM cannot be used in my situation. Do you have any suggestion? Thank you! 2013/9/10 André Almdeida Pfeiffer <andre@nortecnet.com.br>> Try KVM. Xen is not mature enough on this aspect. You can also search for > virtfs from plan9, some guys from IBM used it to creat a virtual file > system on wich you can build a shared memory on xen (or any other monitors) > sharing a disk partition or even a mounted partition on RAM. You can also > use its paging management capability to do so, but it is much harder. KVM > on other hands has some tools ready. > > Good Luck. > > Em 2013-09-10 12:06, Xie White escreveu: > >> What I want to do is to enable memory_sharing on my Xen. >> >> I search the mails. I find some guys discussed this before. >> Does someone can give me some advises? >> >> Appreciate! >> Thanks. >> >> This is great.... >> >> All VM''s is HVM here... >> >> Thanks >> Pasi Kärkkäinen escreveu: >> >> On Thu, Apr 08, 2010 at 12:52:21PM -0300, Gilberto Nunes wrote: >>> >>> Yes... >>>> >>>> I''m testing 4.0 and see this option on xend-config... >>>> I read comment and wanna know more about it... >>>> >>>> This memory share work like KSM or not???? >>>> >>> >>> It works only for HVM guests.. I haven''t tried it (yet), so I cannot >>> tell you more.. >>> >>> You might want to discuss it on xen-devel mailinglist.. >>> >>> -- Pasi >>> >>> Thanks >>>> Pasi Kärkkäinen escreveu: >>>> >>>> On Thu, Apr 08, 2010 at 10:02:24AM -0300, Gilberto Nunes wrote: >>>> >>>> Hi... >>>> >>>> What the purpose of this option: >>>> >>>> memory_sharing >>>> >>>> Is this some KSM tecnology??? >>>> >>>> Thanks for replay.... >>>> >>>> Are you testing Xen 4.0 perhaps? >>>> [1]http://wiki.xensource.com/**xenwiki/Xen4.0<http://wiki.xensource.com/xenwiki/Xen4.0>[1] >>>> >>>> >>>> -- Pasi >>>> >>>> -- >>>> Gilberto Nunes Ferreira >>>> Suporte T.I. >>>> Selbetti Gestão de Documentos >>>> (47) 3441-6004 / (47) 8861-6672 >>>> Fax (47) 3441-6021 >>>> [2]gilberto.nunes@**xxxxxxxxxxxxxxx >>>> >>>> References >>>> >>>> Visible links >>>> 1. http://wiki.xensource.com/**xenwiki/Xen4.0<http://wiki.xensource.com/xenwiki/Xen4.0>[1] >>>> 2. mailto:gilberto.nunes@**xxxxxxxxxxxxxxx<gilberto.nunes@xxxxxxxxxxxxxxx> >>>> >>> >> 2013/9/9 Xie White <wait.xen@gmail.com> >> >> Memory Sharing >>> >>> allow sharing of identical pages between HVM guests >>> >>> it‘s a feature of Xen, but it is under tech preview. >>> >>> I just want to enable this feature. >>> here is a link for xen 4.0.1. >>> http://xen.1045712.n5.nabble.**com/Memory-Page-Sharing-on-** >>> Xen-4-0-1-td4531585.html<http://xen.1045712.n5.nabble.com/Memory-Page-Sharing-on-Xen-4-0-1-td4531585.html>[2] >>> >>> I want to enable it in xen 4.2 or 4.3. I don''t know whether this works. >>> >>> 2013/9/6 Ian Campbell <Ian.Campbell@citrix.com> >>> >>> On Thu, 2013-09-05 at 16:08 -0400, Xie White wrote: >>>> >>>>> Hi, guys, >>>>> >>>>> >>>>> I''m sorry to disturb you. >>>>> >>>>> >>>>> I am a student. I want to use Xen to do some test about memory sharing >>>>> between two domain. I am a newbie in Xen memory sharing. I want to set >>>>> up a environment. >>>>> >>>>> >>>>> I search on the internet. I find some patch for old version. However, >>>>> I want to running on Xen 4.1 or 4.2 version. Does this still work? Can >>>>> you help me? Can you give some instruction on this? or Can you give me >>>>> some information? >>>>> >>>> >>>> What exactly do you mean by memory sharing between dom0 and domU? >>>> >>>> also, I want to know how the data structure "page_info" in xen connect >>>>> with data structure "page" in linux kernel. Which source code files do >>>>> I need to read? >>>>> >>>> >>>> I suggest you use tools such as grep to locate the relevant source file. >>>> >>>> Ian. >>>> >>> >> >> >> Links: >> ------ >> [1] http://wiki.xensource.com/**xenwiki/Xen4.0<http://wiki.xensource.com/xenwiki/Xen4.0> >> [2] >> http://xen.1045712.n5.nabble.**com/Memory-Page-Sharing-on-** >> Xen-4-0-1-td4531585.html<http://xen.1045712.n5.nabble.com/Memory-Page-Sharing-on-Xen-4-0-1-td4531585.html> >> >> ______________________________**_________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users