Ask Your Question
2

How to define vCPU=2.0 GHz?

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

Steve gravatar image

Hi,

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
1

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

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 http://docs.openstack.org/juno/config...

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

1 follower

Stats

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

Seen: 224 times

Last updated: Nov 25 '14