From owner-freebsd-current@FreeBSD.ORG Wed Dec 15 23:10:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FBE216A4CE for ; Wed, 15 Dec 2004 23:10:06 +0000 (GMT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4555A43D5D for ; Wed, 15 Dec 2004 23:10:06 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 2694 invoked from network); 15 Dec 2004 23:10:03 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 15 Dec 2004 23:10:02 -0000 Received: from [10.50.41.243] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iBFN9rWf005546; Wed, 15 Dec 2004 18:09:58 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Michal Mertl Date: Wed, 15 Dec 2004 16:16:36 -0500 User-Agent: KMail/1.6.2 References: <41B36AF6.8010906@traveller.cz> In-Reply-To: <41B36AF6.8010906@traveller.cz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412151616.36995.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: freebsd-current@FreeBSD.org Subject: Re: Increase of WITNESS_COUNT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 23:10:06 -0000 On Sunday 05 December 2004 03:09 pm, Michal Mertl wrote: > Hello, > > for some time I'm seeing "witness exhausted" message in my logs when I run > with WITNESS enabled. I know it's nothing new but it's either the bug which > is causing it is surviving for long time or there's something special in my > setups or that it's just normal (as more code get fine grained locking more > witnesses are used). > > What are the consequences of increasing WITNESS_COUNT in > src/sys/kern/subr_witness.c? I don't see any ill effects and I don't get > the dreaded "witness exhausted" message. Can it be increased by default? It just uses up more memory, but it doesn't use that much as it is. It needs to be bumped, I just haven't sat down and done it. What number did you bump it to in your testing? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org