Packet drops due to “no available descriptors” for vhost-user interface is extremely likely when doing performance test with qemu’s default vring queue size. You need to specify the vring queue size of 1024, default is 256, when you bring up the VM. The queue size can be specified either via XML file if using virsh or qemu command line if using qemu command line. You’ll need to get the more recent qemu version for the queue size option to work. No additional option is needed in VPP.
Steven From: <vpp-dev@lists.fd.io> on behalf of "amir...@rad.com" <amir...@rad.com> Date: Monday, July 1, 2019 at 8:15 AM To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: [vpp-dev] Many "tx packet drops (no available descriptors)" #vpp Hi All, I'm using VPP 19.02.1 with DPDK 18.11.0. When running traffic through VM I can see many drop packets due to "tx packet drops (no available descriptors)" on the VirtualEthernet ports. I've tried to change some of the DPDK parameters with no success. Which parameters might cause such packets drop ? vpp# show errors Count Node Reason 39937373 l2-output L2 output packets 39937476 l2-learn L2 learn packets 2 l2-learn L2 learn misses 7 l2-learn L2 learn hit updates 39937476 l2-input L2 input packets 105 l2-flood L2 flood packets 103 l2-flood L2 replication complete 25689 VirtualEthernet0/0/1-tx tx packet drops (no available descriptors) 36406 VirtualEthernet0/0/2-tx tx packet drops (no available descriptors) In addition I've tried to figure out how much memory the VPP+DPDK is using but didn't see any change on the Huge pages usage. Thanks in advance, Amir.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13492): https://lists.fd.io/g/vpp-dev/message/13492 Mute This Topic: https://lists.fd.io/mt/32273101/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-