Re: [RFC][ PATCH 0/3] vhost-net: Add mergeable RX buffer support to vhost-net

2010-03-03 Thread Michael S. Tsirkin
On Tue, Mar 02, 2010 at 04:20:03PM -0800, David Stevens wrote: These patches add support for mergeable receive buffers to vhost-net, allowing it to use multiple virtio buffer heads for a single receive packet. +-DLS Signed-off-by: David L Stevens

Re: [RFC][ PATCH 0/3] vhost-net: Add mergeable RX buffer support to vhost-net

2010-03-03 Thread Michael S. Tsirkin
On Wed, Mar 03, 2010 at 12:54:25AM -0800, David Stevens wrote: Michael S. Tsirkin m...@redhat.com wrote on 03/02/2010 11:54:32 PM: On Tue, Mar 02, 2010 at 04:20:03PM -0800, David Stevens wrote: These patches add support for mergeable receive buffers to vhost-net, allowing it to use

[RFC][ PATCH 3/3] vhost-net: Add mergeable RX buffer support to vhost-net

2010-03-03 Thread David Stevens
This patch glues them all together and makes sure we notify whenever we don't have enough buffers to receive a max-sized packet, and adds the feature bit. Signed-off-by: David L Stevens dlstev...@us.ibm.com diff -ruN net-next-p2/drivers/vhost/net.c net-next-p3/drivers/vhost/net.c ---

[RFC][ PATCH 2/3] vhost-net: handle vnet_hdr processing for MRG_RX_BUF

2010-03-03 Thread David Stevens
This patch adds vnet_hdr processing for mergeable buffer support to vhost-net. Signed-off-by: David L Stevens dlstev...@us.ibm.com diff -ruN net-next-p1/drivers/vhost/net.c net-next-p2/drivers/vhost/net.c --- net-next-p1/drivers/vhost/net.c 2010-03-01 11:44:22.0 -0800 +++

[RFC][ PATCH 0/3] vhost-net: Add mergeable RX buffer support to vhost-net

2010-03-03 Thread David Stevens
These patches add support for mergeable receive buffers to vhost-net, allowing it to use multiple virtio buffer heads for a single receive packet. +-DLS Signed-off-by: David L Stevens dlstev...@us.ibm.com ___

[RFC][ PATCH 1/3] vhost-net: support multiple buffer heads in receiver

2010-03-03 Thread David Stevens
This patch generalizes buffer handling functions to support multiple buffer heads. In-line for viewing, attached for applying. Signed-off-by: David L Stevens dlstev...@us.ibm.com diff -ruN net-next-p0/drivers/vhost/net.c net-next-p1/drivers/vhost/net.c --- net-next-p0/drivers/vhost/net.c

Re: [RFC][ PATCH 0/3] vhost-net: Add mergeable RX buffer support to vhost-net

2010-03-03 Thread David Stevens
Michael S. Tsirkin m...@redhat.com wrote on 03/02/2010 11:54:32 PM: On Tue, Mar 02, 2010 at 04:20:03PM -0800, David Stevens wrote: These patches add support for mergeable receive buffers to vhost-net, allowing it to use multiple virtio buffer heads for a single receive packet.

VTDC2010 Deadline Extended to March 11

2010-03-03 Thread Ming Zhao
(our apologies if you receive this announcement multiple times) Dead-line extension (March 11th) ! Call for Papers --- Workshop on Virtualization Technologies in Distributed Computing (VTDC 2010) in conjunction with the 19-th International

Re: virtio over PCI

2010-03-03 Thread Ira W. Snyder
On Wed, Mar 03, 2010 at 05:09:48PM +1100, Michael Ellerman wrote: Hi guys, I was looking around at virtio over PCI stuff and noticed you had started some work on a driver. The last I can find via google is v2 from mid last year, is that as far as it got? http://lkml.org/lkml/2009/2/23/353

Re: virtio over PCI

2010-03-03 Thread Arnd Bergmann
On Thursday 04 March 2010, Ira W. Snyder wrote: I'm happy to provide any help I can, including testing on MPC8349EA-based system. I would suggest talking to the virtualization mailing list before you get too deep in the project. They sometimes have good advice. I've added them to the CC list,

Ringbuffer usage in Linux Hyper-V drivers

2010-03-03 Thread Hank Janssen
All, I have been looking at one of the TODO items in the Linux Hyper-V drivers. Specifically the one that says; - remove RingBuffer.c to use in-kernel ringbuffer functions instead. I spend some time figuring out the ring buffer capability inside of the Linux Kernel to see if we

Re: [RFC][ PATCH 0/3] vhost-net: Add mergeable RX buffer support to vhost-net

2010-03-03 Thread David Stevens
Interesting. Since the feature in question is billed first of all a performance optimization... By whom? Although I see some improved performance, I think its real benefit is improving memory utilization on the guest. Instead of using 75K for an ARP packet, mergeable RX buffers only uses 4K.

Re: Ringbuffer usage in Linux Hyper-V drivers

2010-03-03 Thread Jeremy Fitzhardinge
On 03/03/2010 08:42 AM, Hank Janssen wrote: There is a pretty good chance that ring buffer on Hyper-V will change to support additional functionality. I did further investigations to check on other virtualization technologies. And this same things seems to be true for XEN, they also

Re: Ringbuffer usage in Linux Hyper-V drivers

2010-03-03 Thread Greg KH
On Wed, Mar 03, 2010 at 04:42:27PM +, Hank Janssen wrote: The ring buffer in the Hyper-V Linux drivers is used to communicate with the parent partition running Server 2008 Hyper-V. The ring buffer functionality on the Hyper-V Linux drivers is written to be functionally compatible with