From owner-svn-src-head@FreeBSD.ORG Wed Jan 1 23:13:53 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3387FB9; Wed, 1 Jan 2014 23:13:53 +0000 (UTC) Received: from butcher-nb.yandex.net (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 8304F295A; Wed, 1 Jan 2014 23:13:52 +0000 (UTC) Message-ID: <52C4A118.9020000@FreeBSD.org> Date: Thu, 02 Jan 2014 03:13:28 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Adrian Chadd , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r260151 - head/sys/netinet6 References: <201401010056.s010uR70070405@svn.freebsd.org> In-Reply-To: <201401010056.s010uR70070405@svn.freebsd.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jan 2014 23:13:53 -0000 On 01.01.2014 04:56, Adrian Chadd wrote: > Author: adrian > Date: Wed Jan 1 00:56:26 2014 > New Revision: 260151 > URL: http://svnweb.freebsd.org/changeset/base/260151 > > Log: > Use an RLOCK here instead of an RWLOCK - matching all the other calls > to lla_lookup(). > > This drastically reduces the very high lock contention when doing parallel > TCP throughput tests (> 1024 sockets) with IPv6. This is very hackish and not correct. -- WBR, Andrey V. Elsukov