pktgen: add sample script pktgen_sample05_flow_per_thread.sh
authorJesper Dangaard Brouer <brouer@redhat.com>
Wed, 13 Jul 2016 20:06:10 +0000 (22:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2016 22:19:51 +0000 (15:19 -0700)
commitd25692e4b74573e2d9418bca56f9210adba27972
treed1b53e904bb1f0e0f347e1cfa51cb91e2550e18b
parent15f2cbbde4cff41904f5e87504ff45b36796b8d2
pktgen: add sample script pktgen_sample05_flow_per_thread.sh

This pktgen sample script is useful for scalability testing a
receiver.  The script will simply generate one flow per
thread (option -t N) using the thread number as part of the
source IP-address.

The single flow sample (pktgen_sample03_burst_single_flow.sh)
have become quite popular, but it is important that developers
also make sure to benchmark scalability of multiple receive
queues.

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