blob: dec83c4f9cf77f042ec841bae5f0ba6e22e4787b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
set terminal pdfcairo
set rmargin 4
set output "stall_shard.pdf"
#set format y "%1.0t{/Symbol \264}10^{%L}"
#set format x "%1.0t{/Symbol \264}10^{%L}"
set style line 1 lt 1 lw 3 dashtype 1 ps 2
set style line 2 lt 2 lw 3 dashtype 2 ps 2
set style line 3 lt 3 lw 3 dashtype 3 ps 2
set style line 4 lt 4 lw 3 dashtype 4 ps 2
set key right top vertical samplen 2 width .1
set xtics out nomirror
set ytics out nomirror
unset mxtics
unset mytics
#set logscale x
#set logscale y
#set xrange [0:1e10]
set xlabel "Shard Count at Buffer Flush"
set ylabel "Normalized Frequency"
# set title "Shard Count Distribution"
stats "shard_stall_knn_1.txt" using 1 nooutput
S1 = STATS_sum
stats "shard_stall_knn_.9.txt" using 1 nooutput
S9 = STATS_sum
stats "shard_stall_knn_.8.txt" using 1 nooutput
S8 = STATS_sum
stats "shard_stall_knn_.7.txt" using 1 nooutput
S7 = STATS_sum
stats "shard_stall_knn_.6.txt" using 1 nooutput
S6 = STATS_sum
stats "shard_stall_knn_tiering.txt" using 1 nooutput
ST = STATS_sum
plot "./shard_stall_knn_1.txt" using 2:($1/S1) with lines ls 6 title "1", \
"./shard_stall_knn_.9.txt" using 2:($1/S9) with lines ls 2 title ".9", \
"./shard_stall_knn_.8.txt" using 2:($1/S8) with lines ls 3 title ".8", \
"./shard_stall_knn_.7.txt" using 2:($1/S7) with lines ls 4 title ".7", \
"./shard_stall_knn_.6.txt" using 2:($1/S6) with lines ls 5 title ".6", \
"./shard_stall_knn_tiering.txt" using 2:($1/ST) with lines ls 1 lc rgb "red" title "Tiering", \
|