Ultima attività 6 months ago

Jan Wagner ha revisionato questo gist 7 years ago. Vai alla revisione

1 file changed, 0 insertions, 0 deletions

performance.md rinominato come 0-performance.md

File rinominato senza modifiche

Jan Wagner ha revisionato questo gist 7 years ago. Vai alla revisione

8 files changed, 0 insertions, 0 deletions

bandwidth_read.png(file creato)

Binary file changes are not shown

bandwidth_write.png(file creato)

Binary file changes are not shown

iops_read.png(file creato)

Binary file changes are not shown

iops_write.png(file creato)

Binary file changes are not shown

latency_max.png(file creato)

Binary file changes are not shown

latency_min.png(file creato)

Binary file changes are not shown

latenvy_avg.png(file creato)

Binary file changes are not shown

runtime.png(file creato)

Binary file changes are not shown

Jan Wagner ha revisionato questo gist 7 years ago. Vai alla revisione

1 file changed, 209 insertions

performance.md(file creato)

@@ -0,0 +1,209 @@
1 + # VPS Performance Tests
2 +
3 + Test procedure https://dzone.com/articles/iops-benchmarking-disk-io-aws-vs-digitalocean
4 +
5 + ## VPS 2016 Cloud 2
6 + ```
7 + $ aptitude -y install -o quiet=2 ioping fio > /dev/null; time fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --output=/root/tempfile --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75; rm -f test.*; cat tempfile; ioping -c 10 /root | tail -4
8 + Jobs: 1 (f=1): [m(1)] [100.0% done] [1529KB/580KB/0KB /s] [382/145/0 iops] [eta 00m:00s]
9 + real 14m20.420s
10 + user 0m14.620s
11 + sys 1m4.424s
12 + test: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=64
13 + fio-2.16
14 + Starting 1 process
15 + test: Laying out IO file(s) (1 file(s) / 4096MB)
16 +
17 + test: (groupid=0, jobs=1): err= 0: pid=19377: Fri Mar 2 18:16:12 2018
18 + read : io=3070.4MB, bw=3888.9KB/s, iops=972, runt=808475msec
19 + write: io=1025.8MB, bw=1299.2KB/s, iops=324, runt=808475msec
20 + cpu : usr=1.43%, sys=6.34%, ctx=835077, majf=0, minf=9
21 + IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
22 + submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
23 + complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
24 + issued : total=r=785996/w=262580/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
25 + latency : target=0, window=0, percentile=100.00%, depth=64
26 +
27 + Run status group 0 (all jobs):
28 + READ: io=3070.4MB, aggrb=3888KB/s, minb=3888KB/s, maxb=3888KB/s, mint=808475msec, maxt=808475msec
29 + WRITE: io=1025.8MB, aggrb=1299KB/s, minb=1299KB/s, maxb=1299KB/s, mint=808475msec, maxt=808475msec
30 +
31 + Disk stats (read/write):
32 + sda: ios=787390/263575, merge=612/721, ticks=49277288/2701580, in_queue=51980604, util=100.00%
33 + --- /root (ext4 /dev/sda1) ioping statistics ---
34 + 9 requests completed in 4.56 ms, 36 KiB read, 1.97 k iops, 7.71 MiB/s
35 + generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
36 + min/avg/max/mdev = 423.4 us / 506.8 us / 577.3 us / 43.7 us
37 + ```
38 +
39 + ## VPS-SSD-3
40 + ```
41 + $ aptitude -y install -o quiet=2 ioping fio > /dev/null; time fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --output=/root/tempfile --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75; rm -f test.*; cat tempfile; ioping -c 10 /root | tail -4
42 + Jobs: 1 (f=1): [m(1)] [100.0% done] [6122KB/1977KB/0KB /s] [1530/494/0 iops] [eta 00m:00s]
43 + real 8m54.461s
44 + user 0m8.612s
45 + sys 0m28.952s
46 + test: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=64
47 + fio-2.16
48 + Starting 1 process
49 + test: Laying out IO file(s) (1 file(s) / 4096MB)
50 +
51 + test: (groupid=0, jobs=1): err= 0: pid=29737: Fri Mar 2 18:06:18 2018
52 + read : io=3070.4MB, bw=5996.5KB/s, iops=1499, runt=524308msec
53 + write: io=1025.8MB, bw=2003.3KB/s, iops=500, runt=524308msec
54 + cpu : usr=1.28%, sys=3.90%, ctx=820901, majf=0, minf=7
55 + IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
56 + submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
57 + complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
58 + issued : total=r=785996/w=262580/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
59 + latency : target=0, window=0, percentile=100.00%, depth=64
60 +
61 + Run status group 0 (all jobs):
62 + READ: io=3070.4MB, aggrb=5996KB/s, minb=5996KB/s, maxb=5996KB/s, mint=524308msec, maxt=524308msec
63 + WRITE: io=1025.8MB, aggrb=2003KB/s, minb=2003KB/s, maxb=2003KB/s, mint=524308msec, maxt=524308msec
64 +
65 + Disk stats (read/write):
66 + vda: ios=785827/262871, merge=0/346, ticks=33128700/379728, in_queue=33509372, util=100.00%
67 + --- /root (ext4 /dev/vda1) ioping statistics ---
68 + 9 requests completed in 4.54 ms, 36 KiB read, 1.98 k iops, 7.74 MiB/s
69 + generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
70 + min/avg/max/mdev = 341.3 us / 504.8 us / 817.5 us / 154.2 us
71 + ```
72 +
73 + ## VPS 2016 Cloud RAM 1
74 + ```
75 + $ aptitude -y install -o quiet=2 ioping fio > /dev/null; time fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --output=/root/tempfile --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75; rm -f test.*; cat tempfile; ioping -c 10 /root | tail -4
76 + Jobs: 1 (f=1): [m(1)] [100.0% done] [1946KB/587KB/0KB /s] [486/146/0 iops] [eta 00m:00s]
77 + real 38m46.352s
78 + user 0m34.224s
79 + sys 1m17.728s
80 + test: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=64
81 + fio-2.1.11
82 + Starting 1 process
83 + test: Laying out IO file(s) (1 file(s) / 4096MB)
84 +
85 + test: (groupid=0, jobs=1): err= 0: pid=29664: Fri Mar 2 21:48:30 2018
86 + read : io=3071.7MB, bw=1382.7KB/s, iops=345, runt=2274925msec
87 + write: io=1024.4MB, bw=472143B/s, iops=115, runt=2274925msec
88 + cpu : usr=1.12%, sys=2.81%, ctx=935767, majf=0, minf=7
89 + IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
90 + submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
91 + complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
92 + issued : total=r=786347/w=262229/d=0, short=r=0/w=0/d=0
93 + latency : target=0, window=0, percentile=100.00%, depth=64
94 +
95 + Run status group 0 (all jobs):
96 + READ: io=3071.7MB, aggrb=1382KB/s, minb=1382KB/s, maxb=1382KB/s, mint=2274925msec, maxt=2274925msec
97 + WRITE: io=1024.4MB, aggrb=461KB/s, minb=461KB/s, maxb=461KB/s, mint=2274925msec, maxt=2274925msec
98 +
99 + Disk stats (read/write):
100 + sda: ios=782437/261903, merge=3882/607, ticks=117414720/27705248, in_queue=175524936, util=100.00%
101 +
102 + --- /root (ext4 /dev/sda1) ioping statistics ---
103 + 10 requests completed in 9.01 s, 2.14 k iops, 8.36 MiB/s
104 + min/avg/max/mdev = 295 us / 467 us / 816 us / 139 us
105 + ```
106 +
107 + ## VPS 2014 Cloud 3
108 + ```
109 + $ aptitude -y install -o quiet=2 ioping fio > /dev/null; time fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --output=/root/tempfile --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75; rm -f test.*; cat tempfile; ioping -c 10 /root | tail -4
110 + Jobs: 1 (f=1): [m(1)] [100.0% done] [63888KB/21166KB/0KB /s] [15.1K/5291/0 iops] [eta 00m:00s]
111 + real 2m24.310s
112 + user 0m5.572s
113 + sys 0m19.420s
114 + test: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=64
115 + fio-2.1.11
116 + Starting 1 process
117 + test: Laying out IO file(s) (1 file(s) / 4096MB)
118 +
119 + test: (groupid=0, jobs=1): err= 0: pid=19481: Fri Mar 2 17:59:08 2018
120 + read : io=3071.7MB, bw=27802KB/s, iops=6950, runt=113134msec
121 + write: io=1024.4MB, bw=9271.5KB/s, iops=2317, runt=113134msec
122 + cpu : usr=2.84%, sys=11.03%, ctx=205929, majf=0, minf=8
123 + IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
124 + submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
125 + complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
126 + issued : total=r=786347/w=262229/d=0, short=r=0/w=0/d=0
127 + latency : target=0, window=0, percentile=100.00%, depth=64
128 +
129 + Run status group 0 (all jobs):
130 + READ: io=3071.7MB, aggrb=27802KB/s, minb=27802KB/s, maxb=27802KB/s, mint=113134msec, maxt=113134msec
131 + WRITE: io=1024.4MB, aggrb=9271KB/s, minb=9271KB/s, maxb=9271KB/s, mint=113134msec, maxt=113134msec
132 +
133 + Disk stats (read/write):
134 + sda: ios=780864/261036, merge=2253/453, ticks=3336928/4052308, in_queue=7388816, util=100.00%
135 +
136 + --- /root (ext4 /dev/sda1) ioping statistics ---
137 + 10 requests completed in 9.01 s, 1.65 k iops, 6.43 MiB/s
138 + min/avg/max/mdev = 378 us / 607 us / 878 us / 118 us
139 + ```
140 +
141 + ## HG-7
142 + ```
143 + $ aptitude -y install -o quiet=2 ioping fio > /dev/null; time fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --output=/root/tempfile --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75; rm -f test.*; cat tempfile; ioping -c 10 /root | tail -4
144 + Jobs: 1 (f=1): [m(1)] [100.0% done] [6184KB/2024KB/0KB /s] [1546/506/0 iops] [eta 00m:00s]
145 + real 9m29.782s
146 + user 0m12.980s
147 + sys 0m37.116s
148 + test: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=64
149 + fio-2.16
150 + Starting 1 process
151 + test: Laying out IO file(s) (1 file(s) / 4096MB)
152 +
153 + test: (groupid=0, jobs=1): err= 0: pid=29316: Fri Mar 2 18:06:29 2018
154 + read : io=3070.4MB, bw=5965.9KB/s, iops=1491, runt=526997msec
155 + write: io=1025.8MB, bw=1993.3KB/s, iops=498, runt=526997msec
156 + cpu : usr=2.06%, sys=5.86%, ctx=843903, majf=0, minf=8
157 + IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
158 + submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
159 + complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
160 + issued : total=r=785996/w=262580/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
161 + latency : target=0, window=0, percentile=100.00%, depth=64
162 +
163 + Run status group 0 (all jobs):
164 + READ: io=3070.4MB, aggrb=5965KB/s, minb=5965KB/s, maxb=5965KB/s, mint=526997msec, maxt=526997msec
165 + WRITE: io=1025.8MB, aggrb=1993KB/s, minb=1993KB/s, maxb=1993KB/s, mint=526997msec, maxt=526997msec
166 +
167 + Disk stats (read/write):
168 + vda: ios=786726/262835, merge=0/311, ticks=33301084/647448, in_queue=33949692, util=100.00%
169 + --- /root (ext4 /dev/vda1) ioping statistics ---
170 + 9 requests completed in 3.24 ms, 36 KiB read, 2.78 k iops, 10.8 MiB/s
171 + generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
172 + min/avg/max/mdev = 262.2 us / 360.2 us / 502.6 us / 67.9 us
173 + ```
174 +
175 + ## SP-32
176 + ```
177 + $ aptitude -y install -o quiet=2 ioping fio > /dev/null; time fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --output=/root/tempfile --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75; rm -f test.*; cat tempfile; ioping -c 10 /root | tail -4
178 + Jobs: 1 (f=1): [m(1)] [99.9% done] [1832KB/752KB/0KB /s] [458/188/0 iops] [eta 00m:01s]
179 + real 23m23.360s
180 + user 0m22.320s
181 + sys 1m23.640s
182 + test: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=64
183 + fio-2.16
184 + Starting 1 process
185 + test: Laying out IO file(s) (1 file(s) / 4096MB)
186 +
187 + test: (groupid=0, jobs=1): err= 0: pid=9274: Fri Mar 2 18:23:54 2018
188 + read : io=3070.4MB, bw=2280.2KB/s, iops=570, runt=1378830msec
189 + write: io=1025.8MB, bw=780029B/s, iops=190, runt=1378830msec
190 + cpu : usr=1.38%, sys=5.61%, ctx=919379, majf=0, minf=7
191 + IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
192 + submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
193 + complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
194 + issued : total=r=785996/w=262580/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
195 + latency : target=0, window=0, percentile=100.00%, depth=64
196 +
197 + Run status group 0 (all jobs):
198 + READ: io=3070.4MB, aggrb=2280KB/s, minb=2280KB/s, maxb=2280KB/s, mint=1378830msec, maxt=1378830msec
199 + WRITE: io=1025.8MB, aggrb=761KB/s, minb=761KB/s, maxb=761KB/s, mint=1378830msec, maxt=1378830msec
200 +
201 + Disk stats (read/write):
202 + md3: ios=785998/264278, merge=0/0, ticks=0/0, in_queue=0, util=0.00%, aggrios=392607/263398, aggrmerge=393/890, aggrticks=36190976/12972448, aggrin_queue=49163146, aggrutil=99.59%
203 + sdb: ios=387164/263428, merge=291/861, ticks=33342296/12943712, in_queue=46286048, util=99.55%
204 + sda: ios=398051/263369, merge=495/920, ticks=39039656/13001184, in_queue=52040244, util=99.59%
205 + --- /root (ext4 /dev/md3) ioping statistics ---
206 + 9 requests completed in 3.60 ms, 36 KiB read, 2.50 k iops, 9.77 MiB/s
207 + generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
208 + min/avg/max/mdev = 395.5 us / 399.8 us / 404.6 us / 2.58 us
209 + ```
Più nuovi Più vecchi