All of lore.kernel.org
 help / color / mirror / Atom feed
* Communicating between Dom0 and DomU without a network
@ 2007-10-12 14:57 Hajime Inoue
  2007-10-16  1:07 ` James Harper
  0 siblings, 1 reply; 5+ messages in thread
From: Hajime Inoue @ 2007-10-12 14:57 UTC (permalink / raw)
  To: xen-devel

I'm looking for a way to communicate, without a network,
between Dom0 and DomU, at speeds approaching typical
bandwidth.

In August of last year, there was a discussion on this
list about the best way to communicate between Dom0 and
DomU without a network.  Using the console was suggested,
but some of the responders complained about its lack of
speed.  Someone mentioned a proposal for high speed byte
transfers between VMs, but I cannot find a record of it
being implemented.

I'd appreciate any advice on this.  What's the best way
to send large amounts of data from an HVM guest to Dom0
without a network?

Thanks,
-Hajime Inoue

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Communicating between Dom0 and DomU without a network
@ 2007-10-12 20:26 Hajime Inoue
  0 siblings, 0 replies; 5+ messages in thread
From: Hajime Inoue @ 2007-10-12 20:26 UTC (permalink / raw)
  To: xen-devel

I'm looking for a way to communicate, without a network,
between Dom0 and DomU, at speeds approaching typical
bandwidth.

In August of last year, there was a discussion on this
list about the best way to communicate between Dom0 and
DomU without a network.  Using the console was suggested,
but some of the responders complained about its lack of
speed.  Someone mentioned a proposal for high speed byte
transfers between VMs, but I cannot find a record of it
being implemented.

I'd appreciate any advice on this.  What's the best way
to send large amounts of data from an HVM guest to Dom0
without a network?

Thanks,
-Hajime Inoue

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Communicating between Dom0 and DomU without a network
  2007-10-12 14:57 Hajime Inoue
@ 2007-10-16  1:07 ` James Harper
  2007-10-16 23:19   ` Hajime Inoue
  0 siblings, 1 reply; 5+ messages in thread
From: James Harper @ 2007-10-16  1:07 UTC (permalink / raw)
  To: Hajime Inoue, xen-devel

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

James

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Communicating between Dom0 and DomU without a network
  2007-10-16  1:07 ` James Harper
@ 2007-10-16 23:19   ` Hajime Inoue
  2007-10-17 15:20     ` Mark Williamson
  0 siblings, 1 reply; 5+ messages in thread
From: Hajime Inoue @ 2007-10-16 23:19 UTC (permalink / raw)
  To: James Harper; +Cc: xen-devel

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.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Communicating between Dom0 and DomU without a network
  2007-10-16 23:19   ` Hajime Inoue
@ 2007-10-17 15:20     ` Mark Williamson
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Williamson @ 2007-10-17 15:20 UTC (permalink / raw)
  To: xen-devel; +Cc: Hajime Inoue, James Harper

> 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@lists.xensource.com
> 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!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-17 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-12 20:26 Communicating between Dom0 and DomU without a network Hajime Inoue
  -- strict thread matches above, loose matches on Subject: below --
2007-10-12 14:57 Hajime Inoue
2007-10-16  1:07 ` James Harper
2007-10-16 23:19   ` Hajime Inoue
2007-10-17 15:20     ` Mark Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.