mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
119 lines
2.3 KiB
Plaintext
119 lines
2.3 KiB
Plaintext
#clean up the environment for interactive use
|
|
unset multiplot
|
|
reset
|
|
|
|
set terminal png font "/usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf,9" size 850,1100
|
|
set output outfilename
|
|
|
|
#set term x11 size 850, 1100
|
|
|
|
set multiplot
|
|
set grid
|
|
|
|
#set key below
|
|
set tics out
|
|
|
|
set lmargin 12
|
|
set rmargin 10
|
|
|
|
rd = dir1."/".'rstats-digest'
|
|
|
|
## graph system stats
|
|
set size .5, .315
|
|
|
|
## graph latencies
|
|
set origin 0, .315
|
|
|
|
#set xtics 10
|
|
|
|
#set yrange [500:150000]
|
|
#set y2range [1000:1100000]
|
|
#set y2tics nomirror
|
|
|
|
set xlabel "5 second intervals"
|
|
set ylabel "usec"
|
|
unset y2label
|
|
|
|
plot rd using "node_put_fsm_time_95" with lines, \
|
|
rd using "node_put_fsm_time_99" with lines, \
|
|
rd using "node_get_fsm_time_95" with lines, \
|
|
rd using "node_get_fsm_time_99" with lines
|
|
|
|
unset y2tics
|
|
unset y2range
|
|
|
|
## graph ops performance
|
|
set origin 0, .63
|
|
|
|
#ymax = median(rd) + 1000
|
|
|
|
#set yrange [0:50000]
|
|
set ylabel "operations per node"
|
|
set y2label "errors"
|
|
set y2tics nomirror
|
|
|
|
plot rd using "index_fsm_create" with lines, \
|
|
rd using "vnode_gets" with lines axis x1y2, \
|
|
rd using "vnode_puts" with lines axis x1y2
|
|
|
|
## graph system stats
|
|
set origin .48, 0
|
|
|
|
set xlabel "5 second intervals"
|
|
set y2tics nomirror
|
|
|
|
plot rd using "memory_page_dirty" with lines, \
|
|
rd using "memory_page_writeback" with lines axis x1y2
|
|
|
|
unset y2tics
|
|
unset y2range
|
|
|
|
## graph latencies
|
|
set origin .48, .315
|
|
#set yrange [500:150000]
|
|
#set y2range [1000:1100000]
|
|
#set y2tics nomirror
|
|
|
|
#set xtics 10
|
|
|
|
set xlabel "5 second intervals"
|
|
set ylabel "usec"
|
|
unset y2label
|
|
|
|
plot rd using "node_get_fsm_time_median" with lines, \
|
|
rd using "node_put_fsm_time_median" with lines
|
|
|
|
unset y2tics
|
|
unset y2range
|
|
|
|
## graph ops performance
|
|
set origin .48, .63
|
|
|
|
#set yrange [0:50000]
|
|
set ylabel "operations per node"
|
|
|
|
#hack to set the title for the whole graph
|
|
set label dir1 at screen 0.5,0.97 center front
|
|
|
|
plot rd using "message_queue_max" with lines, \
|
|
rd using "dropped_vnode_requests_total" with lines
|
|
|
|
set origin 0, 0
|
|
|
|
#set xtics 60
|
|
|
|
set yrange [0:100]
|
|
|
|
set xlabel "5 second intervals"
|
|
set ylabel "percentage"
|
|
|
|
plot rd using "cpu_utilization" with lines, \
|
|
rd using "cpu_iowait" with lines, \
|
|
rd using "disk_utilization" with lines, \
|
|
rd using "memory_utilization" with lines
|
|
|
|
unset yrange
|
|
unset y2tics
|
|
|
|
unset multiplot
|
|
reset |