From owner-freebsd-current@FreeBSD.ORG Fri Jul 20 08:08:53 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ECFA16A418 for ; Fri, 20 Jul 2007 08:08:53 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f01:ffff::121]) by mx1.freebsd.org (Postfix) with ESMTP id 9EBC513C46E for ; Fri, 20 Jul 2007 08:08:52 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l6K87oMM021991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jul 2007 09:07:52 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <46A06D8D.1070604@unsane.co.uk> Date: Fri, 20 Jul 2007 09:08:45 +0100 From: Vince User-Agent: Thunderbird 2.0.0.4 (X11/20070717) MIME-Version: 1.0 To: =?ISO-8859-1?Q?St=E5le_Kristoffersen?= References: <20070716190441.GA19282@eschew.pusen.org> <20070716213425.GB19282@eschew.pusen.org> <20070718041159.GC37935@cdnetworks.co.kr> <20070718044700.GE37935@cdnetworks.co.kr> <20070718124350.GA25799@eschew.pusen.org> In-Reply-To: <20070718124350.GA25799@eschew.pusen.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: current@freebsd.org Subject: Re: Slow networkperformance in current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 08:08:53 -0000 Ståle Kristoffersen wrote: > On 2007-07-18 at 13:47, Pyun YongHyeon wrote: >> > I'm not sure it's directly related with re(4) but try overhauled re(4). >> > http://people.freebsd.org/~yongari/re.HEAD.patch >> > It seems that you also have PCIe based NIC. Try MSI patch for re(4) >> > in addition to above one. > >> Oops, here is MSI patch. >> http://people.freebsd.org/~yongari/re.msi.patch > > For anyone else wanting to test those patches the url was wrong, the > correct ones seems to be: > http://people.freebsd.org/~yongari/re/re.msi.patch > and > http://people.freebsd.org/~yongari/re/re.HEAD.patch > > I applied them, recompiled and rebooted. > > Not much change. Over the network: > [ 3] 0.0-10.0 sec 432 MBytes 362 Mbits/sec > and to localhost: > [ 3] 0.0-10.1 sec 125 MBytes 104 Mbits/sec > Silly as it might seem when did you last recompile the iperf port? I was about to post a me too post yesterday, until I updated my system to use the latest sched_ule at which point iperf froze my system completely, recompiling the port fixed the freeze and the <100Mbit/sec on localhost. I think it was compiled against the wrong threading library (been a while since i last recompiled it.) However i am seeing a gradual increase of speed the more i run it, caching of some type i assume. (jhary@prawn)$iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 51930 [ 4] 0.0-10.5 sec 1002 MBytes 798 Mbits/sec [ 5] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 59561 [ 5] 0.0-10.0 sec 1.87 GBytes 1.61 Gbits/sec [ 4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 55966 [ 4] 0.0-10.1 sec 2.07 GBytes 1.77 Gbits/sec [ 5] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 59935 [ 5] 0.0-10.0 sec 2.07 GBytes 1.78 Gbits/sec [ 4] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 57795 Vince