Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2002 16:20:45 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Jeffrey Hsu <hsu@FreeBSD.org>
Cc:        smp@freebsd.org, tanimura@r.dl.itc.u-tokyo.ac.jp
Subject:   RE: socket buffers and condition variables
Message-ID:  <XFMail.20020528162045.jhb@FreeBSD.org>
In-Reply-To: <0GWU00K5X6TYZA@mta6.snfc21.pbi.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020528162045.jhb>