Please confirm: top(1) cpu time broken on FreeBSD 6.1 (RELEASE/STABLE) SMP ?

Matthieu Michaud matthieu.michaud at epita.info
Tue Jul 18 14:10:50 UTC 2006


Le Mar 18 juillet 2006 15:31, Martin Blapp a écrit :
>
> Hi all,

hi,

> I'm currently seeing strang things going on on all our
> upgraded SMP 2 CPU boxes. 4 Boxes are upgraded from 5.5 to
> 6 STABLE, one box is running 6.1 RELEASE.

i'm running 6.1 RELEASE upgraded from 6.0 RELEASE.

> All of them have SMP kernels, just using the provided GENERIC and SMP
> kernel config files. Mergemaster has been done on all
> boxes.
>
> If a box is full loaded top(1) shows:
>
> CPU states: 41.7% user,  0.0% nice,  7.7% system,  0.6% interrupt, 50.0%
> idle
>
> I can buildworld -j 100, do verything what I want. The
> sum of idle time never goes below 50.0% idle ! And the sum
> of total CPU time never goes over 50.0%.

i ran make buildworld -j8 and i confirm. afair it was ok on 6.0-RELEASE.

> So I wonder if just top is broken (in 6.1 RELEASE too), or if this
> is a SCHED4BSD bug.
>
> Can someone confirm this issue ? We see it on IBL X-Series 346 Boxes,
> as on IBM 306M Dual Core SMP systems.

i have a DELL 1600SC (bi-xeons) with a SMP kernel and
machdep.hyperthreading_allowed=0. setting it to 1 made idle % to 0.

-- 
Matthieu Michaud
EPITA SRS 2007


More information about the freebsd-stable mailing list