fio2gnuplot: Adding sample files
authorErwan Velu <erwan@enovance.com>
Fri, 12 Jul 2013 09:36:43 +0000 (11:36 +0200)
committerErwan Velu <erwan@enovance.com>
Fri, 12 Jul 2013 09:47:07 +0000 (11:47 +0200)
This commit does add some sample log files and makefile to use
fio2gnuplot. This is very useful for understanding, developping or testing fio2gnuplot.

A simple "make" will do the job for you.

tools/plot/samples/Makefile [new file with mode: 0644]
tools/plot/samples/fio-logs.tar.gz [new file with mode: 0644]

diff --git a/tools/plot/samples/Makefile b/tools/plot/samples/Makefile
new file mode 100644 (file)
index 0000000..df0480f
--- /dev/null
@@ -0,0 +1,19 @@
+all: clean m2sw1-128k-sdb-randwrite-para.results_bw.log io bandwidth
+
+m2sw1-128k-sdb-randwrite-para.results_bw.log:
+       tar -xf fio-logs.tar.gz
+
+io: setup
+       ./fio2gnuplot.py -p 'm2sw1-128k-*-read-para*iops.log' -g
+
+bandwidth: setup
+       ./fio2gnuplot.py -p 'm2sw1-128k-*-read-para*bw.log' -g
+
+setup:
+       ln -sf ../*py ../*gpm .
+
+clean:
+       rm -rf *png mygraph mymath *py *gpm gnuplot_temp_file* *~
+       rm -rf *.average *.stddev *.min *.max *.global
+       rm -rf m2sw1-128k-read-para-bw m2sw1-128k-read-para-iops
+       rm -rf *log
diff --git a/tools/plot/samples/fio-logs.tar.gz b/tools/plot/samples/fio-logs.tar.gz
new file mode 100644 (file)
index 0000000..2237f5e
Binary files /dev/null and b/tools/plot/samples/fio-logs.tar.gz differ