From owner-freebsd-stable@FreeBSD.ORG Thu Apr 19 07:56:06 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5C1616A404 for ; Thu, 19 Apr 2007 07:56:06 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: from mail.sub.ru (mail.sub.ru [88.212.205.2]) by mx1.freebsd.org (Postfix) with SMTP id 3320113C483 for ; Thu, 19 Apr 2007 07:56:05 +0000 (UTC) (envelope-from tarkhil@webmail.sub.ru) Received: (qmail 84321 invoked from network); 19 Apr 2007 11:34:49 +0400 Received: from unknown (HELO localhost) (88.212.205.2) by mail.sub.ru with SMTP; 19 Apr 2007 11:34:49 +0400 X-Virus-Scanned: by amavisd-new at mail.sub.ru Received: from unknown ([88.212.205.2]) by localhost (mail-new.sub.ru [88.212.205.2]) (amavisd-new, port 10024) with SMTP id 7yo6efFueBMe for ; Thu, 19 Apr 2007 11:34:46 +0400 (MSD) Received: from unknown (HELO ?89.222.147.9?) (tarkhil%sub.ru@89.222.147.9) by techno.sub.ru with SMTP; 19 Apr 2007 07:34:46 -0000 Message-ID: <46271A4B.50408@webmail.sub.ru> Date: Thu, 19 Apr 2007 11:29:15 +0400 From: Alex Povolotsky User-Agent: Thunderbird 1.5.0.9 (X11/20070104) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: 6.2-RELEASE does not use second CPU? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 07:56:07 -0000 Hello! On the Pentium-D box, kernel detects both CPUs, but it seems like scheduler use only one. (from dmesg) Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE-p3 #2: Thu Apr 19 00:19:54 MSD 2007 tarkhil@cluster-one.zinester.com:/usr/obj/usr/src/sys/P4D WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2808.41-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf64 Stepping = 4 Features=0xbfebfbff Features2=0xe49d,> AMD Features=0x20100000 AMD Features2=0x1 Logical CPUs per core: 2 real memory = 1046757376 (998 MB) avail memory = 1015095296 (968 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 .... SMP: AP CPU #1 Launched! (from top) last pid: 12408; load averages: 4.99, 4.91, 4.08 up 0+01:08:02 19:26:23 265 processes: 8 running, 256 sleeping, 1 zombie CPU states: 35.0% user, 0.0% nice, 14.1% system, 0.9% interrupt, 50.0% idle Mem: 267M Active, 503M Inact, 171M Wired, 29M Cache, 109M Buf, 1636K Free Swap: 2006M Total, 2006M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1399 125 1 109 0 4684K 2808K RUN 0 11:20 18.85% qmgr 1819 300 1 4 0 33552K 30824K select 0 8:58 13.57% perl5.8.8 1821 300 1 4 0 33364K 30644K select 0 9:15 6.05% perl5.8.8 12398 125 1 4 0 3588K 2524K select 0 0:00 2.00% cleanup 1394 root 1 104 0 3444K 1596K RUN 0 1:58 1.66% master 10601 125 1 97 0 3580K 1728K select 0 0:18 0.83% trivial-rewri 10051 125 1 97 0 4536K 2688K RUN 0 0:13 0.63% scache All processes runs on CPU0, and I did not see less than 50% idle cpu. What can be wrong? Alex.