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

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


  • To: "Zhu Han" <schumi.han@xxxxxxxxx>
  • From: "kangho kim" <sunnykuz@xxxxxxxxx>
  • Date: Thu, 10 May 2007 15:04:18 +0900
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 09 May 2007 23:02:43 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=IGmlsXdX4mUPkefkfL3572d/rc/t6GmFTlNyIaaYRmLZlzaHiMdOheaerY9qi0cPSSIOSIYYTSUU04z98eyXRhU6jnffAyJMZA03BnjqgMPogzRKHxosJPWK98q0FaZmpDsIzYmAt8yn5fS7LNrvUefDFQvW6UenOUupjNYGT9A=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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.
 
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_200
> > 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

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

 


Rackspace

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