Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934986Ab0GOXOa (ORCPT ); Thu, 15 Jul 2010 19:14:30 -0400 Received: from mail.tmr.com ([64.65.253.246]:41481 "EHLO partygirl.tmr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933661Ab0GOXO3 (ORCPT ); Thu, 15 Jul 2010 19:14:29 -0400 Message-ID: <4C3F9650.1040800@tmr.com> Date: Thu, 15 Jul 2010 19:14:24 -0400 From: Bill Davidsen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090507 Fedora/1.1.16-1.fc9 NOT Firefox/3.0.11 SeaMonkey/1.1.16 MIME-Version: 1.0 Newsgroups: gmane.linux.network,gmane.linux.kernel To: David Miller CC: lists@wildgooses.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: Raise initial congestion window size / speedup slow start? References: <4C3D94E3.9080103@wildgooses.com> <4C3DD5EB.9070908@tmr.com> <20100714.111553.104052157.davem@davemloft.net> In-Reply-To: <20100714.111553.104052157.davem@davemloft.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1848 Lines: 39 David Miller wrote: > From: Bill Davidsen > Date: Wed, 14 Jul 2010 11:21:15 -0400 > >> You may have to go into /proc/sys/net/core and crank up the >> rmem_* settings, depending on your distribution. > > You should never, ever, have to touch the various networking sysctl > values to get good performance in any normal setup. If you do, it's a > bug, report it so we can fix it. > > I cringe every time someone says to do this, so please do me a favor > and don't spread this further. :-) > I think transit time measured in 1/10th sec would disqualify this as a "normal setup." High bandwidth and high latency don't work well because you get "send until the window is full then wait for ack" and poor performance. I saw this with sat feed to Wyoming from GE's Research Center in upstate NY in the late 80's or early 90's. (I think this was NYserNet at that time). I did feeds from NYC area to California and Hawaii with SBC in the early to mid 2k years. In every case SunOS, Solaris, AIX and Linux all failed to hit anything like reasonable transfer speeds without manually tweaking, and I got the advice on increasing window size from network engineers at ISPs and backbone providers. The O.P. may have other issues, and may benefit from doing other things as well, but raising window size is a reasonable thing to do on links with RTT in hundreds of ms, and it's easy to try without changing config files. -- Bill Davidsen "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/