]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - ugw/data/bench-all.sh
Rename one experiment
[can-benchmark.git] / ugw / data / bench-all.sh
index a718d89981d166b3c7838bd9c881c3713b4b7ef9..6138288ddbf3970fa92eda581479272cefe1ab4c 100755 (executable)
@@ -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}
+methods=${@:-rtems kernel read-write readnb-write readnb-mmap mmap-write mmap-mmap mmapbusy-write mmapbusy-mmap readbusy-write readbusynoirq-write}
 
 set -x
 for method in $methods; do
@@ -49,7 +49,7 @@ for method in $methods; do
        mmapbusy-write) ../ppc/boot -a "ugw=|-r mmapbusy|" --exiton "UGW started";;
        mmapbusy-mmap)  ../ppc/boot -a "ugw=|-r mmapbusy -t mmap|" --exiton "UGW started";;
        readbusy-write) ../ppc/boot -a "ugw=|-b 300|" --exiton "UGW started";;
-       readbusy-noirq) ../ppc/boot -a "ugw=|-b 300|" --kernel uImage.noirq --exiton "UGW started";;
+       readbusynoirq-write) ../ppc/boot -a "ugw=|-b 300|" --kernel uImage.noirq --exiton "UGW started";;
        *)
            echo >&2 "Unknown method '$method'";
            exit 1;
@@ -59,7 +59,7 @@ for method in $methods; do
        arg=${args[$i]}
        dir=${dirs[$i]}
        set -x
-       ssh glab "latester -d can0 -d can1 -d can2 -c 3200 -q -n $method $arg"
+       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"
        mkdir -p $dir
        scp glab:"$method-*.txt" $dir
        (cd $dir && ln -sf ../Makefile ../plot.gp ../preprocess.m .)