Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Jonathan Morton <chromatix99@gmail.com>
To: Dave Taht <dave.taht@gmail.com>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] cake byte limits too high by 10x
Date: Fri, 29 May 2015 16:02:17 +0300	[thread overview]
Message-ID: <CAJq5cE1C7x2bdJLCs1Z5Q89ubEYFDC5MSYbTk2ff0kaT8qGrpg@mail.gmail.com> (raw)
In-Reply-To: <CAA93jw60SFUP4BObBwCOy88nc5_jfykGK=45+09V+MMN0kNkyQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1858 bytes --]

> > What wifi needs is a bit different:
> >
> > (hosts/aggregates?) -> (shapers/minstrel?) -> priority -> flows ->
signalling -> queues

> Yep.

> I don't see a huge need for "shaping" on wifi. I do see a huge need - as
a starting point - an airtime fair per station queue that is aggregation
aware, and slightly higher up, something that is aware of the overall
workload on the AP.

Which is basically what I'm thinking of. "Airtime fair" is also known as
"proportional fair". You need to know the data rate to each station for
that.

But knowing the data rate via minstrel, and the average expected time
between transit opportunities to each station (which could probably be
calculated rather than measured), would allow inferring certain things that
I currently do using the shaper in cake, such as the appropriate size for
the aggregate, and the amount of bandwidth that we can allow priority in.
The only reason I can't reliably do that in cake with the shaper disabled
is because I can't sense the hardware link rate, which is exactly what
minstrel is in charge of.

Incidentally, I suspect that aggregates of equal temporal length are
valuable for multi station MIMO.

It's also pretty obvious that selective link layer acks need to be acted
on, and aggregates reformed for each transmit opportunity, whether a retry
or not. I'm very disappointed to hear that those things often aren't
already done, but it's probably a consequence of leaving that functionality
to the hardware vendors so far. It's even possible that the current mess of
binary blobs is a consequence of the weak support for aggregation in the
kernel.

Probably not so much raw code (which autocorrected to coffee TWICE) can be
reused from cake, not least due to simply operating at a different layer of
the stack, but I think a lot of the conceptual advances can.

- Jonathan Morton

[-- Attachment #2: Type: text/html, Size: 2134 bytes --]

  parent reply	other threads:[~2015-05-29 13:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-24  5:14 Dave Taht
2015-05-25  4:47 ` Jonathan Morton
2015-05-25 19:46   ` Dave Taht
2015-05-29 12:24     ` Jonathan Morton
2015-05-29 12:36     ` Jonathan Morton
2015-05-29 13:02     ` Jonathan Morton [this message]
2015-05-29 17:49       ` Dave Taht

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/cake.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=CAJq5cE1C7x2bdJLCs1Z5Q89ubEYFDC5MSYbTk2ff0kaT8qGrpg@mail.gmail.com \
    --to=chromatix99@gmail.com \
    --cc=cake@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