[dpdk-users] Inconsistent results for varying packet sizes

Chris Pappas chrispappas12 at gmail.com
Mon Oct 26 21:22:22 CET 2015


Hi everyone,

we have done some basic testing with DPDK. We are testing the baseline
forwarding performance (table lookup code has been commented out and we
statically forward traffic among a 1-1 incoming to outgoing port
assignment), but we get weird results (attached).

For 256-byte packets the average latency is lower than for 128-byte
packets, but for 1500-byte packets the latency is much higher than the
previous two packet sizes.

Could you please let us know if this is something expected, since it is
counter-intuitive,
or if we are having some obvious configuration mistake?
Our configuration is as following:

Best regards,
Chris

*Command*
sudo ./build/l3fwd -c 0xffff -n 4 -- -p 0xfff -P
--config="(0,0,1),(1,0,2),(2,0,3),(3,0,4),(4,0,8),(5,0,9),(
6,0,10),(7,0,11),(8,0,12),(9,0,13),(10,0,14),(11,0,15)"

*Core assignment (one core per one port)*
L3FWD: entering main loop on lcore 1
L3FWD:  -- lcoreid=1 portid=0 rxqueueid=0
L3FWD: entering main loop on lcore 2
L3FWD:  -- lcoreid=2 portid=1 rxqueueid=0
L3FWD: entering main loop on lcore 3
L3FWD:  -- lcoreid=3 portid=2 rxqueueid=0
L3FWD: entering main loop on lcore 4
L3FWD:  -- lcoreid=4 portid=3 rxqueueid=0
L3FWD: lcore 5 has nothing to do
L3FWD: lcore 6 has nothing to do
L3FWD: lcore 7 has nothing to do
L3FWD: entering main loop on lcore 8
L3FWD:  -- lcoreid=8 portid=4 rxqueueid=0
L3FWD: entering main loop on lcore 9
L3FWD:  -- lcoreid=9 portid=5 rxqueueid=0
L3FWD: entering main loop on lcore 10
L3FWD:  -- lcoreid=10 portid=6 rxqueueid=0
L3FWD: entering main loop on lcore 11
L3FWD:  -- lcoreid=11 portid=7 rxqueueid=0
L3FWD: entering main loop on lcore 12
L3FWD:  -- lcoreid=12 portid=8 rxqueueid=0
L3FWD: entering main loop on lcore 13
L3FWD:  -- lcoreid=13 portid=9 rxqueueid=0
L3FWD: entering main loop on lcore 14
L3FWD:  -- lcoreid=14 portid=10 rxqueueid=0
L3FWD: entering main loop on lcore 15
L3FWD:  -- lcoreid=15 portid=11 rxqueueid=0
L3FWD: lcore 0 has nothing to do


More information about the users mailing list