From owner-svn-src-all@FreeBSD.ORG Mon Jan 20 22:18:54 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0705C7B6; Mon, 20 Jan 2014 22:18:54 +0000 (UTC) Received: from mail-qe0-x229.google.com (mail-qe0-x229.google.com [IPv6:2607:f8b0:400d:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6AB131164; Mon, 20 Jan 2014 22:18:53 +0000 (UTC) Received: by mail-qe0-f41.google.com with SMTP id gc15so3624425qeb.28 for ; Mon, 20 Jan 2014 14:18:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=qQ0+wOFJ8wgWCr7GnFVqzbdzHeQmkFDZjeeMdDutkpE=; b=pNJ9O5eWtUs/2tJqBBNnPDIJu27NWmU3/tPT0ZeJH3yu1BRWvX7potvUqCRDt9lzPh qdq5JNKdtfXzGdLz8/uEZFlgPIHwTwU89FaQeuubE474Zd4Psk+Tozm2KMuIcujqYWAh ICASQH7NbWEzVUcpAGUtDd5phbF00tduASymRfOW2TU4gcRBDWgXVzg/SpkXXOvNUhS+ VA0WZLEr/95Ct8wh3vrzdJbpbN6awtCLklVNiXdItxRUaSEskO/YfKtKySarIlqu/XP9 5xeEtAnkoTBX3mN4uWSvJqaOnNM5ax0O1+1i6UEm1QbmpSkNUQ+KRIGqZ2wOvH/xqLWS dSng== X-Received: by 10.140.33.198 with SMTP id j64mr30094338qgj.14.1390256332572; Mon, 20 Jan 2014 14:18:52 -0800 (PST) Received: from kan.dyndns.org (c-24-63-226-98.hsd1.ma.comcast.net. [24.63.226.98]) by mx.google.com with ESMTPSA id r7sm1317807qgr.17.2014.01.20.14.18.51 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 20 Jan 2014 14:18:51 -0800 (PST) Date: Mon, 20 Jan 2014 17:18:44 -0500 From: Alexander Kabaev To: John Baldwin Subject: Re: svn commit: r260898 - head/sys/kern Message-ID: <20140120171844.69e065fb@kan.dyndns.org> In-Reply-To: <1536225.gsjt6oXMt2@pippin.baldwin.cx> References: <201401200159.s0K1xa5X012123@svn.freebsd.org> <1536225.gsjt6oXMt2@pippin.baldwin.cx> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/4Nq8uq1Kwyltm5a_lSUxb8g"; protocol="application/pgp-signature" Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Rui Paulo , Neel Natu X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 22:18:54 -0000 --Sig_/4Nq8uq1Kwyltm5a_lSUxb8g Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 20 Jan 2014 11:32:29 -0500 John Baldwin wrote: > On Sunday 19 January 2014 18:18:03 Rui Paulo wrote: > > On 19 Jan 2014, at 17:59, Neel Natu wrote: > > > Author: neel > > > Date: Mon Jan 20 01:59:35 2014 > > > New Revision: 260898 > > > URL: http://svnweb.freebsd.org/changeset/base/260898 > > >=20 > > > Log: > > > Bump up WITNESS_COUNT from 1024 to 1536 so there are sufficient > > > entries for > > > WITNESS to actually work. > >=20 > > This value should be automatically tuned... >=20 > How do you propose to do so? This is the count of locks initialized > before witness' own SYSINIT is executed and the array it sizes is > allocated statically at compile time. This used to not be a static > array, but an intrusive list embedded in locks themselves, but we > decided to shave a pointer off of each lock that was only used for > that and to use a statically sized table instead. >=20 > --=20 > John Baldwin As + * MAXCPU, as evidently most recent overflows reported were caused by jacking MAXCPU up from its default value?=20 --=20 Alexander Kabaev --Sig_/4Nq8uq1Kwyltm5a_lSUxb8g Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iD8DBQFS3aDKQ6z1jMm+XZYRAp+IAKDIHTjvWXE/8tNIgf40M0GEy3dq7gCg03vv p13tn1pl50ZOMn2FcSunO/E= =7LMU -----END PGP SIGNATURE----- --Sig_/4Nq8uq1Kwyltm5a_lSUxb8g--