Re: [Qemu-devel] [PATCH] virtio-net: allow increasing rx queue size

2016-08-10 Thread Jason Wang
On 2016年08月05日 17:02, Cornelia Huck wrote: On Thu, 4 Aug 2016 22:52:29 +0300 "Michael S. Tsirkin" wrote: On Thu, Aug 04, 2016 at 09:35:15AM +0200, Cornelia Huck wrote: On Thu, 4 Aug 2016 02:16:14 +0300 "Michael S. Tsirkin" wrote: This allows increasing the rx queue size up to 1024: unlik

Re: [Qemu-devel] [PATCH] virtio-net: allow increasing rx queue size

2016-08-05 Thread Cornelia Huck
On Thu, 4 Aug 2016 22:52:29 +0300 "Michael S. Tsirkin" wrote: > On Thu, Aug 04, 2016 at 09:35:15AM +0200, Cornelia Huck wrote: > > On Thu, 4 Aug 2016 02:16:14 +0300 > > "Michael S. Tsirkin" wrote: > > > > > This allows increasing the rx queue size up to 1024: unlike with tx, > > > guests don't

Re: [Qemu-devel] [PATCH] virtio-net: allow increasing rx queue size

2016-08-04 Thread Michael S. Tsirkin
On Thu, Aug 04, 2016 at 09:35:15AM +0200, Cornelia Huck wrote: > On Thu, 4 Aug 2016 02:16:14 +0300 > "Michael S. Tsirkin" wrote: > > > This allows increasing the rx queue size up to 1024: unlike with tx, > > guests don't put in huge S/G lists into RX so the risk of running into > > the max 1024 l

Re: [Qemu-devel] [PATCH] virtio-net: allow increasing rx queue size

2016-08-04 Thread Cornelia Huck
On Thu, 4 Aug 2016 02:16:14 +0300 "Michael S. Tsirkin" wrote: > This allows increasing the rx queue size up to 1024: unlike with tx, > guests don't put in huge S/G lists into RX so the risk of running into > the max 1024 limitation due to some off-by-one seems small. > > It's helpful for users l

Re: [Qemu-devel] [PATCH] virtio-net: allow increasing rx queue size

2016-08-03 Thread Jason Wang
On 2016年08月04日 07:16, Michael S. Tsirkin wrote: This allows increasing the rx queue size up to 1024: unlike with tx, guests don't put in huge S/G lists into RX so the risk of running into the max 1024 limitation due to some off-by-one seems small. It's helpful for users like OVS-DPDK which don

Re: [Qemu-devel] [PATCH] virtio-net: allow increasing rx queue size

2016-08-03 Thread Michael S. Tsirkin
On Thu, Aug 04, 2016 at 02:16:14AM +0300, Michael S. Tsirkin wrote: > This allows increasing the rx queue size up to 1024: unlike with tx, > guests don't put in huge S/G lists into RX so the risk of running into > the max 1024 limitation due to some off-by-one seems small. > > It's helpful for use

[Qemu-devel] [PATCH] virtio-net: allow increasing rx queue size

2016-08-03 Thread Michael S. Tsirkin
This allows increasing the rx queue size up to 1024: unlike with tx, guests don't put in huge S/G lists into RX so the risk of running into the max 1024 limitation due to some off-by-one seems small. It's helpful for users like OVS-DPDK which don't do any buffering on the host - 1K roughly matches