General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch@pps.jussieu.fr>
To: Dave Taht <dave.taht@gmail.com>
Cc: bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] Applying RED93 in south africa
Date: Sat, 28 May 2011 22:07:10 +0200	[thread overview]
Message-ID: <7i62ouk2s1.fsf@lanthane.pps.jussieu.fr> (raw)
In-Reply-To: <BANLkTim2gG+W9sBiGj658qMecLz6esiqNQ@mail.gmail.com> (Dave Taht's message of "Sat, 21 May 2011 08:27:39 -0600")

> 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

  parent reply	other threads:[~2011-05-28 19:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-21 14:27 Dave Taht
2011-05-21 19:11 ` Jonathan Morton
2011-05-21 19:29   ` Dave Taht
2011-05-28 20:02 ` Juliusz Chroboczek
2011-05-31 15:02   ` Jim Gettys
2011-05-28 20:07 ` Juliusz Chroboczek [this message]
2011-05-28 20:16   ` Dave Taht
2011-05-28 20:30     ` Juliusz Chroboczek
2011-05-28 20:59   ` [Bloat] SFB tuning (was Re: Applying RED93 in south africa) Otto Solares Cabrera
2011-05-29 15:29     ` [Bloat] SFB tuning Juliusz Chroboczek
2011-05-30  0:52       ` Otto Solares Cabrera
2011-05-30 22:05         ` Juliusz Chroboczek
2011-05-30 23:37           ` Otto Solares Cabrera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7i62ouk2s1.fsf@lanthane.pps.jussieu.fr \
    --to=jch@pps.jussieu.fr \
    --cc=bloat@lists.bufferbloat.net \
    --cc=dave.taht@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox