Date: Sat, 8 Oct 2005 13:19:43 -0400 From: "Tamouh H." <hakmi@rogers.com> To: <freebsd-questions@freebsd.org> Subject: SMP using cpu2 only Message-ID: <20051008172135.1E2B443D46@mx1.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hello, After cvsup to 5.4-P7 and compiling the Kernel with SMP, PAE, acpi options, I noticed when getting back in that only CPU2 is being used. I checked dmesg: impala# dmesg |grep CPU CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2793.01-MHz 686-class CPU) Hyperthreading: 2 logical CPUs FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 cpu2: <ACPI CPU> on acpi0 cpu3: <ACPI CPU> on acpi0 SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! However, I can feel the server is running sluggish and doing TOP confirms that only one CPU is being used: last pid: 90384; load averages: 1.39, 1.35, 1.19 up 0+05:58:52 13:19:40 143 processes: 1 running, 141 sleeping, 1 zombie CPU states: 0.9% user, 2.6% nice, 2.1% system, 0.2% interrupt, 94.2% idle Mem: 486M Active, 3092M Inact, 223M Wired, 129M Cache, 112M Buf, 46M Free Swap: 8762M Total, 1388K Used, 8760M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 90045 root -8 20 1840K 1376K biord 0 0:35 12.65% 12.65% bsdtar 62646 root 96 0 29868K 27888K select 0 0:21 0.29% 0.29% perl 90367 mailnull 4 0 7120K 4168K sbwait 2 0:00 0.94% 0.24% exim-4.53-0 1957 mysql 20 0 87640K 50412K kserel 2 9:40 0.00% 0.00% mysqld 899 clamav 20 0 25176K 24176K kserel 2 1:18 0.00% 0.00% clamd 698 root 8 20 9712K 8836K nanslp 0 0:53 0.00% 0.00% perl5.8.6 776 root 104 0 9212K 5676K select 2 0:52 0.00% 0.00% cppop 2755 root 8 0 2744K 2052K nanslp 2 0:42 0.00% 0.00% perl5.8.6 434 bind 20 0 11092K 9472K kserel 2 0:40 0.00% 0.00% named 871 root 96 0 10920K 6676K select 2 0:09 0.00% 0.00% cpsrvd 772 mailman 8 0 9116K 7260K nanslp 2 0:07 0.00% 0.00% python 770 mailman 8 0 9060K 7244K nanslp 0 0:06 0.00% 0.00% python 768 mailman 8 0 8716K 7032K nanslp 2 0:06 0.00% 0.00% python 81489 nobody 4 0 47324K 39128K sbwait 2 0:06 0.00% 0.00% httpd 773 mailman 8 0 9016K 7116K nanslp 0 0:06 0.00% 0.00% python 2729 mailnull 102 0 6112K 2464K select 0 0:06 0.00% 0.00% exim-4.53-0 771 mailman 8 0 7976K 6096K nanslp 2 0:06 0.00% 0.00% python Any pointers if there is a patch or something I need to do for this ? The server has 2 physical CPUs with HT enabled (Xeon 2.8GHz EM64T 800MHz 1MB) This is running on FreeBSD 5.4-i386 Thank you, Tamouh Hakmi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051008172135.1E2B443D46>