kern/78342: top -S shows potentially incorrect CPU usage for idle thread

Jari Kirma kirma at cs.hut.fi
Tue Mar 8 07:10:06 GMT 2005


The following reply was made to PR kern/78342; it has been noted by GNATS.

From: Jari Kirma <kirma at cs.hut.fi>
To: freebsd-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: kern/78342: top -S shows potentially incorrect CPU usage for
 idle thread
Date: Tue, 8 Mar 2005 09:04:27 +0200 (EET)

 On the original host, but with SCHED_BSD scheduler, problem doesn't 
 occur, or at least is considerably less prominent. With idle CPU state at 
 99.8% idle, the idle thread shows 99.03% CPU usage.
 
 Also noted that the load seems to show up at percentage steps of 100/128 
 (0.78125%) on SCHED_ULE, but much finer resolution on SCHED_BSD. I don't 
 know if that's a bug or a feature.
 


More information about the freebsd-bugs mailing list