Ask Your Question

How to define vCPU=2.0 GHz?

asked 2014-11-25 12:47:52 -0500

Steve gravatar image


My physical CPU is 3.7GHz, 4 cores. How to define each vCPU=2.0Ghz?

Thanks, Steve

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-25 13:31:48 -0500

echiu gravatar image

This setting is defined at the hypervisor level, typically in the configuration file for nova.

For example, using KVM the default hypervisor the Compute service enables you to control the guest CPU model that is exposed to KVM virtual machines.

In libvirt, the CPU is specified by providing a base CPU model name (which is a shorthand for a set of feature flags), a set of additional feature flags, and the topology (sockets/cores/threads). The libvirt KVM driver provides a number of standard CPU model names. These models are defined in the /usr/share/libvirt/cpu_map.xml file. Check this file to determine which models are supported by your local installation.

For more details, see

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-11-25 12:47:52 -0500

Seen: 309 times

Last updated: Nov 25 '14