(Created page with "[ 1.967582] ata3.00: ATA-11: KINGSTON SUV400S37120G, 0C3J96R9, max UDMA/133 make-bcache -C /dev/sdb -B /dev/sda5 --discard --writeback mkfs.ext4 /dev/bcache0 $ fio-wra...") |
No edit summary |
||
Line 78: | Line 78: | ||
write 64 128K 65.756 120.562 0.471 3291.100 542.52 526 82 8 1 0 1 0 0 1 3 | write 64 128K 65.756 120.562 0.471 3291.100 542.52 526 82 8 1 0 1 0 0 1 3 | ||
write 64 1M 109.186 484.480 3.000 2904.000 725.32 109 2 56 3 3 0 8 21 4 | write 64 1M 109.186 484.480 3.000 2904.000 725.32 109 2 56 3 3 0 8 21 4 | ||
</pre> | |||
Tryout writethrough ; | |||
echo writethrough > /sys/block/sda/sda5/bcache/cache_mode | |||
<pre> | |||
test users size MB/s lat(ms) min max std IO/s 50us 1ms 4ms 10ms 20ms 50ms .1s 1s 2s 2s+ | |||
randread 1 4K 0.756 5.148 0.199 357.571 7.92 193 33 13 36 16 0 0 0 | |||
randread 1 8K 19.548 0.394 0.199 1.930 0.09 2502 99 0 | |||
randread 8 4K 12.739 2.447 0.131 686.669 10.30 3261 89 2 2 2 2 0 0 | |||
randread 8 8K 94.604 0.630 0.223 2.956 0.17 12109 98 1 | |||
randread 16 4K 98.027 0.598 0.160 17.493 0.20 25095 97 2 0 0 | |||
randread 16 8K 140.120 0.868 0.205 12.509 0.73 17935 86 13 0 | |||
randread 32 4K 143.297 0.829 0.172 5.883 0.25 36684 81 18 0 | |||
randread 32 8K 153.846 1.540 0.219 182.382 3.31 19692 23 74 1 0 0 0 0 | |||
randread 64 4K 143.779 1.515 0.170 2772.200 15.47 36807 47 50 1 0 0 0 0 0 0 | |||
randread 64 8K 160.338 2.795 0.218 1519.800 18.29 20523 23 72 1 0 0 0 0 0 | |||
randrw 1 4K 0.237 12.514 0.170 253.867 23.24 60 64 2 8 14 6 1 1 | |||
randrw 1 8K 0.641 6.571 0.198 622.377 32.55 82 80 6 2 5 1 1 1 | |||
randrw 8 4K 0.334 54.250 0.232 624.846 87.69 85 20 8 4 13 32 5 14 | |||
randrw 8 8K 1.237 30.027 0.238 1448.500 92.34 158 20 24 20 15 10 1 7 0 | |||
randrw 16 4K 0.314 114.580 2.000 1014.000 133.42 80 19 2 1 4 24 12 33 0 | |||
randrw 16 8K 1.088 72.282 0.811 1168.700 126.21 139 15 7 19 15 16 3 22 0 | |||
randrw 32 4K 0.494 152.090 13.000 1349.000 149.99 126 18 2 0 0 12 24 40 0 | |||
randrw 32 8K 1.197 127.720 7.000 3865.000 321.41 153 15 5 1 12 26 6 31 0 | |||
randrw 64 4K 0.339 451.932 0.298 1786.800 357.28 86 19 3 0 0 0 3 65 8 | |||
randrw 64 8K 1.302 226.778 0.301 2062.600 261.88 166 15 4 0 1 7 15 51 2 0 | |||
read 1 4K 20.407 0.188 0.057 1.930 0.07 5224 99 0 | |||
read 1 8K 21.052 0.367 0.077 7.552 0.31 2694 99 0 0 | |||
read 1 32K 44.880 0.694 0.306 1.021 0.21 1436 99 0 | |||
read 1 128K 84.210 1.480 0.799 2.228 0.41 673 24 75 | |||
read 1 1M 145.454 6.860 2.000 9.000 1.79 145 12 87 | |||
read 8 4K 59.938 0.490 0.154 4.888 0.15 15344 99 0 0 | |||
read 8 8K 97.858 0.618 0.210 2.286 0.17 12525 98 1 | |||
read 8 32K 90.684 2.600 0.319 213.963 6.75 2901 18 75 2 1 0 0 0 | |||
read 8 128K 84.100 11.500 1.000 158.000 13.05 672 23 45 15 13 1 0 | |||
read 8 1M 85.077 91.580 4.000 291.000 53.49 85 6 8 9 27 48 | |||
read 16 4K 89.636 0.670 0.171 5.930 0.26 22946 90 9 0 | |||
read 16 8K 130.279 0.947 0.256 5.552 0.31 16675 68 31 0 | |||
read 16 32K 92.922 4.985 0.414 421.633 14.74 2973 2 80 10 1 2 2 0 | |||
read 16 128K 83.537 22.970 1.000 497.000 30.59 668 7 18 32 36 2 2 | |||
read 16 1M 84.768 184.680 4.000 511.000 96.61 84 6 2 8 6 77 | |||
read 32 4K 108.039 1.141 0.193 12.653 0.79 27658 53 46 0 0 | |||
read 32 8K 130.912 1.794 0.204 622.707 4.90 16756 21 76 1 0 0 0 0 | |||
read 32 32K 92.103 10.379 0.391 790.006 30.01 2947 1 66 9 9 10 1 1 | |||
read 32 128K 85.834 44.910 0.966 955.647 53.03 686 0 6 7 10 50 21 3 | |||
read 32 1M 84.183 369.060 4.000 1250.000 199.13 84 3 1 2 10 80 0 | |||
read 64 4K 139.699 1.630 0.156 1854.400 9.34 35763 42 55 0 0 0 0 0 0 | |||
read 64 8K 146.139 3.089 0.231 1563.500 18.23 18705 21 73 1 1 1 0 0 0 | |||
read 64 32K 98.093 20.362 0.389 2168.300 49.96 3138 1 59 12 2 5 16 1 0 0 | |||
read 64 128K 96.765 82.460 0.982 1547.200 71.13 774 0 6 8 11 3 49 20 0 | |||
read 64 1M 92.909 681.250 4.000 2734.000 445.42 92 8 1 1 2 62 23 0 | |||
write 1 4K 28.571 0.128 0.099 3.514 0.19 7314 99 0 | |||
write 1 8K 32.421 0.208 0.096 103.354 2.04 4149 98 1 0 0 0 | |||
write 1 32K 36.280 0.795 0.205 94.869 4.58 1160 97 0 0 1 0 | |||
write 1 128K 52.373 1.786 0.648 108.005 7.03 418 84 13 0 0 0 | |||
write 1 1M 59.925 14.370 4.000 113.000 19.71 59 84 3 9 3 | |||
write 8 4K 5.041 5.962 0.084 1538.400 44.91 1290 92 2 0 0 1 0 1 0 | |||
write 8 8K 11.636 5.164 0.098 1234.800 32.04 1489 92 1 0 0 2 2 1 0 | |||
write 8 32K 47.224 4.384 0.197 334.239 28.04 1511 93 2 0 0 0 0 1 | |||
write 8 128K 35.039 24.616 0.625 632.037 85.76 280 81 6 0 1 1 1 7 | |||
write 8 1M 55.184 117.460 4.000 738.000 159.79 55 31 1 16 17 33 | |||
write 16 4K 4.071 15.085 0.085 2988.100 122.95 1042 92 2 0 1 0 0 1 0 0 | |||
write 16 8K 9.379 13.102 0.100 1658.200 75.93 1200 92 2 0 0 0 0 3 0 | |||
write 16 32K 32.220 14.471 0.201 961.272 73.28 1031 92 1 0 0 0 0 4 | |||
write 16 128K 47.411 36.587 0.622 947.516 127.20 379 81 6 0 1 1 0 8 | |||
write 16 1M 60.186 200.500 4.000 1304.000 327.39 60 51 2 11 1 28 3 | |||
write 32 4K 5.261 23.166 0.086 3630.400 197.39 1346 95 2 0 0 0 0 0 0 0 | |||
write 32 8K 6.903 34.468 0.100 2866.800 209.28 883 92 2 0 0 0 0 2 1 0 | |||
write 32 32K 26.290 36.165 0.205 2060.300 196.00 841 90 3 0 0 0 0 3 1 0 | |||
write 32 128K 33.069 115.741 0.603 2235.200 303.03 264 68 9 1 0 0 0 15 3 0 | |||
write 32 1M 53.564 522.670 4.000 2420.000 728.29 53 48 2 9 1 8 26 3 | |||
write 64 4K 4.563 48.686 0.081 6923.600 418.74 1168 94 2 0 0 0 0 0 0 0 | |||
write 64 8K 7.118 63.971 0.100 6005.100 459.71 911 93 2 0 0 0 0 0 0 1 | |||
write 64 32K 36.512 51.309 0.204 2701.300 275.85 1168 91 3 0 0 0 0 0 2 0 | |||
write 64 128K 43.312 176.175 0.597 4326.700 657.53 346 76 11 1 0 1 0 0 2 4 | |||
write 64 1M 55.367 1012.500 4.000 4345.000 1519.36 55 52 2 9 1 3 2 28 | |||
</pre> | </pre> |
Latest revision as of 01:40, 4 March 2017
[ 1.967582] ata3.00: ATA-11: KINGSTON SUV400S37120G, 0C3J96R9, max UDMA/133
make-bcache -C /dev/sdb -B /dev/sda5 --discard --writeback mkfs.ext4 /dev/bcache0
$ fio-wrapper
test users size MB/s lat(ms) min max std IO/s 50us 1ms 4ms 10ms 20ms 50ms .1s 1s 2s 2s+ randread 1 4K 0.668 5.807 0.169 333.315 7.70 171 21 18 41 19 0 0 0 randread 1 8K 20.685 0.374 0.188 0.646 0.07 2647 100 randread 8 4K 5.434 5.738 0.129 309.444 15.16 1391 76 2 5 6 7 2 0 randread 8 8K 99.109 0.591 0.218 1.680 0.15 12686 99 0 randread 16 4K 91.103 0.642 0.130 157.470 2.37 23322 97 2 0 0 0 0 0 randread 16 8K 161.564 0.754 0.262 4.190 0.19 20680 93 6 0 randread 32 4K 165.856 0.720 0.158 9.443 0.21 42459 92 7 0 randread 32 8K 170.524 1.360 0.202 698.621 4.20 21827 50 47 0 0 0 0 0 randread 64 4K 173.397 1.312 0.146 179.394 2.20 44389 55 41 1 0 0 0 0 randread 64 8K 177.577 2.505 0.216 1507.100 17.17 22729 49 46 0 0 0 0 0 0 randrw 1 4K 0.486 7.361 0.170 156.999 10.64 124 61 7 18 9 1 0 0 randrw 1 8K 5.932 0.763 0.172 232.115 6.60 759 94 4 0 0 0 0 randrw 8 4K 1.760 10.820 0.193 140.872 13.29 450 25 21 17 23 10 1 0 randrw 8 8K 8.080 4.186 0.196 481.984 14.77 1034 28 57 11 2 0 0 0 randrw 16 4K 2.532 15.457 0.198 1098.100 51.57 648 23 24 27 16 4 0 2 0 randrw 16 8K 13.766 5.781 0.226 124.912 4.54 1762 22 25 46 5 0 0 0 randrw 32 4K 1.807 43.070 3.000 410.000 70.54 462 23 0 32 22 5 2 13 randrw 32 8K 13.477 12.200 1.000 496.000 18.37 1725 24 0 36 36 2 0 0 randrw 64 4K 3.721 42.943 0.371 1973.700 121.99 952 23 0 0 33 34 2 5 0 randrw 64 8K 10.483 31.560 10.000 1168.000 77.50 1341 23 0 0 26 46 2 0 0 read 1 4K 22.614 0.169 0.057 0.435 0.04 5789 100 read 1 8K 20.407 0.378 0.077 1.736 0.11 2612 99 0 read 1 32K 42.780 0.726 0.306 1.043 0.16 1368 99 0 read 1 128K 89.136 1.396 0.586 2.020 0.32 713 12 87 read 1 1M 138.527 7.190 2.000 10.000 1.95 138 12 78 9 read 8 4K 62.515 0.471 0.148 3.361 0.14 16003 99 0 read 8 8K 103.184 0.576 0.181 1.589 0.15 13207 99 0 read 8 32K 87.730 2.614 0.401 143.435 7.43 2807 14 79 3 1 0 0 0 read 8 128K 81.580 11.971 0.817 133.877 13.36 652 0 17 51 16 11 2 0 read 8 1M 80.301 96.880 3.000 249.000 39.93 80 0 0 4 9 31 53 read 16 4K 113.500 0.507 0.147 5.810 0.13 29056 99 0 0 read 16 8K 154.636 0.781 0.191 2.643 0.20 19793 87 12 read 16 32K 86.545 5.406 0.467 446.092 15.19 2769 3 75 13 1 2 2 0 read 16 128K 76.842 25.377 0.799 397.548 28.94 614 0 1 14 33 45 2 2 read 16 1M 81.282 190.780 3.000 626.000 80.93 81 0 0 0 11 2 84 read 32 4K 164.103 0.727 0.164 39.613 0.29 42010 92 7 0 0 0 read 32 8K 148.643 1.507 0.201 798.318 6.61 19026 46 51 1 0 0 0 0 read 32 32K 86.035 11.155 0.426 660.758 28.44 2753 1 60 11 11 12 1 1 read 32 128K 80.433 47.921 0.820 1382.200 51.76 643 0 0 5 8 61 19 3 0 read 32 1M 81.076 382.880 3.000 945.000 158.90 81 0 0 0 4 5 88 read 64 4K 169.521 1.368 0.157 1044.800 3.77 43397 56 40 1 0 0 0 0 0 read 64 8K 162.114 2.716 0.202 1523.900 20.03 20750 46 48 1 1 1 0 0 0 read 64 32K 91.668 21.792 0.307 2934.600 50.31 2933 1 60 8 2 3 22 1 0 0 read 64 128K 86.144 92.655 0.824 1003.300 65.01 689 0 1 6 7 2 60 21 0 read 64 1M 85.638 739.750 3.000 2024.000 330.39 85 0 0 0 1 2 77 17 0 write 1 4K 30.446 0.124 0.064 10.201 0.35 7794 98 1 0 0 write 1 8K 25.316 0.288 0.103 130.457 3.47 3240 99 0 0 0 0 write 1 32K 52.979 0.499 0.175 64.421 2.98 1695 99 0 0 0 write 1 128K 59.040 1.820 0.516 100.316 6.92 472 89 8 0 0 0 write 1 1M 56.238 14.920 4.000 107.000 18.53 56 78 6 12 3 write 8 4K 22.054 1.287 0.065 127.871 8.35 5645 95 2 0 0 1 0 0 write 8 8K 34.707 1.441 0.074 288.215 9.90 4442 94 2 0 0 1 0 0 write 8 32K 45.600 4.708 0.187 399.924 26.16 1459 95 0 0 0 0 1 1 write 8 128K 56.042 15.127 0.542 368.501 56.10 448 85 5 0 1 1 1 5 write 8 1M 153.018 42.450 3.000 317.000 53.98 153 1 25 1 55 10 5 write 16 4K 20.227 2.904 0.060 782.684 15.13 5178 89 2 0 2 4 0 0 write 16 8K 22.972 4.832 0.081 887.560 27.85 2940 93 1 0 0 1 1 1 write 16 32K 69.188 6.384 0.158 472.211 34.79 2214 91 3 0 0 1 0 2 write 16 128K 77.458 23.405 0.492 835.556 106.08 619 76 15 1 0 0 0 4 write 16 1M 63.776 204.560 3.000 960.000 308.24 63 0 52 3 13 1 30 write 32 4K 21.705 5.740 0.062 1228.300 41.82 5556 95 2 0 0 0 0 1 0 write 32 8K 29.369 8.490 0.075 2329.800 72.66 3759 94 2 0 0 0 0 2 0 0 write 32 32K 67.160 12.800 0.151 1434.400 71.03 2149 88 5 0 0 1 0 3 0 write 32 128K 83.673 37.042 0.479 1131.700 129.53 669 64 17 3 2 1 0 9 0 write 32 1M 84.100 262.000 3.000 3074.000 476.69 84 2 52 2 3 0 36 2 write 64 4K 21.272 11.693 0.059 1888.400 97.04 5445 96 2 0 0 0 0 1 0 write 64 8K 35.676 13.936 0.079 1634.900 88.44 4566 94 3 0 0 0 0 2 0 write 64 32K 54.699 35.694 0.160 2566.900 212.01 1750 93 3 0 0 0 0 1 1 0 write 64 128K 65.756 120.562 0.471 3291.100 542.52 526 82 8 1 0 1 0 0 1 3 write 64 1M 109.186 484.480 3.000 2904.000 725.32 109 2 56 3 3 0 8 21 4
Tryout writethrough ;
echo writethrough > /sys/block/sda/sda5/bcache/cache_mode
test users size MB/s lat(ms) min max std IO/s 50us 1ms 4ms 10ms 20ms 50ms .1s 1s 2s 2s+ randread 1 4K 0.756 5.148 0.199 357.571 7.92 193 33 13 36 16 0 0 0 randread 1 8K 19.548 0.394 0.199 1.930 0.09 2502 99 0 randread 8 4K 12.739 2.447 0.131 686.669 10.30 3261 89 2 2 2 2 0 0 randread 8 8K 94.604 0.630 0.223 2.956 0.17 12109 98 1 randread 16 4K 98.027 0.598 0.160 17.493 0.20 25095 97 2 0 0 randread 16 8K 140.120 0.868 0.205 12.509 0.73 17935 86 13 0 randread 32 4K 143.297 0.829 0.172 5.883 0.25 36684 81 18 0 randread 32 8K 153.846 1.540 0.219 182.382 3.31 19692 23 74 1 0 0 0 0 randread 64 4K 143.779 1.515 0.170 2772.200 15.47 36807 47 50 1 0 0 0 0 0 0 randread 64 8K 160.338 2.795 0.218 1519.800 18.29 20523 23 72 1 0 0 0 0 0 randrw 1 4K 0.237 12.514 0.170 253.867 23.24 60 64 2 8 14 6 1 1 randrw 1 8K 0.641 6.571 0.198 622.377 32.55 82 80 6 2 5 1 1 1 randrw 8 4K 0.334 54.250 0.232 624.846 87.69 85 20 8 4 13 32 5 14 randrw 8 8K 1.237 30.027 0.238 1448.500 92.34 158 20 24 20 15 10 1 7 0 randrw 16 4K 0.314 114.580 2.000 1014.000 133.42 80 19 2 1 4 24 12 33 0 randrw 16 8K 1.088 72.282 0.811 1168.700 126.21 139 15 7 19 15 16 3 22 0 randrw 32 4K 0.494 152.090 13.000 1349.000 149.99 126 18 2 0 0 12 24 40 0 randrw 32 8K 1.197 127.720 7.000 3865.000 321.41 153 15 5 1 12 26 6 31 0 randrw 64 4K 0.339 451.932 0.298 1786.800 357.28 86 19 3 0 0 0 3 65 8 randrw 64 8K 1.302 226.778 0.301 2062.600 261.88 166 15 4 0 1 7 15 51 2 0 read 1 4K 20.407 0.188 0.057 1.930 0.07 5224 99 0 read 1 8K 21.052 0.367 0.077 7.552 0.31 2694 99 0 0 read 1 32K 44.880 0.694 0.306 1.021 0.21 1436 99 0 read 1 128K 84.210 1.480 0.799 2.228 0.41 673 24 75 read 1 1M 145.454 6.860 2.000 9.000 1.79 145 12 87 read 8 4K 59.938 0.490 0.154 4.888 0.15 15344 99 0 0 read 8 8K 97.858 0.618 0.210 2.286 0.17 12525 98 1 read 8 32K 90.684 2.600 0.319 213.963 6.75 2901 18 75 2 1 0 0 0 read 8 128K 84.100 11.500 1.000 158.000 13.05 672 23 45 15 13 1 0 read 8 1M 85.077 91.580 4.000 291.000 53.49 85 6 8 9 27 48 read 16 4K 89.636 0.670 0.171 5.930 0.26 22946 90 9 0 read 16 8K 130.279 0.947 0.256 5.552 0.31 16675 68 31 0 read 16 32K 92.922 4.985 0.414 421.633 14.74 2973 2 80 10 1 2 2 0 read 16 128K 83.537 22.970 1.000 497.000 30.59 668 7 18 32 36 2 2 read 16 1M 84.768 184.680 4.000 511.000 96.61 84 6 2 8 6 77 read 32 4K 108.039 1.141 0.193 12.653 0.79 27658 53 46 0 0 read 32 8K 130.912 1.794 0.204 622.707 4.90 16756 21 76 1 0 0 0 0 read 32 32K 92.103 10.379 0.391 790.006 30.01 2947 1 66 9 9 10 1 1 read 32 128K 85.834 44.910 0.966 955.647 53.03 686 0 6 7 10 50 21 3 read 32 1M 84.183 369.060 4.000 1250.000 199.13 84 3 1 2 10 80 0 read 64 4K 139.699 1.630 0.156 1854.400 9.34 35763 42 55 0 0 0 0 0 0 read 64 8K 146.139 3.089 0.231 1563.500 18.23 18705 21 73 1 1 1 0 0 0 read 64 32K 98.093 20.362 0.389 2168.300 49.96 3138 1 59 12 2 5 16 1 0 0 read 64 128K 96.765 82.460 0.982 1547.200 71.13 774 0 6 8 11 3 49 20 0 read 64 1M 92.909 681.250 4.000 2734.000 445.42 92 8 1 1 2 62 23 0 write 1 4K 28.571 0.128 0.099 3.514 0.19 7314 99 0 write 1 8K 32.421 0.208 0.096 103.354 2.04 4149 98 1 0 0 0 write 1 32K 36.280 0.795 0.205 94.869 4.58 1160 97 0 0 1 0 write 1 128K 52.373 1.786 0.648 108.005 7.03 418 84 13 0 0 0 write 1 1M 59.925 14.370 4.000 113.000 19.71 59 84 3 9 3 write 8 4K 5.041 5.962 0.084 1538.400 44.91 1290 92 2 0 0 1 0 1 0 write 8 8K 11.636 5.164 0.098 1234.800 32.04 1489 92 1 0 0 2 2 1 0 write 8 32K 47.224 4.384 0.197 334.239 28.04 1511 93 2 0 0 0 0 1 write 8 128K 35.039 24.616 0.625 632.037 85.76 280 81 6 0 1 1 1 7 write 8 1M 55.184 117.460 4.000 738.000 159.79 55 31 1 16 17 33 write 16 4K 4.071 15.085 0.085 2988.100 122.95 1042 92 2 0 1 0 0 1 0 0 write 16 8K 9.379 13.102 0.100 1658.200 75.93 1200 92 2 0 0 0 0 3 0 write 16 32K 32.220 14.471 0.201 961.272 73.28 1031 92 1 0 0 0 0 4 write 16 128K 47.411 36.587 0.622 947.516 127.20 379 81 6 0 1 1 0 8 write 16 1M 60.186 200.500 4.000 1304.000 327.39 60 51 2 11 1 28 3 write 32 4K 5.261 23.166 0.086 3630.400 197.39 1346 95 2 0 0 0 0 0 0 0 write 32 8K 6.903 34.468 0.100 2866.800 209.28 883 92 2 0 0 0 0 2 1 0 write 32 32K 26.290 36.165 0.205 2060.300 196.00 841 90 3 0 0 0 0 3 1 0 write 32 128K 33.069 115.741 0.603 2235.200 303.03 264 68 9 1 0 0 0 15 3 0 write 32 1M 53.564 522.670 4.000 2420.000 728.29 53 48 2 9 1 8 26 3 write 64 4K 4.563 48.686 0.081 6923.600 418.74 1168 94 2 0 0 0 0 0 0 0 write 64 8K 7.118 63.971 0.100 6005.100 459.71 911 93 2 0 0 0 0 0 0 1 write 64 32K 36.512 51.309 0.204 2701.300 275.85 1168 91 3 0 0 0 0 0 2 0 write 64 128K 43.312 176.175 0.597 4326.700 657.53 346 76 11 1 0 1 0 0 2 4 write 64 1M 55.367 1012.500 4.000 4345.000 1519.36 55 52 2 9 1 3 2 28