From: Michal Sojka Date: Sun, 19 Jan 2014 19:53:21 +0000 (+0100) Subject: fixup X-Git-Tag: fix-allnoconfig~65 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/109b4b67cb54eadad6974f06cc68567c55d6acd4 fixup --- diff --git a/ugw/data/bench-all.sh b/ugw/data/bench-all.sh index 266fea7..8697bdc 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 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; diff --git a/ugw/data/plot-thr.gp b/ugw/data/plot-thr.gp index 693aaa4..2966efa 100755 --- a/ugw/data/plot-thr.gp +++ b/ugw/data/plot-thr.gp @@ -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' diff --git a/ugw/data/preprocess.m b/ugw/data/preprocess.m index 0824624..26838a8 100755 --- a/ugw/data/preprocess.m +++ b/ugw/data/preprocess.m @@ -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"