Date: Sat, 8 Jan 2005 22:21:17 +0000 (GMT) From: Robert Watson <rwatson@FreeBSD.org> To: Steve Clement <steve@ion.lu> Cc: John Baldwin <jhb@FreeBSD.org> Subject: Re: CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz K8-class CPU) 0% idle? Message-ID: <Pine.NEB.3.96L.1050108222030.43829K-100000@fledge.watson.org> In-Reply-To: <41DFF08B.9080702@ion.lu>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1050108222030.43829K-100000>