Created attachment 184310 [details]
I have a process that uses 100% CPU, pinned to one CPU, according to top(1).
kern.cp_times, however, shows that CPU use frequently changes from one CPU to another. No specific CPU appears to be in use consistently, according to kern.cp_times.
Please see the attached program.
This program follows the algorithm used by xfce4 CPU use plugin sysutils/xfce4-cpugraph-plugin, which also shows incorrect CPU use as a result.
kern.cp_times CPU use data appears to not match top(1), which seems to be correct.
FreeBSD 11.1-PRERELEASE #1 r320820
The attached program is for the case of 8 CPUs.
Created attachment 184311 [details]
Shouldn't this instead be reclassified as "base system" ?
(In reply to Mark Linimon from comment #3)