From c90094c5a4e44325d03ab1f69c20c79a2793c5e0 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Mon, 20 Jan 2014 13:27:25 +0100 Subject: [PATCH] We need more data --- ugw/data/bench-all.sh | 6 +++--- ugw/data/plot-thr.gp | 2 +- ugw/data/throughput-dep.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ugw/data/bench-all.sh b/ugw/data/bench-all.sh index 6138288..78e560a 100755 --- a/ugw/data/bench-all.sh +++ b/ugw/data/bench-all.sh @@ -19,7 +19,7 @@ while [ "${1#-}" != "$1" ]; do dirs=oneatatime.ftrace ;; -p) - dirs=($(seq 125 160)) + dirs=($(seq 120 160)) declare -a args for i in ${!dirs[*]}; do args[$i]=-p${dirs[$i]} @@ -33,7 +33,7 @@ while [ "${1#-}" != "$1" ]; do shift done -methods=${@:-rtems kernel read-write readnb-write readnb-mmap mmap-write mmap-mmap mmapbusy-write mmapbusy-mmap readbusy-write readbusynoirq-write} +methods=${@:-rtems kernel read-write readnb-write readnb-mmap read-mmap mmap-write mmap-mmap mmapbusy-write mmapbusy-mmap readbusy-write readbusynoirq-write} set -x for method in $methods; do @@ -59,7 +59,7 @@ for method in $methods; do arg=${args[$i]} dir=${dirs[$i]} set -x - ssh glab "sudo ip l set eth0 down; sudo ~/bin/latester -d can0 -d can1 -d can2 -c 5000 -q -n $method $arg; sudo ip l set eth0 up" + ssh glab "sudo ip l set eth0 down; sudo ~/bin/latester -d can0 -d can1 -d can2 -c 5000 -q -n $method $arg; r=\$?; sudo ip l set eth0 up; exit \$r" mkdir -p $dir scp glab:"$method-*.txt" $dir (cd $dir && ln -sf ../Makefile ../plot.gp ../preprocess.m .) diff --git a/ugw/data/plot-thr.gp b/ugw/data/plot-thr.gp index a157c16..8eb1a71 100755 --- a/ugw/data/plot-thr.gp +++ b/ugw/data/plot-thr.gp @@ -13,7 +13,7 @@ set logscale y set key reverse Left invert outside set grid loss_scale=3 -plot [:160] \ +plot \ 'kernel.dat' using 1:2:($3*loss_scale) title 'kernel', \ 'mmap-mmap.dat' using 1:2:($3*loss_scale) title 'mmap-mmap', \ 'mmapbusy-mmap.dat' using 1:2:($3*loss_scale) title 'mmapbusy-mmap', \ diff --git a/ugw/data/throughput-dep.sh b/ugw/data/throughput-dep.sh index 03698d6..c51ab93 100755 --- a/ugw/data/throughput-dep.sh +++ b/ugw/data/throughput-dep.sh @@ -2,7 +2,7 @@ titles=$(awk '{print $1}' 150/result) -delays=$(seq 125 160) +delays=$(seq 120 160) for i in $delays; do make -s -C $i -- 2.39.2