Project

General

Profile

Actions

Feature #13741

closed

want microstates for bhyve vCPUs

Added by Patrick Mooney about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
bhyve
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

In the existing bhyve stats system, there are only two measure of CPU usage: VCPU_TOTAL_RUNTIME and VCPU_IDLE_TICKS. While measurement of the idle "ticks" (read: hrtime nanoseconds) is mostly accurate, the total runtime measurement consists not only of time spent in guest context, but also includes time spent on in-kernel emulation tasks. Considering that we have visibility into how time is being spent for a guest vCPU, it would be nice to have more finely grained accounting. Something akin to CPU microstates, but for a guest vCPU, would probably be appropriate.


Related issues

Related to illumos gate - Bug #13723: expose bhyve metrics as kstatsClosedPatrick Mooney

Actions
Actions

Also available in: Atom PDF