From owner-freebsd-performance@FreeBSD.ORG Sun May 7 23:23:58 2006 Return-Path: X-Original-To: freebsd-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 D399516A454; Sun, 7 May 2006 23:23:58 +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 ECCCC43DB2; Sun, 7 May 2006 23:23:33 +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 4FDF51A3C1A; Sun, 7 May 2006 16:23:32 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B8B1B516B8; Sun, 7 May 2006 19:23:31 -0400 (EDT) Date: Sun, 7 May 2006 19:23:31 -0400 From: Kris Kennaway To: David Xu Message-ID: <20060507232331.GB7670@xor.obsecurity.org> References: <20060506150622.C17611@fledge.watson.org> <20060507214153.GA5275@xor.obsecurity.org> <20060507230430.GA6872@xor.obsecurity.org> <200605080722.06435.davidxu@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="St7VIuEGZ6dlpu13" Content-Disposition: inline In-Reply-To: <200605080722.06435.davidxu@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: Robert Watson , freebsd-performance@freebsd.org, performance@freebsd.org, 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: Sun, 07 May 2006 23:23:59 -0000 --St7VIuEGZ6dlpu13 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 08, 2006 at 07:22:06AM +0800, David Xu wrote: > On Monday 08 May 2006 07:04, Kris Kennaway wrote: >=20 > > i.e. apparently not a large difference, but still a large proportion > > of cases where multiple CPUs are woken at once on the same chain. > > > > Kris > This becauses there is no sleepable mutex available, so I had to use > msleep and wakeup, this is suboptimal, I may put flag MTX_QUIET there > to let WITNESS shut up. Can you use wakeup_one()? Kris --St7VIuEGZ6dlpu13 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEXoFzWry0BWjoQKURAgVVAJ9oD9FK+zYc12YEJzOZfAN8MmzapwCgttR9 VeRXaBbj3eWlKdlBegnB0HE= =o3CD -----END PGP SIGNATURE----- --St7VIuEGZ6dlpu13--