From owner-freebsd-net@FreeBSD.ORG Wed Dec 3 09:47:39 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E347A1065672 for ; Wed, 3 Dec 2008 09:47:39 +0000 (UTC) (envelope-from prvs=julian=216e3e3bb@elischer.org) Received: from smtp-outbound.ironport.com (smtp-outbound.ironport.com [63.251.108.112]) by mx1.freebsd.org (Postfix) with ESMTP id CE8818FC0A for ; Wed, 3 Dec 2008 09:47:39 +0000 (UTC) (envelope-from prvs=julian=216e3e3bb@elischer.org) Received: from unknown (HELO julian-mac.elischer.org) ([10.251.60.87]) by smtp-outbound.ironport.com with ESMTP; 03 Dec 2008 01:18:35 -0800 Message-ID: <49364EF1.90703@elischer.org> Date: Wed, 03 Dec 2008 01:18:41 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Alexander Motin References: <1228234984.00043656.1228222202@10.7.7.3> <493640A9.8080701@FreeBSD.org> In-Reply-To: <493640A9.8080701@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, "Vladimir V. Kobal" Subject: Re: Multiple netgraph threads X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 09:47:40 -0000 Alexander Motin wrote: > Hi. > > Vladimir V. Kobal wrote: >> I'm interested in the information of further development of Subject. I have >> a bottleneck: swi_net limited by one CPU core time. There was a thread >> http://lists.freebsd.org/pipermail/freebsd-net/2008-March/017447.html . >> Patch http://people.freebsd.org/~mav/netgraph.threads.patch is not available >> :(. Could somebody mail it to me. Are there any other similar patches? > > I have uploaded that patch back. Not sure is it correct at this moment, > there was some changes, but that time it worked fine. > > I have measured some benefit on my tests with Core2Quad using NetPerf > cluster. But even having all 4 cores busy, I have got just only about > 20% performance benefit on that test setup (routing between three > Gigabit PPTP links). I suppose it was result of constant cache trashing, > when the same netgraph nodes write-accessed by different CPUs. But may > be on more diverse workload, or with some heavy compression/encryption > used benefit can be bigger. > I would like to see this work followed through..