Docker??IO??MariaDB?????????
????????2015 ???????[ 2016/9/28 10:50:19 ] ????????Docker ???????
???????????????????????????????????????????????ò??????????£?????????????
???????????
???????Docker??IO??MariaDB?????????
???????????????????ж??
????Docker version 1.12.1
????????????CentOS7.2
??????棺32G
????CPU??Intel(R) Xeon(R) CPU E5-2603 v3 @ 1.60GHz 1??6??
????1??Docker?д???IO?????????
????sysbench --test=fileio --file-num=16 --file-block-size=16384 --file-total-size=2G --num-threads=4 --file-test-mode=rndrd --max-requests=100000000 --max-time=180 --file-extra-flags=direct prepare
????sysbench --test=fileio --file-num=16 --file-block-size=16384 --file-total-size=2G --num-threads=4 --file-test-mode=rndrd --max-requests=100000000 --max-time=180 --file-extra-flags=direct run
????#??????????д-?????file-test-mode????seqwr ???д ??seqrewr ??????д ??seqrd ?????? ??rndrd ?????? ??rndwr ???д ??rndrw ????????/д
????sysbench --test=fileio --file-num=16 --file-block-size=16384 --file-total-size=2G --num-threads=4 --file-test-mode=rndrd --max-requests=100000000 --max-time=180 --file-extra-flags=direct cleanup
?????????????д?????????????????????????????????????á?
??????????????????Docker????????????????????????????????????
????2??Docker??MariaDB?????????
????????????docker?????????mariaDB????????
?????????????docker?????е??????????????????????????????Χ???
?????????????-???????????????memory??cpu???????????native???????docker???????????????????????????????????????????
sysbench --test=memory --num-threads=16 --memory-block-size=8192 --memory-total-size=8G run
sysbench --test=cpu --cpu-max-prime=20000 run
#native
sysbench 0.5: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Random number generator seed is 0 and will be ignored
Prime numbers limit: 20000
Initializing worker threads...
Threads started!
General statistics:
total time: 56.4280s
total number of events: 10000
total time taken by event execution: 56.4238s
response time:
min: 5.46ms
avg: 5.64ms
max: 7.52ms
approx. 95 percentile: 5.65ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 56.4238/0.00
#docker
sysbench 0.5: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Random number generator seed is 0 and will be ignored
Prime numbers limit: 20000
Initializing worker threads...
Threads started!
General statistics:
total time: 56.0816s
total number of events: 10000
total time taken by event execution: 56.0777s
response time:
min: 5.60ms
avg: 5.61ms
max: 7.52ms
approx. 95 percentile: 5.61ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 56.0777/0.00
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11