amd64/101132: Incorrect cpu idle and usage statistics in top and systat programs in SMP 6.1-STABLE/amd64

John Baldwin jhb at freebsd.org
Tue Aug 1 17:19:30 UTC 2006


On Monday 31 July 2006 21:16, Evgeny Larionov wrote:
> 
> >Number:         101132
> >Category:       amd64
> >Synopsis:       Incorrect cpu idle and usage statistics in top and systat 
programs in SMP 6.1-STABLE/amd64
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-amd64
> >State:          open
> >Quarter:        
> >Keywords:       
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Tue Aug 01 01:20:14 GMT 2006
> >Closed-Date:
> >Last-Modified:
> >Originator:     Evgeny Larionov
> >Release:        6.1-STABLE
> >Organization:
> Comlink
> >Environment:
> FreeBSD test.comlink.khakassia.ru 6.1-STABLE FreeBSD 6.1-STABLE #1: Sat Jul 
29 19:18:29 KRAST 2006     
lion at test.comlink.khakassia.ru:/usr/obj/usr/src/sys/HOSTING  amd64
> >Description:
> systat -v and top show incorrect information in SMP 6.1-STABLE under amd64.
> When run two program with 100% cpu alocation (using only calculation without 
idle) on processor with HTT (2 logical processors) top and systat show only 
not more 50% cpu usage with 50% idle. 

Try enabling hyperthreading via machdep.hyperthreading_allowed=1.

-- 
John Baldwin


More information about the freebsd-amd64 mailing list