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

Re: [Xen-devel] [RFC] Lightweight socket communication between domainsin

> Yes. the switch layer has to know whether the peer is in the same host or
> not.
> In the current implementation, version 0.6, we assume that Xen
> administrator knows the IP address of
> each domain in the host, and he/she gives the information manually to the
> swith layers residing every domain that wishes to use Xway. However, that
> manual chore could be replaced with automatic way without difficulty.

Via Xenstore, presumably.  This shouldn't be difficult...

You'd need a way to figure out what IP addresses the domains were using in the 
case of bridging but you can handle this in dom0 I expect.

Cheers,
Mark

> best regards,
> kangho kim.
>
> 2007/5/9, Zhu Han <schumi.han@xxxxxxxxx>:
> > HI,
> >
> > I'm quite curious how Xway find out whether the peer is on the same
> > host or on another host? Does the switch provide such capability?
> >
> > On 5/3/07, 김강호 <sunnykuz@xxxxxxxxx> wrote:
> > > Dear Ian Pratt.
> > >
> > > Thanks for your attention.
> > >
> > > I attached a PPT file that has some note on the implementation,
> >
> > comparing to
> >
> > > XenSocket.
> > > In each slide of the PPT, I wrote a few lines of slide note. Please
> > > read
> >
> > the
> >
> > > note for more details.
> > > Since I don't know much about XenSocket I comapred only a few features
> >
> > that
> >
> > > I'm interested in.
> > >
> > > I know that this summary slide is not enough to understand the whole
> >
> > things
> >
> > > of Xway.
> > > However, let's start discussion on Xway as well as XenSocket.
> > >
> > > 2007/5/1, Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>:
> > > > > I'd like to introduce a socket communication facility optimized for
> > > > > sending and receiving data between domains in a single machine,
> >
> > named
> >
> > > > > Xway.
> > > >
> > > > Cool.
> > > > Please can you write a few notes on the implementation, comparing and
> > > > contrasting to XenSocket:
> > >
> > > http://www.xensource.com/files/xensummit_4/SuzanneMcIntosh_XenSummit_20
> > >0
> > >
> > > > 7.pdf
> > > >
> > > > I'd like to get a reliable inter-domain byte stream protocol in to
> > > > mainline Xen. Ideally, there'd be a story on remoting it if the VM's
> >
> > got
> >
> > > > migrated to different nodes e.g. tunnelled over TCP or SDP.
> > > >
> > > > Ian
> > > >
> > > > > Xway is a network module that enables socket programs running on
> > > > > virtual machines in a single machine to communicate each other
> > > > > efficiently though socket interface. Xway shows better socket
> > > > > communication latency and bandwidth than the native socket of Xen.
> > > >
> > > > Xway
> > > >
> > > > > also provides binary compatiblity for socket interface, so that the
> > > > > socket programs don't have to be recompiled to exploit the
> >
> > advantages
> >
> > > > > of Xway.
> > > > > We have tested the binary compatiblity for a couple of programs
> > > > > such
> > > >
> > > > as
> > > >
> > > > > ssh, vsftp, proftp, apache, and mysql.
> > > > > Those programs works well without any recompilication or
> >
> > modification
> >
> > > > > to the source codes as we expected.
> > > > >
> > > > > The main schemes of Xway are as follows:
> > > > > 1) shared memory between domains
> > > > > 2) bypassing TCP/IP and Domain 0
> > > > > 3) dual channel approach dividing data send/receive and others on a
> > > > > socket
> > > > >
> > > > > The implementation of Xway can be found at
> > > > > http://sourceforge.net/projects/xway.
> > > > > It consists of  kernel patch, a kernel module, and a user daemon.
> > > > >
> > > > > Please evaluate Xway and comments on it .
> > > > > Feel free to contact me if you meet problems when installing and
> > > > > evaluating it.
> > > > >
> > > > >
> > > > > Thank you  in advance.
> > > > >
> > > > >
> > > > > ----------------------------------------------------
> > > > >
> > > > > Kang-ho Kim
> > > > >
> > > > > Senior Member of Engineering Staff
> > > > >
> > > > > System Software Research Team/Internet Server Group
> > > > > Digital Home Research Division/Electronics and Telecommunications
> > > > > Research Institute
> > > > >
> > > > > 161 Gajeong-dong, Yuseong-gu, Daejeon, 305-350 KOREA
> > > > > Phone : 82-42-860-6226
> > > > >
> > > > > Fax : 82-42-860-6699
> > > > > Mobile : 82-10-4433-8538
> > > > >
> > > > > E-mail : khk@xxxxxxxxxx, sunnykuz@xxxxxxxxx
> > > > > ----------------------------------------------------
> > >
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-devel
> >
> > --
> > best regards,
> > hanzhu



-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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