From: d@taht.net (Dave Täht)
To: Juliusz Chroboczek <jch@pps.jussieu.fr>
Cc: bloat@lists.bufferbloat.net
Subject: Re: [Bloat] About Stochastic Fair Blue (SFB)
Date: Fri, 04 Feb 2011 11:54:57 -0700 [thread overview]
Message-ID: <874o8jmxz2.fsf@cruithne.co.teklibre.org> (raw)
In-Reply-To: <87wrlfd7eq.fsf@trurl.pps.jussieu.fr> (Juliusz Chroboczek's message of "Fri, 04 Feb 2011 18:41:17 +0100")
Juliusz Chroboczek <jch@pps.jussieu.fr> writes:
>> 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.
Go right ahead! Just tell us where.
> If you suggest the right repo to clone, I'll be glad to do it, and
> you'll be able to merge it afterwards.
My thought was, since there is an upcoming flurry of AQM modules, that
it would be good to have a structure that allowed for them all to be
maintained in a shared repository. So something like a Linux-AQM repo
with a tree for each qdisc. They are highly modular so forking a Linux
branch like Linux-wireless seems like overkill, at the moment.
Thoughts?
>
>> 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.
Great artists steal!
>> 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.
The need for multiple levels of qdisc is that other protocols than TCP
do not have ECN.
>
>> 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.)
Thank you, that clears it up.
>> 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.
Except that other flows can be non-tcp - udp - sctp... Another
"interesting" qdisc is hsfc. I know firsthand how badly different qdiscs
can interact with each other....
>
> --Juliusz
--
Dave Taht
http://nex-6.taht.net
next prev parent reply other threads:[~2011-02-04 18:55 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
2011-02-04 18:54 ` Dave Täht [this message]
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=874o8jmxz2.fsf@cruithne.co.teklibre.org \
--to=d@taht.net \
--cc=bloat@lists.bufferbloat.net \
--cc=jch@pps.jussieu.fr \
/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