X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/fc0652122a25ad837d72c3b6dfe0c1da2bb58f23..79f8357de009a8b24c7060811846f124d9ddde6a:/tests/ethflood64k.sh diff --git a/tests/ethflood64k.sh b/tests/ethflood64k.sh new file mode 100755 index 0000000..9702093 --- /dev/null +++ b/tests/ethflood64k.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +. _lib.sh + +t() { + ssh root@${SSH_CONNECTION%% *} 'ping -qfs 64000 "${SSH_CONNECTION%% *}"' & + PID_PING=$! + PID_S=`vca_canping -s 1 -b -R FF:$RTPRIO -d $CAN1` + vca_canping -m 1 -R FF:$RTPRIO -v -g $DRIVER -t 1 -d $CAN0 -w 2 -c 10000 + kill $PID_S + kill $PID_PING +} + + + +PLOT_CMD=' +set title "Round-trip time with ethenet load - ping -fs 64000 (`uname -r`)" +set logscale y +set grid +set xlabel "Time [{/Symbol m}s]" +set ylabel "Latency profile [messages]" +plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\ + "lincan-1000.dat" with lp title "Lincan" +' +