Date: Thu, 04 May 2006 23:16:44 -0500 From: Eric Anderson <anderson@centtech.com> To: Erich Dollansky <oceanare@pacific.net.sg> Cc: freebsd-hackers@freebsd.org Subject: Re: Core Duo - only one cpu being used Message-ID: <445AD1AC.1070902@centtech.com> In-Reply-To: <445AD048.80305@pacific.net.sg> References: <445AB56F.8090907@centtech.com> <445AC174.5050102@pacific.net.sg> <445AC46F.30702@centtech.com> <445AD048.80305@pacific.net.sg>
next in thread | previous in thread | raw e-mail | index | archive | help
Erich Dollansky wrote: > Hi, > > this is hard to believe. > > Just add -S to the command line or enter S while top is running. > > Top should show you then on top the two idle threads. Here's the output: last pid: 2654; load averages: 1.10, 1.16, 1.12 up 0+03:30:41 23:15:33 159 processes: 5 running, 132 sleeping, 22 waiting CPU states: 46.5% user, 0.0% nice, 3.2% system, 0.4% interrupt, 49.9% idle Mem: 408M Active, 398M Inact, 134M Wired, 32M Cache, 110M Buf, 15M Free Swap: 2048M Total, 2048M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 1 171 52 0K 8K CPU1 0 0:00 99.02% idle: cpu1 2653 root 1 128 0 18564K 17560K RUN 0 0:01 34.00% cc1plus 24 root 1 8 0 0K 8K - 0 4:34 1.32% ath0 taskq 23 root 1 -68 -187 0K 8K WAIT 0 2:37 0.88% irq17: ath0 861 anderson 1 96 0 112M 90744K select 0 3:27 0.10% Xorg 922 anderson 1 96 0 19672K 15060K select 0 2:54 0.05% xfce4-panel 12 root 1 171 52 0K 8K RUN 0 51:04 0.00% idle: cpu0 958 anderson 5 20 0 109M 96876K kserel 0 3:48 0.00% firefox-bin 592 root 1 8 0 1348K 872K nanslp 0 2:09 0.00% powerd 932 anderson 6 20 0 87196K 72904K kserel 0 1:02 0.00% thunderbird-bin 909 anderson 1 96 0 29416K 15964K select 0 0:39 0.00% kdeinit 46 root 1 171 52 0K 8K RUN 0 0:34 0.00% pagezero 14 root 1 -32 -151 0K 8K WAIT 0 0:33 0.00% swi4: clock sio 4 root 1 -8 0 0K 8K - 0 0:23 0.00% g_down 22 root 1 -80 -199 0K 8K WAIT 0 0:21 0.00% irq16: nvidia0 3 root 1 -8 0 0K 8K - 0 0:19 0.00% g_up 28378 root 1 8 0 31388K 30912K wait 0 0:19 0.00% ruby18 49 root 1 20 0 0K 8K syncer 0 0:09 0.00% syncer 38 root 1 -64 -183 0K 8K WAIT 0 0:08 0.00% irq14: ata0 920 anderson 1 96 0 16536K 11372K select 0 0:07 0.00% xfdesktop 40 root 1 0 0 0K 8K tzpoll 0 0:06 0.00% acpi_thermal 559 root 1 96 0 1448K 872K select 0 0:05 0.00% bthidd 870 anderson 1 96 0 26996K 17060K select 0 0:05 0.00% gaim 1039 anderson 1 96 0 6388K 4752K select 0 0:05 0.00% xterm 1037 anderson 1 96 0 7916K 5824K select 0 0:03 0.00% nedit 916 anderson 1 96 0 14592K 10340K select 0 0:02 0.00% xfwm4 13 root 1 -44 -163 0K 8K WAIT 0 0:02 0.00% swi1: net 888 anderson 1 96 0 18600K 13752K select 0 0:02 0.00% xfce4-session 897 anderson 1 96 0 14444K 8500K select 0 0:02 0.00% xfce-mcs-manager 26 root 1 -64 -183 0K 8K WAIT 0 0:02 0.00% irq20: uhci0 ehci0 918 anderson 1 96 0 13116K 8976K select 0 0:02 0.00% xftaskbar4 16 root 1 -16 0 0K 8K - 0 0:02 0.00% yarrow 869 anderson 1 96 0 6280K 4540K select 0 0:01 0.00% xterm 2 root 1 -8 0 0K 8K - 0 0:01 0.00% g_event 55 root 1 12 0 0K 8K - 0 0:01 0.00% schedcpu 1192 anderson 1 96 0 6908K 5272K select 0 0:01 0.00% xterm 18 root 1 -24 -143 0K 8K WAIT 0 0:01 0.00% swi6: + 25663 anderson 1 96 0 5540K 3904K select 0 0:01 0.00% xterm 235 root 1 96 0 3056K 1684K select 0 0:01 0.00% wpa_supplicant 19 root 1 -24 -143 0K 8K WAIT 0 0:01 0.00% swi6: task queue 41 root 1 -60 -179 0K 8K WAIT 0 0:01 0.00% irq1: atkbd0 [..snip..] > Eric Anderson wrote: >> Erich Dollansky wrote: >>> Hi, >>> >>> Eric Anderson wrote: >>>> >>>> All processes are on cpu 0. Output of sysctl dev.cpu shows: >>> >>> can you show all tasks running? >>> >>> Erich >> >> >> last pid: 33015; load averages: 1.20, 1.08, >> 1.08 up 0+02:35:03 22:19:55 >> 98 processes: 4 running, 94 sleeping >> CPU states: 19.7% user, 0.0% nice, 28.9% system, 1.3% interrupt, >> 50.1% idle >> Mem: 388M Active, 251M Inact, 132M Wired, 11M Cache, 110M Buf, 206M Free >> Swap: 2048M Total, 2048M Free >> >> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU >> COMMAND >> 33010 root 1 102 0 4984K 4364K RUN 0 0:06 27.21% bzip2 >> 33012 anderson 1 100 0 1296K 636K RUN 0 0:04 21.09% cat >> 33014 anderson 1 100 0 1296K 636K RUN 0 0:03 19.97% cat >> 33013 anderson 1 -8 0 1356K 708K piperd 0 0:01 3.72% md5 >> 33015 anderson 1 -8 0 1356K 708K piperd 0 0:01 3.14% md5 >> 33011 root 1 -8 0 1736K 1224K piperd 0 0:01 2.36% >> bsdtar >> 861 anderson 1 96 0 115M 89532K select 0 2:24 1.12% Xorg >> 592 root 1 8 0 1348K 872K nanslp 0 1:24 0.05% >> powerd >> 958 anderson 5 20 0 109M 96828K kserel 0 3:04 0.00% >> firefox-bin >> 922 anderson 1 96 0 19604K 14992K select 0 1:48 0.00% >> xfce4-panel >> 932 anderson 6 20 0 79688K 65352K kserel 0 0:45 0.00% >> thunderbird-bin >> 909 anderson 1 96 0 29416K 16044K select 0 0:24 0.00% >> kdeinit >> 28378 root 1 8 0 31388K 30912K wait 0 0:19 0.00% >> ruby18 >> 920 anderson 1 96 0 16520K 11356K select 0 0:06 0.00% >> xfdesktop >> 1039 anderson 1 96 0 6388K 4752K select 0 0:04 0.00% xterm >> 559 root 1 96 0 1448K 872K select 0 0:03 0.00% >> bthidd >> 870 anderson 1 96 0 27000K 17472K select 0 0:03 0.00% gaim >> 1037 anderson 1 96 0 7916K 5824K select 0 0:02 0.00% nedit >> 888 anderson 1 96 0 18600K 13752K select 0 0:02 0.00% >> xfce4-session >> 916 anderson 1 96 0 14592K 10344K select 0 0:02 0.00% xfwm4 >> 897 anderson 1 96 0 14404K 8460K select 0 0:02 0.00% >> xfce-mcs-manager >> 918 anderson 1 96 0 13116K 8968K select 0 0:01 0.00% >> xftaskbar4 >> 869 anderson 1 96 0 6820K 5080K select 0 0:01 0.00% xterm >> 25663 anderson 1 96 0 5540K 3904K select 0 0:01 0.00% xterm >> 1192 anderson 1 96 0 6128K 4492K select 0 0:01 0.00% xterm >> 235 root 1 96 0 3056K 1684K select 0 0:00 0.00% >> wpa_supplicant >> 630 root 1 96 0 2620K 1952K select 0 0:00 0.00% httpd >> 68119 anderson 1 96 0 6244K 4548K select 0 0:00 0.00% xterm >> 92204 anderson 1 96 0 5536K 3848K select 0 0:00 0.00% xterm >> 901 anderson 1 97 0 25284K 11308K select 0 0:00 0.00% >> kdeinit >> 683 root 1 96 0 3712K 2404K select 0 0:00 0.00% >> sendmail >> 68120 anderson 1 96 0 3900K 2416K select 0 0:00 0.00% ssh >> 934 anderson 1 96 0 4360K 2880K select 0 0:00 0.00% >> gconfd-2 >> 1193 anderson 1 5 0 3360K 1924K ttyin 0 0:00 0.00% bash >> 32933 root 1 8 0 1624K 1476K wait 0 0:00 0.00% make >> 25666 root 1 5 0 3276K 1824K ttyin 0 0:00 0.00% bash >> 30424 anderson 1 96 0 5536K 4192K select 0 0:00 0.00% xterm >> 889 anderson 1 8 0 3348K 1908K wait 0 0:00 0.00% bash >> 29892 anderson 1 96 0 2600K 1696K CPU0 0 0:00 0.00% top >> 480 root 1 96 0 1412K 924K select 0 0:00 0.00% >> syslogd >> 904 anderson 1 96 0 24004K 10172K select 0 0:00 0.00% >> kdeinit >> 907 anderson 1 96 0 24600K 10772K select 0 0:00 0.00% >> kdeinit >> 92205 anderson 1 5 0 3308K 1876K ttyin 0 0:00 0.00% bash >> 694 root 1 8 0 1428K 1028K nanslp 0 0:00 0.00% cron >> 924 anderson 1 8 0 1768K 1136K wait 0 0:00 0.00% sh >> 785 root 1 8 0 1748K 1256K wait 0 0:00 0.00% login >> 30453 anderson 1 5 0 3308K 1920K ttyin 0 0:00 0.00% bash >> 830 anderson 1 8 0 3320K 1864K wait 0 0:00 0.00% bash >> 1040 anderson 1 8 0 3344K 1908K wait 0 0:00 0.00% bash >> 25664 anderson 1 8 0 3308K 1872K wait 0 0:00 0.00% bash >> 1043 root 1 8 0 3304K 1852K wait 0 0:00 0.00% bash >> 936 anderson 1 8 0 1768K 1136K wait 0 0:00 0.00% sh >> 616 root 1 96 0 1320K 768K select 0 0:00 0.00% usbd >> 25665 anderson 1 8 0 1728K 1244K wait 0 0:00 0.00% su >> 1042 anderson 1 8 0 1728K 1236K wait 0 0:00 0.00% su >> 871 anderson 1 8 0 1764K 1060K wait 0 0:00 0.00% sh >> 32932 root 1 105 0 1376K 784K select 0 0:00 0.00% >> script >> 242 root 1 96 0 1500K 988K select 0 0:00 0.00% >> dhclient >> 841 anderson 1 8 0 1792K 1108K wait 0 0:00 0.00% sh >> 248 _dhcp 1 96 0 1500K 1040K select 0 0:00 0.00% >> dhclient >> 687 smmsp 1 20 0 3592K 2176K pause 0 0:00 0.00% >> sendmail >> 575 root 1 117 0 1384K 880K select 0 0:00 0.00% lpd >> 864 anderson 1 8 0 1756K 1056K wait 0 0:00 0.00% sh >> 954 anderson 1 8 0 1784K 1152K wait 0 0:00 0.00% sh >> 928 anderson 1 8 0 1784K 1152K wait 0 0:00 0.00% sh >> 860 anderson 1 8 0 2152K 1252K wait 0 0:00 0.00% xinit >> 792 root 1 5 0 1384K 852K ttyin 0 0:00 0.00% getty >> 789 root 1 5 0 1384K 852K ttyin 0 0:00 0.00% getty >> 787 root 1 5 0 1384K 852K ttyin 0 0:00 0.00% getty >> 791 root 1 5 0 1384K 852K ttyin 0 0:00 0.00% getty >> 790 root 1 5 0 1384K 852K ttyin 0 0:00 0.00% getty >> 786 root 1 5 0 1384K 852K ttyin 0 0:00 0.00% getty >> 788 root 1 5 0 1384K 852K ttyin 0 0:00 0.00% getty >> 768 root 1 116 0 1504K 1052K select 0 0:00 0.00% inetd >> 33008 root 1 8 0 1760K 1052K wait 0 0:00 0.00% sh >> 840 anderson 1 8 0 3324K 1868K wait 0 0:00 0.00% bash >> 606 nobody 1 112 0 1384K 904K select 0 0:00 0.00% sdpd >> 885 anderson 1 96 0 2284K 1264K select 0 0:00 0.00% >> dbus-launch >> 677 root 1 116 0 3676K 1932K select 0 0:00 0.00% sshd >> 914 anderson 1 96 0 2928K 1340K select 0 0:00 0.00% >> gnome-keyring-daemo >> 555 root 1 4 0 1424K 796K sbwait 0 0:00 0.00% >> hcsecd >> 880 anderson 1 96 0 3384K 1700K select 0 0:00 0.00% >> ssh-agent >> 793 www 1 4 0 2632K 1956K accept 0 0:00 0.00% httpd >> 408 root 1 96 0 516K 300K select 0 0:00 0.00% devd >> 33009 root 1 8 0 1760K 1052K wait 0 0:00 0.00% sh >> 794 www 1 4 0 2632K 1956K accept 0 0:00 0.00% httpd >> 886 anderson 1 97 0 2704K 1020K select 0 0:00 0.00% >> dbus-daemon >> 170 root 1 20 0 1284K 660K pause 0 0:00 0.00% >> adjkerntz >> 742 root 1 111 0 1376K 720K select 0 0:00 0.00% >> moused >> >> >> >> >> >> >> -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445AD1AC.1070902>