Why it slow than physical CPU? [closed]

asked 2015-05-19 20:35:02 -0500

zapp.prefect gravatar image

I configs /etc/nova/nova.conf like this:


Then I create a instance with 8 VCPUs and 8 G Memory .

To test the CPU , I use sysbench, here is how I test:

sysbench --test=cpu --cpu-max-prime=10000 --num-threads=8 run

it cost 2s in the instance.

but at the compute node in which the instance running, same cmd , it only cost 1.5s .

I do not know why, and what's more, I have tried in OpenNebula, same hardware, same cmd, and it cost 1.6s in instance.

could anybody tell me why?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by jdexter
close date 2015-05-20 18:19:16.404967