Ask Your Question

How can I make VCPU use full power of phsical CPU?

asked 2015-05-19 20:53:07 -0500

zapp.prefect gravatar image

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


Then I create a instance with 8 VCPUs and 8G 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 costs 2s in the instance, and it use all of 8 CPUs, I can see it in top, I mean all of 8 phsical CPU.

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

And what's more, I have tried in OpenNebula, same hardware, same cmd, and it cost 1.6s in instance.

What Magic behinds this? Could anybody tell me why?

edit retag flag offensive close merge delete

1 answer

Sort by ┬╗ oldest newest most voted

answered 2015-05-28 01:24:32 -0500

zapp.prefect gravatar image

Does anyone konw how to fix it?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-05-19 20:53:07 -0500

Seen: 298 times

Last updated: May 28 '15