Is vhost vring_avail size tunable?
Hi,
Under heavy work load, I found there were some packet lost caused by "Failed to get enough desc from vring...", is there any way to get the vring size larger?
Thanks,
Tim
Quoted 8 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Tim Deng
Sent: Sunday, June 7, 2015 4:02 PM
To: [email protected]
Subject: [dpdk-dev] Is vhostvring_availsize tunable?
Quoted 6 lines
Hi,
Under heavy work load, I found there were some packet lost caused by "Failed to get enough desc from vring...", is there any way to get the vring size larger?
Qemu has hard code to set the vring size as 256, you need change the value to a bigger one if you want to enlarge it.
Thanks
Changchun
Thank you Changchun!
Tim
Quoted 20 lines · Changchun
Quoted 8 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Tim Deng
Sent: Sunday, June 7, 2015 4:02 PM
To: [email protected]
Subject: [dpdk-dev] Is vhostvring_availsize tunable?Quoted 6 lines
Hi,
Under heavy work load, I found there were some packet lost caused by "Failed to get enough desc from vring...", is there any way to get the vring size larger?
Qemu has hard code to set the vring size as 256, you need change the value to a bigger one if you want to enlarge it.
Thanks
Changchun
Quoted 9 lines · On Sun, 7 Jun 2015 16:02:04 +0800 (CST) "Tim Deng" <[email protected]> wrote:
Hi,
Under heavy work load, I found there were some packet lost caused by "Failed to get enough desc from vring...", is there any way to get the vring size larger?
Thanks,
Tim
One thing that could help the DPDK virtio driver would be to support INDIRECT descriptors. By using that, it is possible to get 256 packets into the 256 slots in QEMU. Currently half the slots are taken by headers.
The implementation of vhost driver likewise needs to get support for INDIRECT descriptors and some other features in order to use slots more efficiently.