Skip to content

Instantly share code, notes, and snippets.

@Jerry-Fix
Last active December 30, 2015 02:49
Show Gist options
  • Save Jerry-Fix/7765402 to your computer and use it in GitHub Desktop.
Save Jerry-Fix/7765402 to your computer and use it in GitHub Desktop.
io benchamrk, using fio, gnuplot
set title "SAS 10K 600G diff ioengine(libaio, mmap, sync) benchmark(bandwidth, IOPS) 100% randread"
set xlabel "blocksize(KB)"
set ylabel "bandwidth(MB/s)"
set y2label "IOPS"
set xtics 200
set y2tics 0,100,1500
set grid
set border 15
plot "raid10_diff_ioengine_randread_bandwidth_iops" using 1:2 with linespoints lt 30 title "libaio bandwidth",\
"raid10_diff_ioengine_randread_bandwidth_iops" using 1:3 with linespoints lt 31 title "mmap bandwidth",\
"raid10_diff_ioengine_randread_bandwidth_iops" using 1:4 with linespoints lt 29 title "sync bandwidth",\
"raid10_diff_ioengine_randread_bandwidth_iops" using 1:5 with linespoints lt 28 title "libaio IOPS" axis x1y2,\
"raid10_diff_ioengine_randread_bandwidth_iops" using 1:6 with linespoints lt 27 title "mmap IOPS" axis x1y2,\
"raid10_diff_ioengine_randread_bandwidth_iops" using 1:7 with linespoints lt 26 title "sync IOPS" axis x1y2
set title "SAS 10K 600G diff ioengine(libaio, mmap, sync) benchmark(bandwidth, IOPS) 100% randwrite"
set xlabel "blocksize(KB)"
set ylabel "bandwidth(MB/s)"
set y2label "IOPS"
set xtics 200
set y2tics 0,100,1000
set grid
set border 15
plot "raid10_diff_ioengine_randwrite_bandwidth_iops" using 1:2 with linespoints lt 30 title "libaio bandwidth",\
"raid10_diff_ioengine_randwrite_bandwidth_iops" using 1:3 with linespoints lt 31 title "mmap bandwidth",\
"raid10_diff_ioengine_randwrite_bandwidth_iops" using 1:4 with linespoints lt 29 title "sync bandwidth",\
"raid10_diff_ioengine_randwrite_bandwidth_iops" using 1:5 with linespoints lt 28 title "libaio IOPS" axis x1y2,\
"raid10_diff_ioengine_randwrite_bandwidth_iops" using 1:6 with linespoints lt 27 title "mmap IOPS" axis x1y2,\
"raid10_diff_ioengine_randwrite_bandwidth_iops" using 1:7 with linespoints lt 26 title "sync IOPS" axis x1y2
set title "SAS 10K 600G random rw benchmark(bandwidth)"
set xlabel "blocksize(KB)"
set ylabel "bandwith(MB/s)"
set grid
set border 15
set xtics 200
plot "raid10_randrw_bandwidth" using 1:2 with linespoints lt 30 title "100% rand read",\
"raid10_randrw_bandwidth" using 1:3 with linespoints lt 31 title "100% rand write",\
"raid10_randrw_bandwidth" using 1:4 with linespoints lt 29 title "70% rand read",\
"raid10_randrw_bandwidth" using 1:5 with linespoints lt 28 title "30% rand write",\
"raid10_randrw_bandwidth" using 1:6 with linespoints lt 27 title "30% rand read",\
"raid10_randrw_bandwidth" using 1:7 with linespoints lt 26 title "70% rand write"
set title "SAS 10K 600G random rw benchmark(IOPS)"
set xlabel "blocksize(KB)"
set ylabel "IOPS"
set grid
set border 15
set xtics 200
plot "raid10_randrw_iops" using 1:2 with linespoints lt 30 title "100% rand read",\
"raid10_randrw_iops" using 1:3 with linespoints lt 31 title "100% rand write",\
"raid10_randrw_iops" using 1:4 with linespoints lt 29 title "70% rand read",\
"raid10_randrw_iops" using 1:5 with linespoints lt 28 title "30% rand write",\
"raid10_randrw_iops" using 1:6 with linespoints lt 27 title "30% rand read",\
"raid10_randrw_iops" using 1:7 with linespoints lt 26 title "70% rand write"
set title "SAS 10K 600G sequential rw benchmark(bandwidth)"
set xlabel "blocksize(KB)"
set ylabel "bandwith(MB/s)"
set grid
set border 15
set xtics 200
plot "raid10_seqrw_bandwith" using 1:2 with linespoints lt 30 title "100% seq read",\
"raid10_seqrw_bandwith" using 1:3 with linespoints lt 31 title "100% seq write",\
"raid10_seqrw_bandwith" using 1:4 with linespoints lt 29 title "70% seq read",\
"raid10_seqrw_bandwith" using 1:5 with linespoints lt 28 title "30% seq write",\
"raid10_seqrw_bandwith" using 1:6 with linespoints lt 27 title "30% seq read",\
"raid10_seqrw_bandwith" using 1:7 with linespoints lt 26 title "70% seq write"
set title "SAS 10K 600G sequential rw benchmark(IOPS)"
set xlabel "blocksize(KB)"
set ylabel "IOPS"
set grid
set border 15
set xtics 200
plot "raid10_seqrw_iops" using 1:2 with linespoints lt 30 title "100% seq read",\
"raid10_seqrw_iops" using 1:3 with linespoints lt 31 title "100% seq write",\
"raid10_seqrw_iops" using 1:4 with linespoints lt 29 title "70% seq read",\
"raid10_seqrw_iops" using 1:5 with linespoints lt 28 title "30% seq write",\
"raid10_seqrw_iops" using 1:6 with linespoints lt 27 title "30% seq read",\
"raid10_seqrw_iops" using 1:7 with linespoints lt 26 title "70% seq write"
http://lowrank.net/gnuplot/index-e.html
http://ontublog.blogspot.com/2009/09/complex-axis-in-gnuplot.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment