Ask Your Question
0

how to identify the vcpus used by Compute hypervisor

asked 2018-05-05 08:37:21 -0500

kevinmelb gravatar image

Dear mate,

As I know, one Compute consists of many vCPUs. Some vcpus are used hypervisor and others are used by VNFs/VMs. Could someone guide me on which command can identify the vcpus used by Compute hypervisor?

thanks Kevin

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-05-24 10:35:58 -0500

Stephen C gravatar image

I think you misunderstand the term VCPU.

Under normal circumstances1, a compute node has physical CPUs or cores, and the hypervisor runs on physical cores.

But the hypervisor doesn't run on specific physical cores. Rather, it runs on different cores at different times as required. To a significant degree, this is controlled by the host operating system's schedule.

Since the hypervisor doesn't use VCPUs, the command you are asking for does not (and cannot) exist.

VCPUs actually represent cores from the perspective of the guest operating system running on a VM that 8s managed by the hypervisor.


1 - The exception to this would be if you are running multiple levels of hypervisors; e.g. if a you are running a virtual compute node inside a VM.

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: 2018-05-05 08:37:21 -0500

Seen: 41 times

Last updated: May 05 '18