From owner-freebsd-performance@FreeBSD.ORG Tue May 9 01:21:07 2006 Return-Path: X-Original-To: performance@FreeBSD.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F4E116A40B; Tue, 9 May 2006 01:21:07 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB68943D46; Tue, 9 May 2006 01:21:06 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id BE2B71A3C1A; Mon, 8 May 2006 18:21:06 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3AA4251664; Mon, 8 May 2006 21:21:06 -0400 (EDT) Date: Mon, 8 May 2006 21:21:06 -0400 From: Kris Kennaway To: Maxim Sobolev Message-ID: <20060509012106.GA57271@xor.obsecurity.org> References: <20060506150622.C17611@fledge.watson.org> <20060506221908.GB51268@xor.obsecurity.org> <20060507210426.GA4422@xor.obsecurity.org> <20060507214153.GA5275@xor.obsecurity.org> <20060507230430.GA6872@xor.obsecurity.org> <20060508065207.GA20386@xor.obsecurity.org> <20060509004328.GB55852@xor.obsecurity.org> <445FEDDA.6010001@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <445FEDDA.6010001@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: performance@FreeBSD.org, Robert Watson , current@FreeBSD.org, Kris Kennaway Subject: Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets) X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 01:21:07 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 08, 2006 at 06:18:18PM -0700, Maxim Sobolev wrote: > Kris Kennaway wrote: > >On Mon, May 08, 2006 at 02:52:07AM -0400, Kris Kennaway wrote: > >>OK, David's patch fixes the umtx thundering herd (and seems to give a > >>4-6% boost). I also fixed a thundering herd in FILEDESC_UNLOCK (which > >>was also waking up 2-7 CPUs at once about 30% of the time) by doing > >>s/wakeup/wakeup_one/. This did not seem to give a performance impact > >>on this test though. > > > >Turning down kern.hz from 1000 to 100 also made a big difference on 12 > >CPUs (+6.1%). > > > >Note also that the system is no less than 40% idle during the runs (at > >any load), so the bottlenecks are serious. >=20 > Maybe HDD just can't keep up with the pace? There is no disk I/O involved. Kris --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEX+6BWry0BWjoQKURArFWAJ0XbBnww8FPfL/TD3fmr5/1MiBTEQCg0Xca wf4fD55J7ULkaas0a3GlpV4= =+Prk -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--