Flashcache » История » Версия 2
Андрей Волков, 2012-06-07 17:38
1 | 1 | Андрей Волков | h1. Flashcache |
---|---|---|---|
2 | |||
3 | 2 | Андрей Волков | *До fashcache* |
4 | 1 | Андрей Волков | <pre> |
5 | monkey ~ # fio -readonly -name iops -rw=randread -bs=4096 -runtime=20 -iodepth 1 -filename /dev/vda -ioengine libaio -direct=1 |
||
6 | iops: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=1 |
||
7 | fio 2.0.7 |
||
8 | Starting 1 process |
||
9 | Jobs: 1 (f=1): [r] [100.0% done] [482K/0K /s] [117 /0 iops] [eta 00m:00s] |
||
10 | iops: (groupid=0, jobs=1): err= 0: pid=2941 |
||
11 | read : io=8892.0KB, bw=455156 B/s, iops=111 , runt= 20005msec |
||
12 | slat (usec): min=8 , max=312 , avg=35.66, stdev=21.26 |
||
13 | clat (usec): min=487 , max=68000 , avg=8957.66, stdev=4331.27 |
||
14 | lat (usec): min=528 , max=68015 , avg=8995.32, stdev=4332.05 |
||
15 | clat percentiles (usec): |
||
16 | | 1.00th=[ 3440], 5.00th=[ 4512], 10.00th=[ 5024], 20.00th=[ 5920], |
||
17 | | 30.00th=[ 6816], 40.00th=[ 7776], 50.00th=[ 8640], 60.00th=[ 9536], |
||
18 | | 70.00th=[10432], 80.00th=[11200], 90.00th=[12096], 95.00th=[12864], |
||
19 | | 99.00th=[27264], 99.50th=[36608], 99.90th=[52992], 99.95th=[60160], |
||
20 | | 99.99th=[68096] |
||
21 | bw (KB/s) : min= 285, max= 503, per=99.99%, avg=443.95, stdev=49.29 |
||
22 | lat (usec) : 500=0.04% |
||
23 | lat (msec) : 2=0.18%, 4=1.62%, 10=64.37%, 20=32.07%, 50=1.57% |
||
24 | lat (msec) : 100=0.13% |
||
25 | cpu : usr=0.11%, sys=0.61%, ctx=2230, majf=0, minf=21 |
||
26 | IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% |
||
27 | submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% |
||
28 | complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% |
||
29 | issued : total=r=2223/w=0/d=0, short=r=0/w=0/d=0 |
||
30 | |||
31 | Run status group 0 (all jobs): |
||
32 | READ: io=8892KB, aggrb=444KB/s, minb=444KB/s, maxb=444KB/s, mint=20005msec, maxt=20005msec |
||
33 | |||
34 | Disk stats (read/write): |
||
35 | vda: ios=2197/2, merge=0/7, ticks=19630/103, in_queue=19728, util=98.76% |
||
36 | 2 | Андрей Волков | |
37 | </pre> |
||
38 | |||
39 | *Холодный кэш* |
||
40 | <pre> |
||
41 | monkey ~ # fio -readonly -name iops -rw=randread -bs=4096 -runtime=20 -iodepth 1 -filename /dev/vda -ioengine libaio -direct=1 |
||
42 | iops: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=1 |
||
43 | fio 2.0.7 |
||
44 | Starting 1 process |
||
45 | Jobs: 1 (f=1): [r] [95.2% done] [452K/0K /s] [110 /0 iops] [eta 00m:01s] |
||
46 | iops: (groupid=0, jobs=1): err= 0: pid=1497 |
||
47 | read : io=8436.0KB, bw=431901 B/s, iops=105 , runt= 20001msec |
||
48 | slat (usec): min=8 , max=70032 , avg=59.42, stdev=1524.52 |
||
49 | clat (usec): min=225 , max=133986 , avg=9419.83, stdev=5905.45 |
||
50 | lat (usec): min=289 , max=134035 , avg=9480.52, stdev=6126.76 |
||
51 | clat percentiles (msec): |
||
52 | | 1.00th=[ 3], 5.00th=[ 5], 10.00th=[ 6], 20.00th=[ 7], |
||
53 | | 30.00th=[ 8], 40.00th=[ 9], 50.00th=[ 9], 60.00th=[ 10], |
||
54 | | 70.00th=[ 11], 80.00th=[ 12], 90.00th=[ 13], 95.00th=[ 14], |
||
55 | | 99.00th=[ 28], 99.50th=[ 43], 99.90th=[ 64], 99.95th=[ 126], |
||
56 | | 99.99th=[ 135] |
||
57 | bw (KB/s) : min= 246, max= 502, per=100.00%, avg=421.10, stdev=63.38 |
||
58 | lat (usec) : 250=0.09%, 500=0.33%, 750=0.05% |
||
59 | lat (msec) : 2=0.05%, 4=1.38%, 10=61.21%, 20=34.90%, 50=1.71% |
||
60 | lat (msec) : 100=0.19%, 250=0.09% |
||
61 | cpu : usr=0.07%, sys=0.76%, ctx=2116, majf=0, minf=21 |
||
62 | IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% |
||
63 | submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% |
||
64 | complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% |
||
65 | issued : total=r=2109/w=0/d=0, short=r=0/w=0/d=0 |
||
66 | |||
67 | Run status group 0 (all jobs): |
||
68 | READ: io=8436KB, aggrb=421KB/s, minb=421KB/s, maxb=421KB/s, mint=20001msec, maxt=20001msec |
||
69 | |||
70 | Disk stats (read/write): |
||
71 | vda: ios=2139/2, merge=1/4, ticks=20365/732, in_queue=21067, util=98.67% |
||
72 | |||
73 | </pre> |
||
74 | |||
75 | *Горячий кэш* |
||
76 | <pre> |
||
77 | monkey ~ # fio -readonly -name iops -rw=randread -bs=4096 -runtime=20 -iodepth 1 -filename /dev/vda -ioengine libaio -direct=1 |
||
78 | iops: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=1 |
||
79 | fio 2.0.7 |
||
80 | Starting 1 process |
||
81 | Jobs: 1 (f=1): [r] [100.0% done] [426K/0K /s] [104 /0 iops] [eta 00m:00s] |
||
82 | iops: (groupid=0, jobs=1): err= 0: pid=1502 |
||
83 | read : io=16912KB, bw=865634 B/s, iops=211 , runt= 20006msec |
||
84 | slat (usec): min=7 , max=163 , avg=19.44, stdev=15.56 |
||
85 | clat (usec): min=172 , max=105321 , avg=4708.36, stdev=5534.23 |
||
86 | lat (usec): min=206 , max=105333 , avg=4728.79, stdev=5540.49 |
||
87 | clat percentiles (usec): |
||
88 | | 1.00th=[ 203], 5.00th=[ 211], 10.00th=[ 221], 20.00th=[ 231], |
||
89 | | 30.00th=[ 241], 40.00th=[ 258], 50.00th=[ 2384], 60.00th=[ 6176], |
||
90 | | 70.00th=[ 7968], 80.00th=[ 9664], 90.00th=[11328], 95.00th=[12352], |
||
91 | | 99.00th=[18816], 99.50th=[25216], 99.90th=[51968], 99.95th=[57088], |
||
92 | | 99.99th=[104960] |
||
93 | bw (KB/s) : min= 302, max=13928, per=100.00%, avg=854.87, stdev=2191.98 |
||
94 | lat (usec) : 250=34.08%, 500=15.80% |
||
95 | lat (msec) : 2=0.05%, 4=0.76%, 10=31.86%, 20=16.60%, 50=0.73% |
||
96 | lat (msec) : 100=0.09%, 250=0.02% |
||
97 | cpu : usr=0.18%, sys=0.66%, ctx=4238, majf=0, minf=21 |
||
98 | IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0% |
||
99 | submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% |
||
100 | complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% |
||
101 | issued : total=r=4228/w=0/d=0, short=r=0/w=0/d=0 |
||
102 | |||
103 | Run status group 0 (all jobs): |
||
104 | READ: io=16912KB, aggrb=845KB/s, minb=845KB/s, maxb=845KB/s, mint=20006msec, maxt=20006msec |
||
105 | |||
106 | Disk stats (read/write): |
||
107 | vda: ios=4205/2, merge=0/7, ticks=19509/68, in_queue=19577, util=98.09% |
||
108 | 1 | Андрей Волков | |
109 | </pre> |