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 sysbenchThe 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;
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; 🎜
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; 比较的是在相同的时间内,进行的请求数或执行次数的不同来判断系统;问:
events
Answer: A parameter--time in
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;sysbench
Question: What does
events
mean?Answer: The number of requests or executions.
Q: What does the listed data mean?
Answer:I don’t understand what you are talking about. Talking to oneself seems interesting