Re: [Qemu-devel] RFC: handling "backend too fast" in virtio-net

2013-02-18 Thread Stefan Hajnoczi
On Mon, Feb 18, 2013 at 02:12:13AM -0800, Luigi Rizzo wrote: > On Mon, Feb 18, 2013 at 1:50 AM, Stefan Hajnoczi wrote: > > > On Fri, Feb 15, 2013 at 11:24:29AM +0100, Stefan Hajnoczi wrote: > > > On Thu, Feb 14, 2013 at 07:21:57PM +0100, Luigi Rizzo wrote: > > > > > > CCed Michael Tsirkin > > > >

Re: [Qemu-devel] RFC: handling "backend too fast" in virtio-net

2013-02-18 Thread Luigi Rizzo
On Mon, Feb 18, 2013 at 1:50 AM, Stefan Hajnoczi wrote: > On Fri, Feb 15, 2013 at 11:24:29AM +0100, Stefan Hajnoczi wrote: > > On Thu, Feb 14, 2013 at 07:21:57PM +0100, Luigi Rizzo wrote: > > > > CCed Michael Tsirkin > > > > > virtio-style network devices (where the producer and consumer chase >

Re: [Qemu-devel] RFC: handling "backend too fast" in virtio-net

2013-02-18 Thread Stefan Hajnoczi
On Fri, Feb 15, 2013 at 11:24:29AM +0100, Stefan Hajnoczi wrote: > On Thu, Feb 14, 2013 at 07:21:57PM +0100, Luigi Rizzo wrote: > > CCed Michael Tsirkin > > > virtio-style network devices (where the producer and consumer chase > > each other through a shared memory block) can enter into a > > bad

Re: [Qemu-devel] RFC: handling "backend too fast" in virtio-net

2013-02-15 Thread Luigi Rizzo
On Fri, Feb 15, 2013 at 11:24:29AM +0100, Stefan Hajnoczi wrote: > On Thu, Feb 14, 2013 at 07:21:57PM +0100, Luigi Rizzo wrote: > > CCed Michael Tsirkin > > > virtio-style network devices (where the producer and consumer chase > > each other through a shared memory block) can enter into a > > bad

Re: [Qemu-devel] RFC: handling "backend too fast" in virtio-net

2013-02-15 Thread Stefan Hajnoczi
On Thu, Feb 14, 2013 at 07:21:57PM +0100, Luigi Rizzo wrote: CCed Michael Tsirkin > virtio-style network devices (where the producer and consumer chase > each other through a shared memory block) can enter into a > bad operating regime when the consumer is too fast. > > I am hitting this case ri

[Qemu-devel] RFC: handling "backend too fast" in virtio-net

2013-02-14 Thread Luigi Rizzo
virtio-style network devices (where the producer and consumer chase each other through a shared memory block) can enter into a bad operating regime when the consumer is too fast. I am hitting this case right now when virtio is used on top of the netmap/VALE backend that I posted a few weeks ago: w