top(1) + vmstat(8): CPU percentages broken

Attilio Rao attilio at freebsd.org
Mon Jan 25 14:48:06 UTC 2010


2010/1/25 Oliver Fromme <olli at lurza.secnetix.de>:
> Attilio Rao <> wrote:
>  > 2010/1/21 Oliver Fromme <olli at lurza.secnetix.de>:
>  > > Hello,
>  > >
>  > > On a 9-current system (sources as of Monday 2010-01-18),
>  > > top(1) displays 0% for _all_ values in the "CPU" line
>  > > (user, nice, sys, int, idle).  Also, in vmstat(1) the
>  > > cpu columns us/sy/id are always zero.
>  > >
>  > > Is there a know problem with CPU time accounting in
>  > > 9-current?
>  >
>  > May you revert r202387, 202441 and 202534 and see if it does make a difference?
>
> Yes, reverting those fixes the problem.  The CPU statistics
> are back to normal.

With the latest current, may you please provide a verbose dmesg?
May you also provide a %sysctl kern.timecounter
?

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the freebsd-current mailing list