public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Support for direct inter-VM sockets?  Inter-VM shared memory?
@ 2010-05-20 19:19 Tyler Bletsch
  2010-05-23 11:11 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Tyler Bletsch @ 2010-05-20 19:19 UTC (permalink / raw)
  To: kvm

I'm interested in moving some research prototypes from Xen to KVM, but 
there are a few esoteric features I'd need to do this.

First is an efficient mechanism for direct VM-to-VM sockets...something 
that bypasses the protocol stack and minimizes overhead.  Xen has 
XenSocket, XenLoop, and others.  I found a few mentions of this idea 
dating back to 2006*, mostly saying that a few people have done 
something like this as a one-off, but nothing official has been 
released.  I haven't found anything like this more recently, though.  
Has there been any progress on this front?  Ideally, I'd want a 
character device or a special program that acts as a fast pipe to a 
different VM.

Second, what about inter-VM shared memory?

Apologies if I'm missing some well known doc...I search around google & 
the wiki to no avail.

Thanks,
Tyler Bletsch

* http://www.mail-archive.com/kvm-devel@lists.sourceforge.net/msg00304.html



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

* Re: Support for direct inter-VM sockets?  Inter-VM shared memory?
  2010-05-20 19:19 Support for direct inter-VM sockets? Inter-VM shared memory? Tyler Bletsch
@ 2010-05-23 11:11 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2010-05-23 11:11 UTC (permalink / raw)
  To: Tyler Bletsch; +Cc: kvm, Cam Macdonell

On 05/20/2010 10:19 PM, Tyler Bletsch wrote:
> I'm interested in moving some research prototypes from Xen to KVM, but 
> there are a few esoteric features I'd need to do this.
>
> First is an efficient mechanism for direct VM-to-VM 
> sockets...something that bypasses the protocol stack and minimizes 
> overhead.  Xen has XenSocket, XenLoop, and others.  I found a few 
> mentions of this idea dating back to 2006*, mostly saying that a few 
> people have done something like this as a one-off, but nothing 
> official has been released.  I haven't found anything like this more 
> recently, though.  Has there been any progress on this front?  
> Ideally, I'd want a character device or a special program that acts as 
> a fast pipe to a different VM.
>
> Second, what about inter-VM shared memory?

Inter-VM shared memory (contributed by Cam, copied) is in the process of 
being merged.  That includes a fast interguest interrupt mechanism 
(using irqfd), so you could easily layer a fast interguest pipe on top 
of that.

It's possible to do a dedicated guest-to-guest channel using virtio and 
a dma engine, but I'm not aware of any efforts in that direction.

-- 
error compiling committee.c: too many arguments to function


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

end of thread, other threads:[~2010-05-23 11:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-20 19:19 Support for direct inter-VM sockets? Inter-VM shared memory? Tyler Bletsch
2010-05-23 11:11 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox