General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <jch@pps.jussieu.fr>
To: d@taht.net (Dave Täht)
Cc: bloat@lists.bufferbloat.net
Subject: Re: [Bloat] About Stochastic Fair Blue (SFB)
Date: Fri, 04 Feb 2011 18:41:17 +0100	[thread overview]
Message-ID: <87wrlfd7eq.fsf@trurl.pps.jussieu.fr> (raw)
In-Reply-To: <87zkqbn896.fsf@cruithne.co.teklibre.org> ("Dave =?iso-8859-1?Q?T=E4ht=22's?= message of "Fri, 04 Feb 2011 08:12:53 -0700")

> Also, would you mind if I also put the SFB code into git somewhere 
> on github? It could use a few minor tweaks (make install). 

If that's okay with you, I'd like to commit it myself.  If you suggest
the right repo to clone, I'll be glad to do it, and you'll be able to
merge it afterwards.

> 1) You can hash against multiple combinations of things. For example, in
> the home gateway scenario, you could hash against IP addresses only, not
> IP/port numbers - to give a per-device level of fairness.

Stolen from esfq.

> 3) It does packet marking... (So has to be used in combination with
> something else)

I think you're confused -- it does ECN marking, not netfilter marking.

> 1) I don't understand how the penalty box concept works.

For each aggregate, sfb maintains a variable, called pdrop, which is the
drop probability for this aggregate; the more agressive a flow, the
higher pdrop.

If the flow is inelastic, i.e. it doesn't slow down in reaction to
dropped packets, pdrop reaches 1.  At that point, sfb should in
principle drop all the packets of this aggregate -- we say that this
aggregate has been put in a penalty box.

(In my implementation of sfb, I'm not actually dropping all the packets
of inelastic flows, I'm just rate-limiting them drastically.)

> 2) I don't understand how it would interact with shaping above and
> below it

There's nothing below sfb, since it's a classless discipline.

You may put anything you wish above sfb.  If you're the bottleneck and
use a driver that performs proper backpressure, it's okay to put
nothing; otherwise, you need to put something to simulate backpressure,
typically tbf or htb.

--Juliusz

  reply	other threads:[~2011-02-04 17:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04  9:46 Juliusz Chroboczek
2011-02-04 13:56 ` Jim Gettys
2011-02-04 17:33   ` [Bloat] Buffer bloat at the sender [was: About Stochastic Fair Blue (SFB)] Juliusz Chroboczek
2011-02-04 18:24     ` Jim Gettys
2011-02-04 18:58       ` [Bloat] Buffer bloat at the sender Juliusz Chroboczek
2011-02-04 19:26         ` Dave Täht
2011-02-04 18:43     ` Dave Täht
2011-02-04 18:56       ` Juliusz Chroboczek
2011-02-04 19:58         ` Dave Täht
2011-02-04 20:14           ` Juliusz Chroboczek
2011-02-04 15:12 ` [Bloat] About Stochastic Fair Blue (SFB) Dave Täht
2011-02-04 17:41   ` Juliusz Chroboczek [this message]
2011-02-04 18:54     ` Dave Täht
2011-02-04 19:02       ` Juliusz Chroboczek

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=87wrlfd7eq.fsf@trurl.pps.jussieu.fr \
    --to=jch@pps.jussieu.fr \
    --cc=bloat@lists.bufferbloat.net \
    --cc=d@taht.net \
    /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