Re: [Qemu-devel] Make virtio-net.c ring size configurable?

2016-05-13 Thread xchenum
Luke, I might have a similar problem... I am wondering if you end up increasing the ring buffer size yourself. My problem is on the tx side. When sending many small udp packets, I am seeing "outgoing packets dropped" in "netstat -s" increase quickly. Increasing txqueue of the interface and wmem

Re: [Qemu-devel] Make virtio-net.c ring size configurable?

2014-02-24 Thread Stefan Hajnoczi
On Fri, Feb 14, 2014 at 02:43:14PM +0100, Luke Gorrie wrote: > Observation: virtio-net.c hard-codes the vring size to 256 buffers. > > Could this reasonably be made configurable, or would that be likely to > cause a problem? > > In Snabb Switch we are creating a 1:1 mapping between Virtio-net > d

Re: [Qemu-devel] Make virtio-net.c ring size configurable?

2014-02-14 Thread Mario Smarduch
On 02/14/2014 05:43 AM, Luke Gorrie wrote: > Howdy! > > Observation: virtio-net.c hard-codes the vring size to 256 buffers. > > Could this reasonably be made configurable, or would that be likely to > cause a problem? > > In Snabb Switch we are creating a 1:1 mapping between Virtio-net > descrip

[Qemu-devel] Make virtio-net.c ring size configurable?

2014-02-14 Thread Luke Gorrie
Howdy! Observation: virtio-net.c hard-codes the vring size to 256 buffers. Could this reasonably be made configurable, or would that be likely to cause a problem? In Snabb Switch we are creating a 1:1 mapping between Virtio-net descriptors and VMDq hardware receive descriptors. The VMDq queues s