Mercurial > hg > Members > taiki > benchmarks
comparison plot.sh @ 17:170f04992ccb default tip
add work log that result of count time
author | taiki |
---|---|
date | Wed, 14 Jan 2015 19:30:55 +0900 |
parents | 88d663a7bad5 |
children |
comparison
equal
deleted
inserted
replaced
16:731e0901d41d | 17:170f04992ccb |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | |
3 fsname="two_node_gfs2" | |
4 fstitle="Two node GFS2" | |
5 | |
2 gnuplot <<EOF | 6 gnuplot <<EOF |
3 # postscript形式に指定 | 7 # postscript形式に指定 |
4 set terminal postscript eps color enhanced | 8 set terminal postscript eps color enhanced |
5 # "sample.eps"として出力 | 9 # "sample.eps"として出力 |
6 #set output "two_node_gfs2.pdf" | 10 #set output "${fsname}.pdf" |
7 set output "| epstopdf -f -o=two_node_gfs2.pdf" | 11 set output "| epstopdf -f -o=${fsname}.pdf" |
8 # x軸名を"SN ration"に設定 | 12 # x軸名を設定 |
9 set xlabel "Environment" | 13 set xlabel "Environment" |
10 # y軸名を"SER"に設定 | 14 # y軸名を設定 |
11 set ylabel "mb/s" | 15 set ylabel "ops/s" |
12 # titleの設定 | 16 # titleの設定 |
13 set title "two node gfs2 benchmark" | 17 set title "${fstitle} benchmark" |
14 # x,yの範囲をどこからどこまでにするのか | 18 # x,yの範囲をどこからどこまでにするのか |
15 # set xrange [ 0 : 200 ] | 19 # set xrange [ 0 : 200 ] |
16 set yrange [ 0 : 200 ] | 20 set yrange [ 0 : 10000 ] |
17 # set yrange [ 0 : 0.25] | 21 # set yrange [ 0 : 0.25] |
18 # x,y軸のメモリを何ずつ刻むか | 22 # x,y軸のメモリを何ずつ刻むか |
19 # set xtics 1 | 23 # set xtics 1 |
20 # set ytics 0.05 | 24 # set ytics 0.05 |
21 # plot "error_rate_graph.data" w l | 25 # plot "error_rate_graph.data" w l |
22 set boxwidth 0.5 relative | 26 set boxwidth 0.5 relative |
23 set style fill solid border lc rgb "black" | 27 set style fill solid border lc rgb "black" |
24 plot "on_two_node_gfs2.txt" using 0:2:xtic(1) with boxes notitle | 28 plot "on_${fsname}.txt" using 0:2:xtic(1) with boxes notitle |
25 EOF | 29 EOF |