From owner-freebsd-stable@FreeBSD.ORG Mon May 9 17:21:01 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1977F16A4EC for ; Mon, 9 May 2005 17:21:01 +0000 (GMT) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74B9A43D92 for ; Mon, 9 May 2005 17:21:00 +0000 (GMT) (envelope-from ewan@mathcode.net) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77])j49HKtee026108 for ; Mon, 9 May 2005 13:20:55 -0400 X-ORBL: [68.23.218.132] Received: from mail.mathcode.net (adsl-68-23-218-132.dsl.wotnoh.ameritech.net [68.23.218.132])j49HKu9Z171978; Mon, 9 May 2005 13:20:56 -0400 Received: from bsd.mathcode.net (localhost [127.0.0.1]) by mail.mathcode.net (8.12.11/8.12.11) with ESMTP id j49HLB1s010098; Mon, 9 May 2005 13:21:12 -0400 (EDT) (envelope-from ewan@bsd.mathcode.net) Received: (from ewan@localhost) by bsd.mathcode.net (8.12.11/8.12.11/Submit) id j49HLBui010097; Mon, 9 May 2005 13:21:11 -0400 (EDT) (envelope-from ewan) Date: Mon, 9 May 2005 13:21:11 -0400 From: Ewan Todd To: Scott Long Message-ID: <20050509172111.GH281@mathcode.net> References: <20050509150018.GF281@mathcode.net> <427F8076.7030105@samsco.org> <20050509170316.GG281@mathcode.net> <427F9890.7010104@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <427F9890.7010104@samsco.org> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on bsd.mathcode.net cc: freebsd-stable Subject: Re: Performance issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 17:21:01 -0000 > > 5.3 ships with SMP turned on, which makes lock operations rather > expensive on single-processor machines. 4.x does not have SMP > turned on by default. Would you be able to re-run your test with > SMP turned off? > I'm pretty sure there's no SMP in this kernel. #cd /usr/src/sys/i386/conf #fgrep SMP MYKERNEL # GENERIC has no SMP in it, but there's a second "GENERIC" kernel conf called "SMP", which simply says: include GENERIC options SMP However, sysctl seems to show smp not active, but not disabled. Is that anything to worry about? #sysctl -a | grep smp kern.smp.maxcpus: 1 kern.smp.active: 0 kern.smp.disabled: 0 kern.smp.cpus: 1 debug.psmpkterrthresh: 2 -e