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

To: "Zhu Han" <schumi.han@xxxxxxxxx>
Subject: Re: [Xen-devel] [RFC] Lightweight socket communication between domainsin a single machine
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
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ez7EPtidKxgBmlNSM7qT1VIpKDGdyKAaVEVTatgZ3/vgrkktvujtP7x96PHzt9TDSaVvJjL6RThwzJCCsltgVKdaHytYqTo4hX7NiQqFBLPnor1+hCcpT4k9v8Wl1IMVrvvlqvKzd3ZzKxxhHjEQRvcxfMtGXXadR3BeGR83k28=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4e777ed10705090644w47cc0dc8uac14a1eeb1d3b88f@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <591c7e8a0704302258u2c34490y3e07e4b213858d5e@xxxxxxxxxxxxxx> <8A87A9A84C201449A0C56B728ACF491E0BA3C2@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <591c7e8a0705021910s5e48f15ayfb9fcc710eab0821@xxxxxxxxxxxxxx> <4e777ed10705090644w47cc0dc8uac14a1eeb1d3b88f@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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