Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about "Threads fairness" #231

Closed
steffi0202 opened this issue May 14, 2018 · 1 comment
Closed

Question about "Threads fairness" #231

steffi0202 opened this issue May 14, 2018 · 1 comment
Labels

Comments

@steffi0202
Copy link

Hi everybody,

i did a cpu test with sysbench --test=cpu --cpu-max-prime=100000 --num-threads=12 run and i know, that i should only compare the "total time" but i'm also wondering what the result under Threads fairness: mean.

For Example my two tests. One on a hardware machine and one on a virtual machine:

VM:

General

statistics:

total time: 34.4150s
total number of events: 10000
total time taken by event execution: 412.6643s
response time:
min: 37.56ms
avg: 41.27ms
max: 136.04ms
approx. 95 percentile: 46.81ms
 
Threads fairness:
events (avg/stddev): 833.3333/23.57
execution time (avg/stddev): 34.3887/0.01

Hardware:

Test execution summary:

total time: 18.3264s
total number of events: 10000
total time taken by event execution: 219.7879
per-request statistics:
min: 21.65ms
avg: 21.98ms
max: 34.45ms
approx. 95 percentile: 22.04ms
 
Threads fairness:
events (avg/stddev): 833.3333/1.31
execution time (avg/stddev): 18.3157/0.01

The result events (avg/stddev): is 20 times higher. What does that mean?

@akopytov
Copy link
Owner

"Threads fairness" was an unfortunate wording for "Event distribution by threads". I.e. it shows average numbers of executed events by thread, their total execution time by thread, and standard deviation for the same values. You can also run with the --debug option to see the actual values per thread in addition to their aggregate values.

I'll try to fix the wording in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants