[dpdk-dev] Why pktgen-dpdk will receive more packet than sent
Jiang, Yunhong
yunhong.jiang at intel.com
Tue Jun 30 04:01:23 CEST 2015
Hi, all
I'm trying to test the l2fwd throughput using https://github.com/pktgen/Pktgen-DPDK/blob/master/dpdk/examples/pktgen/scripts/rfc2544.lua . However, the pktgen will receive more packets than it sent out like " Total sent 14786446 recv 14786597, delta 151". I'm really confused why this will happen. I have the pktgen machine and l2fwd machine connected to each other directly and bind the igb_uio to the NIC devices.
Pktgen> *** Test packet size 64 at rate 100%
Total sent 133856261 recv 131517412, delta -2338849
*** Test packet size 64 at rate 50%
Total sent 40208555 recv 40207420, delta -1135
*** Test packet size 64 at rate 25%
PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 32.
Total sent 14786446 recv 14786597, delta 151
*** Test packet size 64 at rate 37%
PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burst size no less than 32.
Total sent 26824256 recv 26823587, delta -669
Any hints will be really helpful, thanks!
Thanks
--jyh
More information about the dev
mailing list