DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Inconsistent results for varying packet sizes
@ 2015-10-26 20:22 Chris Pappas
  0 siblings, 0 replies; only message in thread
From: Chris Pappas @ 2015-10-26 20:22 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-26 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26 20:22 [dpdk-users] Inconsistent results for varying packet sizes Chris Pappas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).