From owner-freebsd-smp Tue May 28 13:21:17 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id 58ECF37B407 for ; Tue, 28 May 2002 13:21:06 -0700 (PDT) Received: (qmail 19371 invoked from network); 28 May 2002 20:21:04 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 28 May 2002 20:21:04 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4SKLIF24702; Tue, 28 May 2002 16:21:18 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <0GWU00K5X6TYZA@mta6.snfc21.pbi.net> Date: Tue, 28 May 2002 16:20:45 -0400 (EDT) From: John Baldwin To: Jeffrey Hsu Subject: RE: socket buffers and condition variables Cc: smp@freebsd.org, tanimura@r.dl.itc.u-tokyo.ac.jp Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 28-May-2002 Jeffrey Hsu wrote: > > Reduce contention upon locking a socket buffer by replacing tsleep() and > > wakeup() with a condvar. > > I'd prefer if we waited until we had the networking stack all locked up > before measuring and deciding that there is enough contention on socket > buffers to warrant this change. I don't really see how this change avoids contention anyways. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message