if [[ ! -S $socket ]] || ! ssh -x -a -S $socket root@192.168.2.3 true; then
# Create master connection to speed up subsequenct command.
if [[ ! -S $socket ]] || ! ssh -x -a -S $socket root@192.168.2.3 true; then
# Create master connection to speed up subsequenct command.
- plot_cmds $i | sed -e "/set title/ s/[\"']\(.*\)[\"']/\"\1\\\\n{\/*0.75 (GW kernel $kvers, Traffic $traffic, Load $load)}\"/" > plot.gp
- if [[ ! -s plot.gp ]]; then return; fi
+ plot_cmds $i | sed -e "/set title/ s/[\"']\(.*\)[\"']/\"\1\\\\n{\/*0.75 (GW kernel $kvers, Traffic $traffic, Load $load)}\"/" > plot$i.gp
+ if [[ ! -s plot$i.gp ]]; then continue; fi
convert -resize 150x105 -gamma 0.5 -quality 90 -type Palette -depth 8 graph$i.png tgraph$i.png
# echo 'set terminal pngcairo color enhanced size 150,105 font ",1";' \
# "$(< plot.gp)" | gnuplot > thumb/${testname}$i.png
done
convert -resize 150x105 -gamma 0.5 -quality 90 -type Palette -depth 8 graph$i.png tgraph$i.png
# echo 'set terminal pngcairo color enhanced size 150,105 font ",1";' \
# "$(< plot.gp)" | gnuplot > thumb/${testname}$i.png
done
eth) ping -f -s 60000 -q 192.168.2.3 & loadpid=$!;; # TODO: Generate eth load from another computer
can) latester -q -d can1 -i 0x7ff & loadpid=$!;;
*) error "Unknown load specification: $load"
eth) ping -f -s 60000 -q 192.168.2.3 & loadpid=$!;; # TODO: Generate eth load from another computer
can) latester -q -d can1 -i 0x7ff & loadpid=$!;;
*) error "Unknown load specification: $load"
sshgw 'if pid=`pidof sirq-net-rx/0`; then chrt -p -f 49 $pid > /dev/null; fi'
sshgw 'if pid=`pidof sirq-net-tx/0`; then chrt -p -f 49 $pid > /dev/null; fi'
# Set the length of qdisc queue to avoid ENOBUFS errors
sshgw 'if pid=`pidof sirq-net-rx/0`; then chrt -p -f 49 $pid > /dev/null; fi'
sshgw 'if pid=`pidof sirq-net-tx/0`; then chrt -p -f 49 $pid > /dev/null; fi'
# Set the length of qdisc queue to avoid ENOBUFS errors
- # Create a plot script at the end to signalize that the
- # measurement was successfully finished
- cat > plot.sh <<-EOF
+ if [ ! "$SKIPPED" ]; then
+ # Create a plot script at the end to signalize that the
+ # measurement was successfully finished
+ cat > plot.sh <<-EOF