commit | 1d73ba16ad3975a2eb27e47e52fc215c0c5b8d83 | [log] [tgz] |
---|---|---|
author | Jesper Dangaard Brouer <brouer@redhat.com> | Thu May 21 12:18:12 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri May 22 23:59:17 2015 -0400 |
tree | e13418ede08a6f78594389094a1d66ea17469887 | |
parent | 282fb58947e129dea8badf48972ea89d027a76dc [diff] |
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>