X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/89805c403e4a1100441b41166840d22f2eb4ec9e..dc7f5a3374014b178414d75c09b9484403f186cc:/ugw/data/bench-all.sh diff --git a/ugw/data/bench-all.sh b/ugw/data/bench-all.sh index 6138288..dd3b254 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 mmsg-mmsg} set -x for method in $methods; do @@ -50,6 +50,7 @@ for method in $methods; do mmapbusy-mmap) ../ppc/boot -a "ugw=|-r mmapbusy -t mmap|" --exiton "UGW started";; readbusy-write) ../ppc/boot -a "ugw=|-b 300|" --exiton "UGW started";; readbusynoirq-write) ../ppc/boot -a "ugw=|-b 300|" --kernel uImage.noirq --exiton "UGW started";; + mmsg-mmsg) ../ppc/boot -a "ugw=|-r mmsg -t mmsg|" --exiton "UGW started";; *) echo >&2 "Unknown method '$method'"; exit 1; @@ -59,7 +60,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 3200 -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 .)