[Bloat] What is fairness, anyway? was: Re: finally... winning on wired!
Dave Taht
dave.taht at gmail.com
Fri Jan 6 13:09:03 EST 2012
On Fri, Jan 6, 2012 at 6:42 PM, Jim Gettys <jg at freedesktop.org> wrote:
> On 01/05/2012 12:52 PM, Bob Briscoe wrote:
> Eric, Dave, care to explain exactly what these queuing disciplines are
> doing, and how they differ?
Well, they are changing so fast as eric assembles pieces of the puzzle
that I think doing it in a wiki page makes more sense than email.
The latest piece is Eric's combination of SFQ and RED which
has some very interesting properties, with a good description
is described here:
http://patchwork.ozlabs.org/patch/134677/
There's still some more pieces left to come (coping with
time in queue for variable bandwidth), but the results thus far have
been very encouraging.
While I compose my thoughts, kernel bql-15 contains the above patch
(and several dozen more prior - all of which besides the above
are now in linux-3.3)
http://huchra.bufferbloat.net/~d/bql/
and debloat-iproute2 will contain (as soon as I patch it in) stuff to
exercise it
(I think adaptive red is missing, too from the iproute2 tree )
https://github.com/dtaht/deBloat-iproute2
It already has code to exercise everything else that has gone in in the
past few weeks for QFQ, netem, and SFQ.
Stuff to exercise qfq is in deBloat
Trying to write all this up comprehensively is going to take a
while. Let me get some stuff patched and built first...
>
>>
>> Since 2004, we now understand that fairness has to involve accounting
>> over time. That requires per-user state, which is not something you
>> can do, or that you need to do, within every queue. We should leave
>> fairness to separate code, probably on machines specialising in this
>> at the edge of a provider's network domain - where it knows about
>> users/customers - separate from the AQM code of each specific queue.
>
>
> In home routers we *are* at the very edge of the network (in fact beyond
> the ISP's domain in the case of cable), and that is the focus of the
> experiments that Eric and Dave have been doing. And here we can afford
> to keep track of per-user state in those devices. That some of these
> queuing disciplines have such nice effects on latency of many
> applications is gravy.
>
> This is the point where we go from multiple *users* to the single
> *customer*, which is what you see from where you sit.
>
> I think "fair queueing" (whatever fair means) is pretty orthogonal to
> AQM in general: we need AQM to keep the overall buffers from filling
> from elephant flows and running full, which is never good, and causes
> packet loss, which ultimately these queuing disciplines don't handle...
> And AQM is probably all that is needed upstream of the customer,
> particularly since "fairness" is entirely in the eye of the beholder.
> And we still need an AQM known to work presented with variable bandwidth
> :-(....
>
> I think we're in agreement here. And if not, this is the time to get
> everyone to understand and share terminology.
>
> - Jim
>
>>
>>
>> Bob
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ________________________________________________________________
>> Bob Briscoe, BT Innovate & Design
>
--
Dave Täht
SKYPE: davetaht
US Tel: 1-239-829-5608
FR Tel: 0638645374
http://www.bufferbloat.net
More information about the Bloat
mailing list