[dpdk-dev] DPDK Latency Issue

2014-05-28 Thread Jun Han
when MAX_BURST_SIZE is 32, if I send a burst of 32 packets or larger, then I get around 10 usec of latency. When the burst size is less than 32, I see higher average latency, which make total sense." On Mon, May 26, 2014 at 9:39 PM, Jun Han wrote: > Thanks a lot Jeff for your detailed e

[dpdk-dev] roundtrip delay

2014-05-27 Thread Jun Han
Hi all, I've also asked a similar question on the previous thread, but I'll copy it here for better visibility. I would really appreciate it if you can provide some hints to my question below. Thanks a lot! Thanks a lot Jeff for your detailed explanation. I still have open question left. I would

[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] Question regarding rte_rdtsc_precise()

2014-03-24 Thread Jun Han
I have a question regarding rte_rdtsc_precise() function. I was not getting an expected number from the normal rte_rdtsc(), and hence changed to rte_rdtsc_precise() function and am getting a different value, which seems to be producing a number close to my expectation. Q1. However, I wanted to ask

[dpdk-dev] l3fwd LPM lookup - issue when measuring latency

2014-03-23 Thread Jun Han
Hi all, I've been trying to measure possible performance penalties of performing LPM table lookup on l3fwd code (as opposed to a simple forwarding without lookup, i.e., forwarding back to the ingress port). I perform two sets of experiments -- (1) generate a fixed dst IP address from DPDK pktgen;

[dpdk-dev] DPDK pktgen

2014-03-22 Thread Jun Han
Hi I have a quick question about using your DPDK pktgen. I want to sequentially increase the destination IP address so I modified the .lua file in the following way. However, as I am printing the contents of IP header in the other machine, I find that the IP address does not keep incrementing all

[dpdk-dev] l2fwd/l3fwd performance drop of about 25% ?

2014-02-25 Thread Jun Han
Hi all, I have a quick question regarding the performance of DPDK l2fwd (Same problem with l3fwd). I am seeing that when we start multiple ports (e.g., 12 ports), for 64 byte packets, the RX rate is only at around 11 Mpps per port, instead of 14.88 Mpps which is the line rate (with preablem+start

[dpdk-dev] l3fwd increasing LPM IPv4 Table Size

2014-02-24 Thread Jun Han
Hi all, I have been trying to add more IPv4 table entries by appending random entries in the ipv4_l3fwd_route_array as the following: *static struct ipv4_l3fwd_route ipv4_l3fwd_route_array[] = { * *{IPv4(1,0,0,0), 24, 0}, * *{IPv4(1,0,4,0), 22, 0}, * *{IPv4(1,0,4,0), 24, 0}, * *{IPv4(1,0,5,0), 24

[dpdk-dev] Rx-errors with testpmd (only 75% line rate)

2014-02-10 Thread Jun Han
Hi Michael, We are also trying to purchase an IXIA traffic generator. Could you let us know which chassis + load modules you are using so we can use that as a reference to look for the model we need? There seems to be quite a number of different models. Thank you. On Tue, Jan 28, 2014 at 9:31 A

[dpdk-dev] measuring latency with pktgen <=> l2fwd

2014-01-28 Thread Jun Han
Hi all, Does anyone know if there is a way to measure the round trip latency between pktgen and l2fwd? If not, is there a way to add timestamps to measure latency? Our current setup is: Machine A runs DPDK pktgen and is connected back-to-back with Machine B running l2fwd. Thank you. Jun

[dpdk-dev] Measuring latency

2013-11-25 Thread Jun Han
Hi, Does anyone know if there is a DPDK provided tool to measure latency of a packet traversal (i.e., when a packet is copied from the NIC to userspace)? Also, we are using rdtsc to measure processing delay in the userspace currently, but does anyone else have suggestions/experiences for other too

[dpdk-dev] L3FWD LPM IP lookup performance question

2013-09-24 Thread Jun Han
Hello, We are trying to benchmark L3FWD application and have a question regarding the IP lookup algorithm as we expect the bottleneck to be at the lookup. Could someone let us know how efficient the lookup algorithm that L3FWD is using (e.g, LPM)? We are asking because we want to obtain highest L3