From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-iw0-f171.google.com (mail-iw0-f171.google.com [209.85.214.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 45AE7201728 for ; Sat, 28 May 2011 13:00:58 -0700 (PDT) Received: by iwn8 with SMTP id 8so3241512iwn.16 for ; Sat, 28 May 2011 13:16:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=J660lhHOZjIo1h1T/o8EGnvqAAq+ZwUT0El3bBVjS8U=; b=XjJcGvQlOrpJinyeXXS4wyEi5vaeUMwMWdo/HS42po3rBmEM2i+xsr6tYoxOxOWaYI mZG/zOC1Kqo9tcMxPeXVXCe30kOh7+vQdAGfGRjqN5dnbEiSuSu/t7unll+iy6EqZpzY D86EM7w/Pd6nlElkJSMYghc3nEW5TXKjwljeM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rQ1F7//lJnMt3YR+rbBiUKF8DaxpGh+QDUgz85sv5pE5ClsM8VzWm9frcmzlIwgp7e nEySBC43vK2UONZQOofTD5yG6RQdd/qpETUo78TaqTi8NTIDCRrH7enPa9qp9aLc2Y6s JQcureocbjjDpbOgId4ymb1HrzXPvfRus4/jw= MIME-Version: 1.0 Received: by 10.231.74.7 with SMTP id s7mr3995706ibj.172.1306613783761; Sat, 28 May 2011 13:16:23 -0700 (PDT) Received: by 10.231.39.203 with HTTP; Sat, 28 May 2011 13:16:23 -0700 (PDT) In-Reply-To: <7i62ouk2s1.fsf@lanthane.pps.jussieu.fr> References: <7i62ouk2s1.fsf@lanthane.pps.jussieu.fr> Date: Sat, 28 May 2011 14:16:23 -0600 Message-ID: From: Dave Taht To: Juliusz Chroboczek Content-Type: multipart/alternative; boundary=000e0cd6b24470961504a45bba41 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 20:00:58 -0000 --000e0cd6b24470961504a45bba41 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, May 28, 2011 at 2:07 PM, Juliusz Chroboczek wro= te: > > 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=3D${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 increme= nt > 0.005 decrement 0.0001 > regretablly the SFB patches to tc didn't make this release of 'bismark captown', just the SFB kernel backport to 2.6.37.6. But as soon as I/someone can either get iproute 2.6.39 ported to openwrt, o= r backport those patches from net-next, I look forward very much to trying SF= B in the lab and in some real world scenarios. > -- Juliusz > --=20 Dave T=E4ht SKYPE: davetaht US Tel: 1-239-829-5608 http://the-edge.blogspot.com --000e0cd6b24470961504a45bba41 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sat, May 28, 2011 at 2:07 PM, Juliusz= Chroboczek <jch= @pps.jussieu.fr> wrote:
> SFB is also in this release, but lacking good script= s for it...

SFB is supposed to be self-tuning, so it should be enough to say
something like:

=A0#!/bin/sh
=A0set -e

=A0if=3D${1:-eth0}

=A0tc -s qdisc del root dev $if 2>/dev/null || true
=A0tc -s qdisc add dev $if root handle 1: tbf ...
=A0tc -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:

=A0tc -s qdisc add dev $if parent 1: handle 2: sfb target 20 max 25 increm= ent 0.005 decrement 0.0001

regretablly the SFB pat= ches to tc didn't make this release of 'bismark captown', just = the SFB kernel backport to 2.6.37.6.

But as soon as I/someone can either get iproute 2.6.39 ported to openwr= t, or backport those patches from net-next, I look forward very much to try= ing SFB in the lab and in some real world scenarios.
=A0


-- Juliusz



--
Dave T=E4ht
S= KYPE: davetaht
US Tel: 1-239-829-5608
http://the-edge.blogspot.com
--000e0cd6b24470961504a45bba41--