Consistently "high" CPU load on 10.0-STABLE

Garrett Wollman wollman at hergotha.csail.mit.edu
Mon Jul 21 03:48:20 UTC 2014


In article <20140720235945.GA90603 at icarus.home.lan> you write:

>Yeah, I've given that a try.  I think all that script does, in layman's
>terms, is count the number of occurrences of a kernel function/symbol
>being called.

I've had good results in the past using pmcstat(8) in "top" mode.  Of
course you'll need a kernel with the PMC support compiled in to use
that, and a CPU where hwpmc(4) supports a useful counter -- I'd start
with something that counts unhalted cycles or retired instructions.

-GAWollman



More information about the freebsd-stable mailing list