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: http://docs.fedoraproject.org/en-US/Fedora/15/html/Resource_Management_Guide/sec-cpuacct.html cpuacct.usage_percpu reports the CPU time (in nanoseconds) consumed on each CPU by all tasks in this cgroup (including tasks lower in the hierarchy). Roman Bogorodskiy
pgppooiAZ8GBU.pgp
Description: PGP signature
