sysbench 0.5 ????????????????
???????????? ???????[ 2013/9/30 16:20:31 ] ????????
????1. sysbench ????
????sysbench???????黯?????????????????????????????????????????????????? ?μ????????????????????????????????????http://sysbench.sourceforge.net??
????????????????????????????
????cpu????
????????io????
???????????????
?????????估???????
????POSIX???????
?????????????(OLTP???????)
??????sysbench??????MySQL??Pgsql??Oracle??3???????
????2. ???sysbench
????????Debain????????????????????
????sudo apt-get install sysbench
?????????????????????????????
????????????http://sysbench.sourceforge.net/
????????????http://sourceforge.net/projects/sysbench
????????????http://sysbench.sourceforge.net/docs
????3. ???????
????3.1 CPU???????
????????????????????CPU???????64λ????????????????????????????????????
????sysbench --test=cpu --cpu-max-prime=20000 run
??????????£?
Maximum prime number checked in CPU test: 200000
Test execution summary:
total time: 286.5703s
total number of events: 10000
total time taken by event execution: 285197.4463
per-request statistics:
min: 109.67ms
avg: 28519.74ms
max: 36760.02ms
approx. 95 percentile: 31751.56ms
Threads fairness:
events (avg/stddev): 9.7656/0.81
execution time (avg/stddev): 278.5131/6.05
|
?????????????????????????(total time)???ɡ?
????CPU?????????????????????????????????????????????????????cpu processor??????????????????????????????????????????????????????????????
????sysbench --test=cpu --num-threads=`grep "processor" /proc/cpuinfo | wc -l`
????--cpu-max-prime=200000 run
??????
???·???
??????????????????
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