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

Re: [Xen-users] Shared memory between Dom0 and DomU

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@xxxxxxxxxxxxxxxx>
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?


This is great....

All VM's is HVM here...

Pasi Kärkkäinen escreveu:

On Thu, Apr 08, 2010 at 12:52:21PM -0300, Gilberto Nunes wrote:


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

Pasi Kärkkäinen escreveu:

On Thu, Apr 08, 2010 at 10:02:24AM -0300, Gilberto Nunes wrote:


What the purpose of this option:


Is this some KSM tecnology???

Thanks for replay....

Are you testing Xen 4.0 perhaps?
[1]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


Visible links
1. http://wiki.xensource.com/xenwiki/Xen4.0 [1]
2. mailto:gilberto.nunes@xxxxxxxxxxxxxxx

2013/9/9 Xie White <wait.xen@xxxxxxxxx>

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 [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@xxxxxxxxxx>

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.


[1] http://wiki.xensource.com/xenwiki/Xen4.0

Xen-users mailing list

Xen-users mailing list



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