[dpdk-dev] DPDK Latency Issue

2014-05-28 Thread Jun Han
Hi all, I realized I made a mistake on my previous post. Please note the changes below. "While I vary the MAX_BURST_SIZE (1, 8, 16, 32, 64, and 128) and fix BURST_TX_DRAIN_US=100 usec, I see a low average latency when sending a burst of packets greater than the MAX_BURST_SIZE. For example, when M

[dpdk-dev] DPDK Latency Issue

2014-05-26 Thread Jun Han
Thanks a lot Jeff for your detailed explanation. I still have open question left. I would be grateful if someone would share their insight on it. I have performed experiments to vary both the MAX_BURST_SIZE (originally set as 32) and BURST_TX_DRAIN_US (originally set as 100 usec) in l3fwd main.c.

[dpdk-dev] DPDK Latency Issue

2014-05-22 Thread Jun Han
Hi all, I measured a roundtrip latency (using Spirent traffic generator) of sending 64B packets over a 10GbE to DPDK, and DPDK does nothing but simply forward back to the incoming port (l3fwd without any lookup code, i.e., dstport = port_id). However, to my surprise, the average latency was aroun

[dpdk-dev] DPDK Latency Issue

2014-05-22 Thread Shaw, Jeffrey B
Hello, > I measured a roundtrip latency (using Spirent traffic generator) of sending > 64B packets over a 10GbE to DPDK, and DPDK does nothing but simply forward > back to the incoming port (l3fwd without any lookup code, i.e., dstport = > port_id). > However, to my surprise, the average latenc