mysql - sysbench cpu测试的结果看不懂,求解
大家讲道理
大家讲道理 2017-04-17 16:41:37
0
2
486

上图跑的是素数最大值5K, 下图跑的是素数最大值为100W; 但是CPU的运算时间差不多,不明白为什么?

同时不能明白这里罗列的数据都是些什么意思?尤其是events这个名词

求明白的人解答。

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
迷茫

Question: The first question, why is the total time of prime number 5K and prime number 10K both 10s? total time都是10s?
答:在sysbench中的一个参数--time默认值为10,即进行的测试执行时间为10s; 比较的是在相同的时间内,进行的请求数或执行次数的不同来判断系统;


问: eventsAnswer: A parameter --time in sysbench The default value is 10, that is, the test execution time is 10s; what is compared is the difference in the number of requests or execution times within the same period of time to judge the system;


Question: What does events mean?

Answer: The number of requests or executions.

Q: What does the listed data mean?

Answer:

General statistics(综合统计)
    total time:                    10.0004s
    total number of events:        25875
CPU test, the act of calculating prime numbers within 10s was performed a total of 25875 times, and the actual execution time was 10.0004s;

Latency (ms):
         min:                                  0.36
         avg:                                  0.39
         max:                                  16.12
         95th percentile:                      0.44
         sum:                               9884.06
This part of the data should count the actual execution time of the thread, which is 9884.06ms in total. The minimum time of a single execution is 0.36ms, the maximum time is 16.12ms, the average time is 0.39ms, and the execution time of 95% of times is around 0.44ms; 🎜
Threads fairness:
    events (avg/stddev):           43084.0000/0.00
    execution time (avg/stddev):   9.8626/0.00
🎜To summarize, the thread execution time is 9.8626s, and the average number of executions is 43084 times; 🎜
阿神

I don’t understand what you are talking about. Talking to oneself seems interesting

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!