]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
fixup
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 19 Jan 2014 19:53:21 +0000 (20:53 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 19 Jan 2014 19:53:21 +0000 (20:53 +0100)
ugw/data/bench-all.sh
ugw/data/plot-thr.gp
ugw/data/preprocess.m

index 266fea798095c9e2d82baed03dd96220e18c1156..8697bdc5dc1a6d6d657aff75a72b6c42a7b2e898 100755 (executable)
@@ -19,7 +19,7 @@ while [ "${1#-}" != "$1" ]; do
            dirs=oneatatime.ftrace
            ;;
        -p)
-           dirs=($(seq 126 2 170))
+           dirs=($(seq 125 170))
            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-noirq mmap-write mmap-mmap mmapbusy-write mmapbusy-mmap readbusy-write}
+methods=${@:-rtems kernel read-write readnb-write mmap-write mmap-mmap mmapbusy-write mmapbusy-mmap readbusy-write}
 
 set -x
 for method in $methods; do
@@ -42,12 +42,12 @@ for method in $methods; do
        kernel)         ../ppc/boot -a kernelgw --exiton "Kernel GW started";;
        read-write)     ../ppc/boot             --exiton "UGW started";;
        readnb-write)   ../ppc/boot -a "ugw=|-n|" --exiton "UGW started";;
-       readnb-noirq)   ../ppc/boot -a "ugw=|-n|" --kernel uImage.noirq --exiton "UGW started";;
        mmap-write)     ../ppc/boot -a "ugw=|-r mmap|" --exiton "UGW started";;
        mmap-mmap)      ../ppc/boot -a "ugw=|-r mmap -t mmap|" --exiton "UGW started";;
        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";;
        *)
            echo >&2 "Unknown method '$method'";
            exit 1;
index 693aaa448a1f7a239b0c5cdb852ddca11977cfb9..2966efacec020bfaebbefe019f899849e9bdd15f 100755 (executable)
@@ -4,8 +4,8 @@ set xlabel "Frame period [µs]"
 set ylabel "Latency [µs] + packet loss"
 set style data yerrorlines
 # set yrange [0:10000]
-set yrange [0:]
-#set logscale y
+set yrange [10:]
+set logscale y
 # set key left Left reverse
 set grid
 loss_scale=10
@@ -16,5 +16,6 @@ plot \
      'mmap-mmap.dat' using 1:2:($3*loss_scale) title 'mmap-mmap', \
      'mmap-write.dat' using 1:2:($3*loss_scale) title 'mmap-write', \
      'readbusy-write.dat' using 1:2:($3*loss_scale) title 'readbusy-write', \
+     'readbusy-noirq.dat' using 1:2:($3*loss_scale) title 'readbusy-noirq', \
      'readnb-write.dat' using 1:2:($3*loss_scale) title 'readnb-write', \
      'read-write.dat' using 1:2:($3*loss_scale) title 'read-write'
index 08246247f19afbaa19d8f6170fede55a77e19257..26838a8eae9a2f067e5f4d3078c8a73fc7d6339a 100755 (executable)
@@ -8,8 +8,8 @@ datafiles = {
             "mmapbusy-mmap.dat"
             "mmapbusy-write.dat"
             "readnb-write.dat"
-            "readnb-noirq.dat"
             "readbusy-write.dat"
+            "readbusy-noirq.dat"
             "read-write.dat"
             "mmap-write.dat"
             "mmap-mmap.dat"