[dpdk-users] DPDK App running with VMXNET3 not receving more than **two** pkts in burst

Kyle Larose klarose at sandvine.com
Thu Jul 27 08:21:41 CEST 2017

Sorry – I wasn’t suggesting the delay as a solution to your problem. ☺ I meant that it could help you confirm *why* you’re only seeing two packets per poll.

DPDK has a packet generation tool that has high performance: http://pktgen-dpdk.readthedocs.io/en/latest/. You could try using it.

Out of curiosity, why are you concerned with only receiving two packets per poll? Is it that you aren’t sure if you’re actually processing everything, or were you just wondering? You can tell how full the receive queue on the NIC is by calling rte_eth_rx_queue_count (http://dpdk.org/doc/api/rte__ethdev_8h.html#a02445040da8af03a8757ff9577a9b699) if you want to prove that you’re handling everything. It should stay low if that’s the case. Be warned: it’s not fast, so you wouldn’t want it in non-debug code.

From: Manam Rajasekhar [mailto:manamraja at yahoo.com]
Sent: Thursday, July 27, 2017 11:39 AM
To: Kyle Larose; users at dpdk.org
Subject: Re: [dpdk-users] DPDK App running with VMXNET3 not receving more than **two** pkts in burst


Thanks for quick reply.

Adding delay between polls will be a good idea, worry is that it may introduce additional latency for latency sensitive applications. Any suggestion on the open source tool that can be used to generate high pkt rate?


On Wednesday, July 26, 2017 10:48 PM, Kyle Larose <klarose at sandvine.com<mailto:klarose at sandvine.com>> wrote:

Are you sure that the packet rate isn't such that only two packets are received between polls of the interface?

Try putting a small delay between the polls, or increase the packet rate.

-----Original Message-----
From: users [mailto:users-bounces at dpdk.org<mailto:users-bounces at dpdk.org>] On Behalf Of Manam Rajasekhar
Sent: Thursday, July 27, 2017 10:45 AM
To: users at dpdk.org<mailto:users at dpdk.org>
Subject: [dpdk-users] DPDK App running with VMXNET3 not receving more than **two** pkts in burst

Hello Experts,
While testing App using vmxnet3 interface, it is not receiving more than two or one pkt in packet rx burst.
I am using rte_port_ethdev_reader_rx() with packet burst size as 32 packets, i am sending traffic using "iperf tool" from VM interface connected to VDS in Esxi. App running inside VM connected to VMXNET3 interface is not receiving more than 2 pkts in each rx burst.

Any suggestions why rte_port_ethdev_reader_rx() is not getting more than 2 pkts with vmxnet3 interface?
Appreciate your help.


More information about the users mailing list