Understanding CPU and memory usage in Bhyve

Roman Bogorodskiy novel at FreeBSD.org
Sun Apr 27 10:55:48 UTC 2014

  Peter Grehan wrote:

> Hi Roman,
> > But the summary is: is there a way to figure out how much CPU time
> > bhyve and the guest spends on host CPUs N (N = 0, 1, ...)?
>   I don't think FreeBSD records that for a process, and bhyve doesn't 
> record the guest vCPU time on individual host CPUs (it's an aggregate 
> over all CPUs).
>   Do you know if Linux supports that ?

As far as I understand, Linux supports that through Cgroups,
specifically, quoting:


reports the CPU time (in nanoseconds) consumed on each CPU by all tasks
in this cgroup (including tasks lower in the hierarchy). 

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20140427/62437c2c/attachment.sig>

More information about the freebsd-virtualization mailing list