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]}
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
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;
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
'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'