CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz K8-class CPU)
0% idle?
Robert Watson
rwatson at FreeBSD.org
Sat Jan 8 14:25:10 PST 2005
On Sat, 8 Jan 2005, Steve Clement wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> John Baldwin wrote:
> |
> |
> | I can't answer your % idle question, but the hyperthreading thing is
> because
> | you aren't using an SMP kernel (one with 'options SMP' in it, note that
> | GENERIC in 5.x does not have SMP turned on). (The idle process would be
> | called 'idle: cpu0' if you had an SMP kernel.)
> |
>
> Indeed, I was running a GENERIC Kernel and it lacked SMP support, now
> all is compiled in and I have a new phenomenon.
>
> I am seeing idle variations from 0% up to 50% in a rather cyclical way.
>
> HOW can I see what program causes this, top isn't much help but:
Try using "top -S" which will include kernel threads in its output, so you
can see what threads in the kernel are generating the CPU load.
Robert N M Watson
>
> steve at woodstock steve $ top -btd20s1 |grep idle
> CPU states: 74.8% user, 0.0% nice, 24.4% system, 0.8% interrupt, 0.0%
> idle
> CPU states: 72.4% user, 0.0% nice, 24.9% system, 2.7% interrupt, 0.0%
> idle
> CPU states: 71.3% user, 0.0% nice, 20.2% system, 0.8% interrupt, 7.8%
> idle
> CPU states: 56.3% user, 0.0% nice, 16.0% system, 2.3% interrupt, 25.4%
> idle
> CPU states: 68.5% user, 0.0% nice, 24.9% system, 0.4% interrupt, 6.2%
> idle
> CPU states: 72.5% user, 0.0% nice, 27.1% system, 0.4% interrupt, 0.0%
> idle
> CPU states: 49.8% user, 0.0% nice, 16.7% system, 1.2% interrupt, 32.3%
> idle
> CPU states: 16.0% user, 0.0% nice, 4.7% system, 0.0% interrupt, 79.3%
> idle
> CPU states: 30.7% user, 0.0% nice, 10.5% system, 0.8% interrupt, 58.0%
> idle
> CPU states: 55.5% user, 0.0% nice, 20.7% system, 0.4% interrupt, 23.4%
> idle
> CPU states: 30.7% user, 0.0% nice, 10.9% system, 1.2% interrupt, 57.2%
> idle
> CPU states: 45.3% user, 0.0% nice, 9.4% system, 0.8% interrupt, 44.5%
> idle
> CPU states: 73.9% user, 0.0% nice, 25.3% system, 0.8% interrupt, 0.0%
> idle
> CPU states: 65.9% user, 0.0% nice, 23.3% system, 1.2% interrupt, 9.7%
> idle
> CPU states: 21.0% user, 0.0% nice, 7.8% system, 0.4% interrupt, 70.8%
> idle
> CPU states: 60.5% user, 0.0% nice, 23.4% system, 1.6% interrupt, 14.5%
> idle
> CPU states: 61.5% user, 0.0% nice, 23.7% system, 0.8% interrupt, 14.0%
> idle
> CPU states: 54.7% user, 0.0% nice, 20.7% system, 1.6% interrupt, 23.0%
> idle
> CPU states: 34.6% user, 0.0% nice, 15.2% system, 0.4% interrupt, 49.8%
> idle
>
> Thanks, Steve C
>
> - --
> ION Network Solutions
> Steve Clement
> Unix System Administrator
> 209, rue des Romains
> L-8041 Bertrange
> Tel: +352 261 276-2
> Fax: +352 261 276-9
> mailto:steve at ion.lu
> http://www.ion.lu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (FreeBSD)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFB3/CKMH8DIBsiCrgRAtCZAJ9yOHtWP+sAI0ExnnEYyuwgBQcPdwCeMNMQ
> Ubip10eb39H96stvz95tHHo=
> =wI/V
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-amd64 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
> To unsubscribe, send any mail to "freebsd-amd64-unsubscribe at freebsd.org"
>
More information about the freebsd-amd64
mailing list