From owner-freebsd-stable@FreeBSD.ORG Fri Apr 20 18:54:53 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 DC56116A403 for ; Fri, 20 Apr 2007 18:54:53 +0000 (UTC) (envelope-from karagodov@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 87B2113C4C8 for ; Fri, 20 Apr 2007 18:54:53 +0000 (UTC) (envelope-from karagodov@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so834078pyh for ; Fri, 20 Apr 2007 11:54:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=mi+Xo1Dq1GQ/c/o22JbwJso/RmNx6oai4hAR7FYabMhqtjgkhcE7+ckfjrsdA1pvY8I1HYQM6EbHJaW8btFp3yyw8TVkGmfPEXgAJyqeUwTqhnenAZero2tJH5WUEDQPEIZwoHcmkuX58esU/vyT2M6lY9h0KE8PL7sdp89j4VM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=sKYZiPwAMLe3dSp+H4kVipr3aLJClhyq9XuvGUZb0AJ7CgJmpmvIHJQvrBwDoEY+Rh3b3gu8Zg1IwfVXOOHJyVIpo7Du8XKpLB6/PPyUX5han0aoIoPzZxXhfyZC8IPN9y6VhAFq1eUyce4if4PrOSeRfkSI+L3gl02unUNAMik= Received: by 10.65.237.15 with SMTP id o15mr6681961qbr.1177095292483; Fri, 20 Apr 2007 11:54:52 -0700 (PDT) Received: by 10.64.208.3 with HTTP; Fri, 20 Apr 2007 11:54:52 -0700 (PDT) Message-ID: Date: Fri, 20 Apr 2007 22:54:52 +0400 From: "Alexey Karagodov" To: "Alex Povolotsky" In-Reply-To: <46271A4B.50408@webmail.sub.ru> MIME-Version: 1.0 References: <46271A4B.50408@webmail.sub.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Fri, 20 Apr 2007 18:54:53 -0000 and what is this, i mean why: WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. 2007/4/19, Alex Povolotsky : > > 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 > > .... > > 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" >