Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to change cpu_allocation_ratio

Hi, I've installed a multi-node Openstack deployment. At install time I configured the cpu_allocation_ratio=1.0, which has been applied to all hypervisors.

I would now like to change that ratio on one of my hyper-visors. I updated the settings in the nova.conf on the compute node and restarted the service but it hasn't taken affect. i.e the machine has 24 Cores. When I change cpu_allocation_ratio to 4.0 and restart I see the following in the compute.log

14-02-12 11:49:12.756 26381 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 47742 2014-02-12 11:49:12.756 26381 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 231 2014-02-12 11:49:12.756 26381 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 24

Do I need to configure something else, or restart another service ?

Thanks