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
cpu test: single thread and multi-threads get the same result #144
Labels
Comments
In addition, I found that, for sysbench 1.0.5, 10000 primes to 100000 primes just get the same result, see below 10000 primes
100000 primes
|
even 1000000 primes
|
2 years lol... this just saved me my lecturer gave this ""sysbench --test=cpu --cpu -max -prime =1000 –num -threads =1 run" seem he misplaced the command, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, I was using sysbench 0.4.12 to do cpu testing, use below command in an 8 vcpu VM
for single thread
# sysbench --test=cpu --num-threads=1 --cpu-max-prime=50000 run
for 8 threads
# sysbench --test=cpu --num-threads=8 --cpu-max-prime=50000 run
and from the
total time:
, I could see that 8 threads is nearly 8 times less than 1 threads, e.g. 2s VS 15s.However, when I upgrade to sysbench 1.0.5, the results for 1 thread and 8 threads are seems the same, e.g. 10.0117s VS 10.0321s
Is this a problem?
The text was updated successfully, but these errors were encountered: