Home | History | Annotate | Download | only in examples

Lines Matching refs:NETPERF

1 # this is a quick and dirty script to run a netperf TCP_RR and
3 # buffer bloat on latency. We assume that netperf has been compiled
6 NETPERF=`which netperf`
9 echo "Unable to find a netperf binary."
17 echo "Starting netperf TCP_RR at $RR_START" | tee bloat.log
18 # a negative value for the demo interval (-D) will cause netperf to
23 netperf -H $1 -l 7200 -t TCP_RR -D -0.5 -v 2 -- -r 1 2>&1 > netperf_rr.out &
31 echo "Starting netperf TCP_STREAM test at $STREAM_START" | tee -a bloat.log
32 netperf -H $1 -l `expr $CHUNK \* 2` -t TCP_STREAM -D 0.25 -v 2 -- -m 1K 2>&1 > netperf_stream.out
34 echo "Netperf TCP_STREAM test stopped at $STREAM_STOP" | tee -a bloat.log
39 pkill -ALRM netperf
41 echo "Netperf TCP_RR test stopped at $RR_STOP" | tee -a bloat.log