From owner-freebsd-performance@FreeBSD.ORG Mon Mar 24 10:54:39 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F403106566B for ; Mon, 24 Mar 2008 10:54:39 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 076788FC16 for ; Mon, 24 Mar 2008 10:54:38 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 36E061B10EF7; Mon, 24 Mar 2008 11:54:37 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 Received: from [10.1.1.2] (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id A22771B10E4E; Mon, 24 Mar 2008 11:54:32 +0100 (CET) Message-ID: <47E7885D.6080507@moneybookers.com> Date: Mon, 24 Mar 2008 12:54:21 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Daniel Andersson References: <24adbbc00803231521h78844f26q77c48573f82408b9@mail.gmail.com> In-Reply-To: <24adbbc00803231521h78844f26q77c48573f82408b9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/6364/Mon Mar 24 10:25:38 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-performance@freebsd.org Subject: Re: Tuning: 100mbit faster, gbit slower. X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 10:54:39 -0000 Daniel Andersson wrote: > Hey! > > I was trying to milk the most out of my 100/100. What I > ended up with was something, to me, quite odd. When I > hadn't done anything I could ftp things from my server > box at 50mb/s and run rtorrent at about 9-10 mb/s at most. > After my "tuning" I can only ftp at a very "choppy" > 30-40mb/s, but rtorrent runs at about 11mb/s. > Are you sure the problem is in the network ? Sounds like the bottleneck is your HDD. You can run netperf to check this :) > This is what I did: > > kern.ipc.maxsockbuf=16777216 > net.inet.tcp.sendbuf_max=16777216 > net.inet.tcp.recvbuf_max=16777216 > > according to > http://dsd.lbl.gov/TCP-tuning/FreeBSD.html > every other setting there was default > I believe. > > I also set these: > > net.inet.tcp.recvspace: 262144 > net.inet.tcp.sendspace: 262144 > > dmesg: > http://pastebin.org/24780 > > Am I just imagining that rtorrent runs faster? > Can't ftp handle high buffers or did I mess > something up? Is there something else I > could do to make it faster? Setting up > polling perhaps? > > Cheers, > Daniel Andersson > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" >