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: "local" communications

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] RFC: "local" communications
From: Nivedita Singhvi <niv@xxxxxxxxxx>
Date: Wed, 15 Jun 2005 15:07:14 -0700
Cc: Lon Hohberger <lhh@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 15 Jun 2005 22:06:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42B0A3CD.60505@xxxxxxxxxx>
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: <Pine.LNX.4.61.0506151543560.27038@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <42B08E8A.9090609@xxxxxxxxxx> <42B09E1E.3060709@xxxxxxxxxx> <42B0A3CD.60505@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (X11/20041020)
Anthony Liguori wrote:
Nivedita Singhvi wrote:

UDP or raw sockets will be somewhat better, although AF_UNIX
would be best of all (albeit with its own constraints).


I was thinking of a raw interface although a UDP-like protocol would be kind of neat (so that you could do multiplexing).

It would be less work and easier on the apps to use UDP than raw,
but that's just my experience (and, potentially more bugs). This
could be solved by having a user space library wrap the details
and call a simple low level protocol over raw sockets.

Which datagram service, Anthony?  Having a small lib like this
would be a good idea, although the benefit would be in the details,
and of course, depending on how many apps we need to support that
we don't want to modify...


I must admit I've not put much thought into it.  What are your thoughts?

Me neither, much, yet, :). But, it would be nice to make things easy
for the large number of apps which need intra-node communication. At
the moment, they fall into the two categories of strictly intra-node
versus common-over-intra_off_node. Much easier designing things for
the former.

thanks,
Nivedita

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