From owner-freebsd-questions@FreeBSD.ORG Sat Oct 8 17:21:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9032816A41F for ; Sat, 8 Oct 2005 17:21:36 +0000 (GMT) (envelope-from hakmi@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 1E2B443D46 for ; Sat, 8 Oct 2005 17:21:35 +0000 (GMT) (envelope-from hakmi@rogers.com) Received: (qmail 92844 invoked from network); 8 Oct 2005 17:21:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:From:To:Subject:Date:X-Mailer:X-MimeOLE:Thread-Index; b=zvUntJ8y5C4GksDh+mVGTpCX4g2lOkxRH0Dn2KpB41Gu8WhuWJIYRSLwu/m85xBAwuUpRYCBZ4BXbpvUoCamCUMB7Q4MsNzCDT7xax5OHMsGqd6XTb/SkKRuC8ZCH/ur49oh/KBR67qdDDkdv//frD4yxEL0UPP+NzCB6LhHS0g= ; Received: from unknown (HELO tamouh) (hakmi@rogers.com@70.27.160.99 with login) by smtp100.rog.mail.re2.yahoo.com with SMTP; 8 Oct 2005 17:21:35 -0000 From: "Tamouh H." To: Date: Sat, 8 Oct 2005 13:19:43 -0400 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcXMLHkYboJZUfsrTn+/kUcac5CQJQ== Message-Id: <20051008172135.1E2B443D46@mx1.FreeBSD.org> Subject: SMP using cpu2 only X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 17:21:36 -0000 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: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: 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