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] Communicating between Dom0 and DomU without a network

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Communicating between Dom0 and DomU without a network
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 17 Oct 2007 16:20:03 +0100
Cc: Hajime Inoue <hinoue@xxxxxxxxxxxxxxxx>, James Harper <james.harper@xxxxxxxxxxxxxxxx>
Delivery-date: Wed, 17 Oct 2007 08:20:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <471546ED.4020908@xxxxxxxxxxxxxxxx>
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: <470F8B4E.5010705@xxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01249AFB@trantor> <471546ED.4020908@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
> We have an application monitoring network activity on
> the guest, and we want to send summaries about that
> activity to Dom0 without adding to that activity.  We
> could filter the traffic so that we exclude monitor
> generated activity, but we'd rather look at everything.
>
> We don't need much of a protocol.  All the data is
> going in one direction.

This is going to sound maybe a bit silly, but why not just add a second 
virtual network interface for sending summary information?  Or would that 
still perturb your measurements?

Otherwise, maybe some kind of arrangement with virtual disks could solve your 
problem?

Things like "XenSocket" have been proposed for shared memory network-style 
communication between domains but nothing's been merged.  You may be able to 
find patches that'd help you on the way (or you could perhaps try to roll 
your own using shared memory and grant tables).

Cheers,
Mark

> Thanks,
> -Hajime Inoue
>
> James Harper wrote:
> >> I'm looking for a way to communicate, without a network,
> >> between Dom0 and DomU, at speeds approaching typical
> >> bandwidth.
> >
> > Can you detail some of the requirements? Whatever you use will require a
> > protocol of some sort, and the network stack already implements almost
> > anything you would want. Possibly the next best thing would be to run
> > another protocol (eg not tcp/ip) over the virtual ethernet.
> >
> > If you can state why using a network is out of the question, you'll
> > avoid a whole load of people asking you :)
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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