From owner-freebsd-stable@FreeBSD.ORG Mon Mar 8 09:29:16 2004 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 7ACCD16A4CE for ; Mon, 8 Mar 2004 09:29:16 -0800 (PST) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6676843D31 for ; Mon, 8 Mar 2004 09:29:16 -0800 (PST) (envelope-from mbsd@pacbell.net) Received: from atlas (adsl-64-166-22-245.dsl.snfc21.pacbell.net [64.166.22.245])i28HTF1m008840; Mon, 8 Mar 2004 09:29:15 -0800 (PST) Date: Mon, 8 Mar 2004 09:29:14 -0800 (PST) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@atlas.home To: Mike Jakubik In-Reply-To: <20040308150343.DEFA434741.fep02-mail.bloor.is.net.cable.rogers.com@win2000> Message-ID: <20040308092705.G52379@atlas.home> References: <20040308150343.DEFA434741.fep02-mail.bloor.is.net.cable.rogers.com@win2000> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: stable@freebsd.org Subject: RE: Semaphore scaling 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, 08 Mar 2004 17:29:16 -0000 On Mon, 8 Mar 2004, Mike Jakubik wrote: [...] > I have adjusted the variables in /etc/sysctl.conf as follows: > > kern.ipc.semmap=60 > kern.ipc.semmni=20 > kern.ipc.semmns=120 > kern.ipc.semmnu=60 > kern.ipc.semmsl=120 > kern.ipc.semopm=200 > kern.ipc.semume=20 > > However, when I do 'sysctl kern.ipc|grep sem' I get the floowing results: > > kern.ipc.semmni: 10 [...] > It seems that kern.ipc.semmni is not being incremented. Am I doing something > wrong here? Is this variable not tunable at boot? Interesting enough, these > values in LINT are represented as x+1, i.e. SEMMAP=31 and SEMMNI=11. Some of those sysctls are read-only. You'll have to set them before the kernel is loaded, in /boot/loader.conf. $.02, /Mikko