Loop differently to get all results at least once
This commit is contained in:
parent
c04c59ab01
commit
f6b60a50fa
1 changed files with 9 additions and 7 deletions
|
@ -24,16 +24,18 @@ fi
|
||||||
|
|
||||||
do_benchmark()
|
do_benchmark()
|
||||||
{
|
{
|
||||||
|
run=$1; shift
|
||||||
full_flags="$@"
|
full_flags="$@"
|
||||||
iperf3_flags=$(echo $full_flags | sed 's/ //g')
|
iperf3_flags=$(echo $full_flags | sed 's/ //g')
|
||||||
|
|
||||||
for run in 1 2 3; do
|
filename="${fbase}${iperf3_flags}-run${run}"
|
||||||
filename="${fbase}${iperf3_flags}-run${run}"
|
iperf3 $full_flags | tee "${filename}"
|
||||||
iperf3 $full_flags | tee "${filename}"
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for p in 1 10 20 50; do
|
for run in 1 2 3; do
|
||||||
do_benchmark $flags -P$p
|
for p in 1 10 20 50; do
|
||||||
do_benchmark $flags -P$p -u -b0
|
do_benchmark $run $flags -P$p
|
||||||
|
do_benchmark $run $flags -P$p -u -b0
|
||||||
|
done
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue