From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rmsmo-0002iO-Nm for garchives@archives.gentoo.org; Mon, 16 Jan 2012 20:04:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 573C2E0767 for ; Mon, 16 Jan 2012 20:04:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D3F1EE06FE for ; Mon, 16 Jan 2012 19:11:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 695B1654CD for ; Mon, 16 Jan 2012 19:11:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -3.31 X-Spam-Level: X-Spam-Status: No, score=-3.31 tagged_above=-999 required=5.5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pJ40AsIlheh7 for ; Mon, 16 Jan 2012 19:11:00 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 90C791B401A for ; Mon, 16 Jan 2012 19:10:59 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RmrxI-0003uD-5B for gentoo-server@gentoo.org; Mon, 16 Jan 2012 20:10:56 +0100 Received: from cpc2-enfi16-2-0-cust659.hari.cable.virginmedia.com ([94.170.82.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jan 2012 20:10:56 +0100 Received: from kerframil by cpc2-enfi16-2-0-cust659.hari.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Jan 2012 20:10:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-server@lists.gentoo.org From: Kerin Millar Subject: [gentoo-server] Re: Relatively recent guide on TCP congestion-avoidance algo's & traffic shaping Date: Mon, 16 Jan 2012 19:10:25 +0000 Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@lists.gentoo.org Reply-to: gentoo-server@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc2-enfi16-2-0-cust659.hari.cable.virginmedia.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111224 Thunderbird/9.0.1 In-Reply-To: X-Archives-Salt: bf4b6a9e-f9c2-4039-8aed-a70b2ab283aa X-Archives-Hash: f515f22aa394155daddef383b9bd7423 On 01/07/2011 01:58, Pandu Poluan wrote: > Another factor that made me re-think my setup is the 'strange' > characteristics of traffic between my office and our > brand-spankin'-new subsidiary office 14 floors below us: SSH is very > nice, but any big file transfers (sftp, http, ftp, cifs,*anything* > biggish) will run well only for the first 10 seconds or so, before > slowing to a crawl (and even managed to make WinSCP complaining of 'no > response for 15 seconds'). But the ping's have no dropped packets at > all. With respect to this particular syndrome, I have found the approach described here to be extraordinarily effective:- http://blog.edseek.com/~jasonb/articles/traffic_shaping/scenarios.html At the time of writing, the link appears to be down but you should able to access it via Google's cache. Also, check out the tosfix() function in FireHOL, which demonstrates the above implementation (and happens to be the best iptables wrapper, imho). There's an ebuild in portage but I would advise that you supplement it by grabbing the latest instance of the "firehol.sh" script from upstream CVS. Cheers, --Kerin