Repository navigation
Expand file tree
/
Copy pathbench.plot
More file actions
151 lines (120 loc) · 6.23 KB
/
Copy pathbench.plot
File metadata and controls
151 lines (120 loc) · 6.23 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
set terminal pdfcairo enhanced color lw 1.2 size 20cm,58cm
set output 'bench.pdf'
set border 11 back
set tics font ",14"
set key spacing 1.8 samplen 2 font ",15" left Left reverse
set key box opaque
set grid y
set xtics nomirror out
set ytics nomirror out
set y2tics nomirror out
set mytics 5
set my2tics 5
set boxwidth 0.8 relative
set pointsize 0.8
set style line 1 lc rgb "#4873EA" lw 1.4 pt 7
set style line 2 lc rgb "#2FA75A" lw 1.4 pt 7
set style line 3 lc rgb "#EB383E" lw 1.4 pt 7
set style line 4 lc rgb "#31EC73" lw 1.4 pt 7
set style line 5 lc rgb "#FF9300" lw 1.4 pt 7
set offset -0.3,-0.3,0,0
set xtic add ("" 0, "1" 1, "2" 2, "4" 3, "8" 4, "16" 5, "32" 6, "64" 7, "100" 8, "200" 9, "300" 10, "400" 11, "500" 12, "800" 13, "" 14)
set y2label "99% Response Time (ms)" offset 1,0 font ",16"
set lmargin at screen 0.10
set rmargin at screen 0.90
set multiplot layout 3,1
set ylabel "RPS_{avg}=(RPS_{set}+RPS_{get})/2, 1K=10^3" offset 0.5,0 font ",16"
set xlabel "Number of Clients" offset 0,-0.5 font ",16"
set bmargin at screen 0.83
set tmargin at screen 0.98
set title "RedisBenchmark(SET+GET): DataSize=256B, Pipeline=Disabled" font ",20"
set ytics 50000
set ytic add ("50K" 50000, "100K" 100000, "150K" 150000, "200K" 200000)
set y2range[0:14]
plot 'input1' \
using 1:2 title "1Core-Twemproxy " with linespoints ls 1, \
'' using 1:4 title "4Core-Codis 2.0 " with linespoints ls 3, \
'' using 1:6 title "8Core-Codis 2.0 " with linespoints ls 5, \
'' using 1:7 notitle with points ls 1 pt 1 ps 0.7 axes x1y2, \
'' using 1:9 notitle with points ls 3 pt 1 ps 0.7 axes x1y2, \
'' using 1:11 notitle with points ls 5 pt 1 ps 0.7 axes x1y2, \
'' using 1:3 title "4Core-Codis 1.9 " with linespoints ls 2, \
'' using 1:5 title "8Core-Codis 1.9 " with linespoints ls 4, \
'' using 1:8 notitle with points ls 2 pt 1 ps 0.7 axes x1y2, \
'' using 1:10 notitle with points ls 4 pt 1 ps 0.7 axes x1y2, \
set bmargin at screen 0.63
set tmargin at screen 0.78
set title "RedisBenchmark(SET+GET): DataSize=256B, Pipeline=100" font ",20"
set ytics 200000
set ytic add ("200K" 200000, "400K" 400000, "600K" 600000, "800K" 800000, "1000K" 1000000, "1200K" 1200000)
set yrange[0:1200000]
set y2range[0:1200]
plot 'input2' \
using 1:2 title "1Core-Twemproxy " with linespoints ls 1, \
'' using 1:4 title "4Core-Codis 2.0 " with linespoints ls 3, \
'' using 1:6 title "8Core-Codis 2.0 " with linespoints ls 5, \
'' using 1:7 notitle with points ls 1 pt 1 ps 0.7 axes x1y2, \
'' using 1:9 notitle with points ls 3 pt 1 ps 0.7 axes x1y2, \
'' using 1:11 notitle with points ls 5 pt 1 ps 0.7 axes x1y2, \
'' using 1:3 title "4Core-Codis 1.9 " with linespoints ls 2, \
'' using 1:5 title "8Core-Codis 1.9 " with linespoints ls 4, \
'' using 1:8 notitle with points ls 2 pt 1 ps 0.7 axes x1y2, \
'' using 1:10 notitle with points ls 4 pt 1 ps 0.7 axes x1y2, \
set bmargin at screen 0.43
set tmargin at screen 0.58
set title "RedisBenchmark(MSET): DataSize=256B, Pipeline=100" font ",20"
set ytics 40000
set ytic add ("40K" 40000, "80K" 80000, "120K" 120000, "160K" 160000, "200K" 200000)
set yrange[0:160000]
set y2range[0:6000]
set ylabel "RPS_{mset}, 1K=10^3" offset 0.5,0 font ",16"
plot 'input3' \
using 1:2 title "1Core-Twemproxy " with linespoints ls 1, \
'' using 1:4 title "4Core-Codis 2.0 " with linespoints ls 3, \
'' using 1:6 title "8Core-Codis 2.0 " with linespoints ls 5, \
'' using 1:7 notitle with points ls 1 pt 1 ps 0.7 axes x1y2, \
'' using 1:9 notitle with points ls 3 pt 1 ps 0.7 axes x1y2, \
'' using 1:11 notitle with points ls 5 pt 1 ps 0.7 axes x1y2, \
'' using 1:3 title "4Core-Codis 1.9 " with linespoints ls 2, \
'' using 1:5 title "8Core-Codis 1.9 " with linespoints ls 4, \
'' using 1:8 notitle with points ls 2 pt 1 ps 0.7 axes x1y2, \
'' using 1:10 notitle with points ls 4 pt 1 ps 0.7 axes x1y2, \
set bmargin at screen 0.23
set tmargin at screen 0.38
set title "MemtierBenchmark: DataSize=256B, Pipeline=Disabled" font ",20"
set ytics 50000
set ytic add ("50K" 50000, "100K" 100000, "150K" 150000, "200K" 200000)
set yrange[0:200000]
set y2range[0:20]
set ylabel "RPS_{set+get}, 1K=10^3" offset 0.5,0 font ",16"
plot 'input4' \
using 1:2 title "1Core-Twemproxy " with linespoints ls 1, \
'' using 1:4 title "4Core-Codis 2.0 " with linespoints ls 3, \
'' using 1:6 title "8Core-Codis 2.0 " with linespoints ls 5, \
'' using 1:7 notitle with points ls 1 pt 1 ps 0.7 axes x1y2, \
'' using 1:9 notitle with points ls 3 pt 1 ps 0.7 axes x1y2, \
'' using 1:11 notitle with points ls 5 pt 1 ps 0.7 axes x1y2, \
'' using 1:3 title "4Core-Codis 1.9 " with linespoints ls 2, \
'' using 1:5 title "8Core-Codis 1.9 " with linespoints ls 4, \
'' using 1:8 notitle with points ls 2 pt 1 ps 0.7 axes x1y2, \
'' using 1:10 notitle with points ls 4 pt 1 ps 0.7 axes x1y2, \
set bmargin at screen 0.03
set tmargin at screen 0.18
set title "MemtierBenchmark: DataSize=256B, Pipeline=100" font ",20"
set ytics 400000
set ytic add ("400K" 400000, "800K" 800000, "1200K" 1200000)
set yrange[0:1200000]
set y2range[0:1200]
set ylabel "RPS_{set+get}, 1K=10^3" offset 0.5,0 font ",16"
plot 'input5' \
using 1:2 title "1Core-Twemproxy " with linespoints ls 1, \
'' using 1:4 title "4Core-Codis 2.0 " with linespoints ls 3, \
'' using 1:6 title "8Core-Codis 2.0 " with linespoints ls 5, \
'' using 1:7 notitle with points ls 1 pt 1 ps 0.7 axes x1y2, \
'' using 1:9 notitle with points ls 3 pt 1 ps 0.7 axes x1y2, \
'' using 1:11 notitle with points ls 5 pt 1 ps 0.7 axes x1y2, \
'' using 1:3 title "4Core-Codis 1.9 " with linespoints ls 2, \
'' using 1:5 title "8Core-Codis 1.9 " with linespoints ls 4, \
'' using 1:8 notitle with points ls 2 pt 1 ps 0.7 axes x1y2, \
'' using 1:10 notitle with points ls 4 pt 1 ps 0.7 axes x1y2, \
unset multiplot