Ask Your Question

How to create flavor with openstack and specify its VCPU frequency/speed

asked 2015-05-04 13:42:24 -0600

dmcyrille gravatar image

Hello, I wat to create a flavour in openstack and for that flavour, i want to specify its nomber of vcpu and the frequency or speed of that vcpu. Thank you

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-05-05 06:42:48 -0600

SamYaple gravatar image

The number of vcpus is determined by 'flavors'.

The fequency of the vcpu is determined by the hardware and is not configurable when using KVM.

edit flag offensive delete link more


Thank you very much Sam Yaple. I have another question. Indeed, my physical CPU is 2.6GHz, with 4 cores. Is it means that my computer has 4 * 2.6GHz = 10.4 GHz ? Hope to read you best regards.

dmcyrille gravatar imagedmcyrille ( 2015-05-05 07:16:07 -0600 )edit

answered 2015-05-06 05:11:00 -0600

uts9 gravatar image

updated 2015-05-06 05:20:18 -0600

You can set the CPU speed using cpu_limit parameter while creating a flavour. You need to specify the upper limit in MHz . Not sure whether this parameter will work on all hypervisors.

edit flag offensive delete link more



You are talking about cpu_quota and cpu_period in extra_specs. Those should work to limit cpu usage, but it won't actually affect the frequency displayed to the guest.

A useful contribution nonetheless. Thank you!

SamYaple gravatar imageSamYaple ( 2015-05-07 01:43:34 -0600 )edit

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-04 13:42:24 -0600

Seen: 578 times

Last updated: May 06 '15