From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id 5F814201757 for ; Sat, 28 May 2011 12:52:15 -0700 (PDT) Received: from hydrogene.pps.jussieu.fr (hydrogene.pps.jussieu.fr [134.157.168.1]) by shiva.jussieu.fr (8.14.4/jtpda-5.4) with ESMTP id p4SK7BvA039171 ; Sat, 28 May 2011 22:07:24 +0200 (CEST) X-Ids: 168 Received: from lanthane.pps.jussieu.fr (lanthane.pps.jussieu.fr [134.157.168.57]) by hydrogene.pps.jussieu.fr (Postfix) with ESMTPS id B83A1C381F; Sat, 28 May 2011 22:07:10 +0200 (CEST) Received: from jch by lanthane.pps.jussieu.fr with local (Exim 4.76) (envelope-from ) id 1QQPmw-0002Cy-JC; Sat, 28 May 2011 22:07:10 +0200 From: Juliusz Chroboczek To: Dave Taht References: Date: Sat, 28 May 2011 22:07:10 +0200 In-Reply-To: (Dave Taht's message of "Sat, 21 May 2011 08:27:39 -0600") Message-ID: <7i62ouk2s1.fsf@lanthane.pps.jussieu.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Miltered: at jchkmail.jussieu.fr with ID 4DE155EF.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4DE155EF.000/134.157.168.1/hydrogene.pps.jussieu.fr/hydrogene.pps.jussieu.fr/ Cc: bloat Subject: Re: [Bloat] Applying RED93 in south africa X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2011 19:52:15 -0000 > SFB is also in this release, but lacking good scripts for it... SFB is supposed to be self-tuning, so it should be enough to say something like: #!/bin/sh set -e if=${1:-eth0} tc -s qdisc del root dev $if 2>/dev/null || true tc -s qdisc add dev $if root handle 1: tbf ... tc -s qdisc add dev $if parent 1: handle 2: sfb However, I may have made the SFB defaults a little bit too conservative (leading to high stability but slow convergence), so you may want to make it a little bit more aggressive by replacing the last line with: tc -s qdisc add dev $if parent 1: handle 2: sfb target 20 max 25 increment 0.005 decrement 0.0001 -- Juliusz