Skip to contentSkip to conversation

xensocket or similar

DISCUSSION James Harper 4 participants 6 messages Oct 2, 2009

lore
Share & tools
lore
#2 lore raw
Quoted 2 lines
Quoted 2 lines

Is xensocket (http://www.springerlink.com/content/b6240q165xg84536/)

or

Quoted 5 lines
Quoted 2 lines

something similar ever going to be in the xen kernel?

Noone has ever submitted such a thing for inclusion.

Any idea's on what form such a thing might take? I can't really see that it's been discussed much before. I got excited when I read about xenfs (the interdomain filesystem that could be used to establish a high speed shared memory interface) and then saw xenfs in the current pvops kernel, but it appears that xenfs in the current pvops kernel is just /proc/xen and isn't what I thought it was.

The current idea I'm thinking of is a new Address Family (AF_XEN?), and using domid+port or domid+name to define an address space.

James

#3 lore raw

2009/10/2 James Harper <[email protected]>:

Quoted 16 lines
Quoted 2 lines
Quoted 2 lines

Is xensocket (http://www.springerlink.com/content/b6240q165xg84536/)

or

Quoted 5 lines
Quoted 2 lines

something similar ever going to be in the xen kernel?

Noone has ever submitted such a thing for inclusion.

Any idea's on what form such a thing might take? I can't really see that it's been discussed much before. I got excited when I read about xenfs (the interdomain filesystem that could be used to establish a high speed shared memory interface) and then saw xenfs in the current pvops kernel, but it appears that xenfs in the current pvops kernel is just /proc/xen and isn't what I thought it was.

Quoted 3 lines

The current idea I'm thinking of is a new Address Family (AF_XEN?), and using domid+port or domid+name to define an address space.

We have something like that in XCI, it's not complete finished yet. Let use sync the trees.

Jean

#4 lore raw

2009/10/2 Jean Guyader <[email protected]>:

Quoted 17 lines

2009/10/2 James Harper <[email protected]>:

Quoted 16 lines
Quoted 2 lines
Quoted 2 lines

Is xensocket (http://www.springerlink.com/content/b6240q165xg84536/)

or

Quoted 5 lines
Quoted 2 lines

something similar ever going to be in the xen kernel?

Noone has ever submitted such a thing for inclusion.

Any idea's on what form such a thing might take? I can't really see that it's been discussed much before. I got excited when I read about xenfs (the interdomain filesystem that could be used to establish a high speed shared memory interface) and then saw xenfs in the current pvops kernel, but it appears that xenfs in the current pvops kernel is just /proc/xen and isn't what I thought it was.

Quoted 7 lines
Quoted 3 lines

The current idea I'm thinking of is a new Address Family (AF_XEN?), and using domid+port or domid+name to define an address space.

We have something like that in XCI, it's not complete finished yet. Let use sync the trees.

We synced the XCI dom patchqueue and you can find the v2v code there.
http://xenbits.xen.org/gitweb?p=xenclient/linux-2.6.27-pq.git;a=blob_plain;f=master/v2v-core;h=4378276c2d2dde17a9bcb950bf17c4f7dcfff66e;hb=HEAD
We have a code to create a socket AF_XEN but right now it's not connected to v2v, it should be done very soon.

Jean

#5 lore raw
In reply to James Harper

FYI, Transcendent Memory (tmem) is in xen and has a subpool-type called "shared persistent" that should work for inter-guest communication. Polled only, there's no mechanism for interrupts, though that could probably be added or done through a different existing Xen mechanism.

See http://oss.oracle.com/projects/tmem for more general info, though this concentrates entirely on the other three subpool types which are useful for memory management.

The existing code in Xen has never been tested for this use (inter-guest communication) so there's likely some problems. If you are interested in working on the guest side(s), I'd be happy to help with the hypervisor plumbing.

Dan

Quoted 18 lines

-----Original Message-----
From: James Harper [mailto:[email protected]]
Sent: Thursday, October 01, 2009 7:22 PM
To: [email protected]
Subject: [Xen-devel] xensocket or similar

Is xensocket
(http://www.springerlink.com/content/b6240q165xg84536/) or something similar ever going to be in the xen kernel?

James

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel