]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Update graph ranges etc.
authorMichal Sojka <sojka@os.inf.tu-dresden.de>
Sun, 25 Sep 2011 23:21:19 +0000 (01:21 +0200)
committerMichal Sojka <sojka@os.inf.tu-dresden.de>
Sun, 25 Sep 2011 23:21:19 +0000 (01:21 +0200)
gw-tests/filter-time.sh
gw-tests/nop-highprio-time.sh
gw-tests/nop-time.sh
gw-tests/nop.sh
gw-tests/pc.sh
gw-tests/user-time.sh
gw-tests/user.sh
gw-tests/vcan.sh
gw-tests/vcans.sh

index 082e506a8d882c825fd50d2c0262e89a3d061ff4..865e1cc9f880c9a2630e725203caebfe993209a7 100755 (executable)
@@ -23,7 +23,7 @@ plot_cmds() {
     cat <<EOF
 set title "2048 GW rules (one per id, mask 0x7FF), no modifications"
 set grid xtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [s]"
+set xlabel "Experiment time [s]"
 set ylabel "Latency [ms]"
 plot [:] [$range] \\
 EOF
index 603304b04f6ee732f291e44bba0e69c9524d15c9..80705a75be67a3e3ccc5e67133a6b325ed9cbe5d 100755 (executable)
@@ -13,9 +13,9 @@ set title "Single GW rule for all messages, no modifications, high (soft)irq tas
 set logscale y
 set grid xtics ytics mytics lw 1, lw 0.5
 set key left
-set xlabel "Time [s]"
+set xlabel "Experiment time [s]"
 set ylabel "Latency [ms]"
-plot [:] [0.06:4] \
+plot [:] [0.01:4] \
           "len2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "2 byte messages", \
           "len4-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "4 byte messages", \
           "len6-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "6 byte messages", \
index 570a782f078d663bc10c6093f80162cca409648a..36305cbe1c51495eac9df307a9fcf7a72cfe4c6a 100755 (executable)
@@ -20,7 +20,7 @@ plot_cmds() {
 set title "Single GW rule for all messages, no modifications"
 set grid xtics ytics mytics lw 1, lw 0.5
 set key left
-set xlabel "Time [s]"
+set xlabel "Experiment time [s]"
 set ylabel "Latency [ms]"
 plot [:] [$range] \
           "len2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "2 byte messages", \
index 9a94fc41c533427b9d0398d763a1f01309870d3b..b0fb5012359d15493ea5b266a4b1653daa4d09e8 100755 (executable)
@@ -14,7 +14,7 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.0:0.25
+       range=0.0:0.3
        echo "set logscale y"
     else
        range=0.01:100
index afec393a8597a310c020a2da480dfbec976a0ee7..e022f1d70ee59e5813e5957aa021ff05805510ae 100755 (executable)
@@ -14,7 +14,7 @@ plot_cmds() {
     if [ $traffic = "flood" ]; then max=35; fi
 
     cat <<EOF
-set title "No GW, two interfaces in PC"
+set title "No GW, two interfaces in PC (Latency = t_{kernel RX} - t_{before send} - t_{TX length})"
 set logscale y
 set grid
 set xlabel "Time [ms]"
index cb73de266c8aadd0c24ec659193007091c0d0782..a6221ec0ad10b0f1741ec712c84f5a067e18de6b 100755 (executable)
@@ -12,9 +12,9 @@ main() {
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.06:0.3
+       range=0.0:0.3
     else
-       range=0.06:800
+       range=0.01:800
        echo "set logscale y"
     fi
     if [ -s user2-msgs.txt ]; then
@@ -25,7 +25,7 @@ plot_cmds() {
     cat <<EOF
 set title "Single GW rule for all messages, no modifications"
 set grid xtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [s]"
+set xlabel "Experiment time [s]"
 set ylabel "Latency [ms]"
 plot [:] [$range] \
           "user2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Userspace GW, 2 byte messages", \
index 45e57ae5de6c293b88626664b2972ce680b2ec3d..9687c4beb895cd27afa974f721a39fa3717898b1 100755 (executable)
@@ -18,23 +18,24 @@ ADDITIONAL_PLOTS=detail
 plot_cmds() {
     if [[ "$1" = detail ]]; then
        [[ $traffic = eth ]] && return
-       range=0.05:0.5
+       range=0.0:0.5
        echo "set logscale y"
        echo "set mxtics 5"
     else
-       range=0.05:1000
+       range=0.01:1000
        echo "set logscale xy"
     fi
     cat <<EOF
 set title "Kernel vs. userspace GW, no modifications"
+set termoption dashed
 set grid xtics mxtics ytics mytics lw 1, lw 0.5
 set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
 plot [$range] [1:$COUNT] \
-          "user2-hist.txt" with lp lt 1 title "Userspace GW, 2 byte messages", \
-          "user8-hist.txt" with lp lt 2 title "Userspace GW, 8 byte messages", \
-          "kern2-hist.txt" with lp lt 1 title "Kernel GW, 2 byte messages", \
-          "kern8-hist.txt" with lp lt 2 title "Kernel GW, 8 byte messages"
+          "user2-hist.txt" with lp lc 1 lt 1 title "Userspace GW, 2 byte messages", \
+          "user8-hist.txt" with lp lc 1 lt 2 title "Userspace GW, 8 byte messages", \
+          "kern2-hist.txt" with lp lc 2 lt 1 title "Kernel GW, 2 byte messages", \
+          "kern8-hist.txt" with lp lc 2 lt 2 title "Kernel GW, 8 byte messages"
 EOF
 }
     
index 6ba6ff79991e2a8bd807f129d744e8d0f6458e9f..5dcb81206cce5ec37105816a0057056ee6ba047e 100755 (executable)
@@ -24,7 +24,7 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.1:0.4
+       range=0:0.4
        echo "set logscale y"
        echo "set mxtics "
     else
index a06e35d5fd47f878cb5dd3d3a82b4def7609c45b..82a2fed1ecf5346bea3a153489ff212eb649248f 100755 (executable)
@@ -24,11 +24,11 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0.1:0.4
+       range=0:0.4
        echo "set logscale y"
        echo "set mxtics 5"
     else
-       range=0.1:1000
+       range=0.01:1000
        echo "set logscale xy"
     fi
     cat <<EOF