From owner-freebsd-stable@FreeBSD.ORG Thu Apr 19 08:02:25 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 7A23116A403 for ; Thu, 19 Apr 2007 08:02:25 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 3603713C457 for ; Thu, 19 Apr 2007 08:02:25 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id 3A6791B10F97; Thu, 19 Apr 2007 10:02:24 +0200 (CEST) Received: from [192.168.3.125] (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 216E01B10F96; Thu, 19 Apr 2007 10:02:24 +0200 (CEST) Message-ID: <46272210.707@sun-fish.com> Date: Thu, 19 Apr 2007 11:02:24 +0300 From: Stefan Lambrev User-Agent: Thunderbird 1.5.0.10 (X11/20070326) MIME-Version: 1.0 To: Alex Povolotsky References: <46271A4B.50408@webmail.sub.ru> In-Reply-To: <46271A4B.50408@webmail.sub.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Cc: freebsd-stable@freebsd.org Subject: Re: 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 08:02:25 -0000 Hi, Alex Povolotsky wrote: > 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 > MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > 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 > Are you sure it is second CPU ? :) May be it is single processor with HT? > .... > > 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. > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Best Wishes, Stefan Lambrev ICQ# 24134177