pktgen: add sample script pktgen_sample03_burst_single_flow.sh
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 21 May 2015 10:18:12 +0000 (12:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 May 2015 03:59:17 +0000 (23:59 -0400)
commit1d73ba16ad3975a2eb27e47e52fc215c0c5b8d83
treee13418ede08a6f78594389094a1d66ea17469887
parent282fb58947e129dea8badf48972ea89d027a76dc
pktgen: add sample script pktgen_sample03_burst_single_flow.sh

Add the pktgen samples script pktgen_sample03_burst_single_flow.sh
that demonstrates how to acheive maximum performance.

If correctly tuned[1] single CPU 10Gbit/s wirespeed small pkts is
possible[2] which is 14.88Mpps.  The trick is to take advantage of the
"burst" feature introduced in commit 38b2cf2982dc73 ("net: pktgen:
packet bursting via skb->xmit_more").

[1] http://netoptimizer.blogspot.dk/2014/06/pktgen-for-network-overload-testing.html
[2] http://netoptimizer.blogspot.dk/2014/10/unlocked-10gbps-tx-wirespeed-smallest.html

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/pktgen/pktgen_sample03_burst_single_flow.sh [new file with mode: 0755]