Date: Wed, 5 Jan 2005 16:44:38 -0500 From: John Baldwin <jhb@FreeBSD.org> To: freebsd-amd64@FreeBSD.org Subject: Re: CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz K8-class CPU) 0% idle? Message-ID: <200501051644.38657.jhb@FreeBSD.org> In-Reply-To: <41DB03A3.7070008@ion.lu> References: <41DB03A3.7070008@ion.lu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 04 January 2005 03:59 pm, Steve Clement wrote: > Hi, my Intel Xeon runs on 0% idle ALL THE TIME? > > I don't see any non idle processes. > > top -Ibtd2s1 > last pid: 86223; load averages: 14.85, 15.24, 15.80 up 3+03:36:50 > 21:55:36 > 104 processes: 4 running, 100 sleeping > > Mem: 345M Active, 294M Inact, 148M Wired, 51M Cache, 111M Buf, 50M Free > Swap: 1024M Total, 300K Used, 1024M Free > > > ~ PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > ~ 554 mysql 127 0 111M 60772K RUN 39.3H 4.15% 4.15% mysqld > > last pid: 86223; load averages: 15.58, 15.39, 15.84 up 3+03:36:52 > 21:55:38 > 108 processes: 22 running, 86 sleeping > CPU states: 69.1% user, 0.0% nice, 29.7% system, 1.2% interrupt, 0.0% > idle > Mem: 350M Active, 294M Inact, 148M Wired, 51M Cache, 111M Buf, 45M Free > Swap: 1024M Total, 300K Used, 1024M Free > > ~ PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > ~ 554 mysql 99 0 116M 65820K RUN 39.3H 7.23% 7.23% mysqld > > > Am I missing something obvios? How do I diagnose this issue? > > > Also, it is a Hyperthreading CPU: > ~ Hyperthreading: 2 logical CPUs > > But only displays: > dmesg:cpu0: <ACPI CPU> on acpi0 > > > AND, as I understand I need 1 pseudo-process called idle per cpu. Isn't > that true for HT? > > # ps -auxw|grep idle > root 11 12.1 0.0 0 20 ?? RL Sat06PM 2064:42.01 [idle] > > > dmesg:ichsmb0: <Intel 6300ESB (ICH) SMBus controller> port 0x400-0x41f > irq 17 at device 31.3 on pci0 > > > uname -a:FreeBSD woodstock.party.lu 5.3-RELEASE-p2 FreeBSD > 5.3-RELEASE-p2 #4: Thu Dec 30 08:02:43 CET 2004 > root@woodstock.party.lu:/usr/obj/usr/src/sys/WOODSTOCK amd64 > > > Any help would help :) 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.) -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501051644.38657.jhb>