From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Jesper Dangaard Brouer <brouer@redhat.com>, erik.taraldsen@telenor.com
Cc: muscariello@ieee.org, priyarjha@google.com,
bloat@lists.bufferbloat.net, lumuscar@cisco.com,
brouer@redhat.com, Marek Majkowski <marek@cloudflare.com>,
Carlo Carraro <colrack@gmail.com>
Subject: Re: [Bloat] BBR implementations, knobs to turn?
Date: Fri, 20 Nov 2020 13:42:47 +0100 [thread overview]
Message-ID: <877dqgrygo.fsf@toke.dk> (raw)
In-Reply-To: <20201120121027.2a61b319@carbon>
Jesper Dangaard Brouer <brouer@redhat.com> writes:
> Hi Erik,
>
> I really appreciate that you are reaching out to the bufferbloat community
> for this real-life 5G mobile testing. Lets all help out Erik.
Yes! FYI, I've been communicating off-list with Erik for quite some
time, he's doing great work but fighting the usual up-hill battle to get
others to recognise the issues; so +1, let's give him all the help we
can :)
> From your graphs, it does look like you are measuring latency
> under-load, e.g. while the curl download/upload is running. This is
> great as this is the first rule of bufferbloat measuring :-) (and Luca
> hinted to this)
>
> The Huawei policer/shaper sounds scary. And 1000 packets deep queue
> also sound like a recipe for bufferbloat. I would of-cause like to
> re-write the Huawei policer/shaper with the knowledge and techniques we
> know from our bufferbloat work in the Linux Kernel. (If only I knew
> someone that coded on 5G solutions that could implement this on their
> hardware solution, and provide a better product Cc. Carlo)
>
> Are you familiar with Toke's (cc) work/PhD on handling bufferbloat on
> wireless networks? (Hint: Airtime fairness)
>
> Solving bufferbloat in wireless networks require more than applying
> fq_codel on the bottleneck queue, it requires Airtime fairness. Doing
> scheduling based Clients use of Radio-time and transmit-opportunities
> (TXOP), instead of shaping based on bytes. (This is why it can (if you
> are very careful) make sense to "holding back packets a bit" to
> generate a packet aggregate that only consumes one TXOP).
>
> The culprit is that each Client/MobilePhone will be sending at
> different rates, and scheduling based on bytes, will cause a Client with
> a low rate to consume a too large part of the shared radio airtime.
> That basically sums up Toke's PhD ;-)
Much as I of course appreciate the call-out, airtime fairness itself is
not actually much of an issue with mobile networks (LTE/5G/etc)... :)
The reason being that they use TDMA scheduling enforced by the base
station; so there's a central controller that enforces airtime usage
built into the protocol, which ensures fairness (unless the operator
explicitly configures it to be unfair for policy reasons). So the new
insight in my PhD is not so much "airtime fairness is good for wireless
links" as it is "we can achieve airtime fairness in CDMA/CS-scheduled
networks like WiFi".
Your other points about bloated queues etc, are spot on. Ideally, we
could get operators to fix their gear, but working around the issues
like Erik is doing can work in the meantime. And it's great to see that
it seems like Telenor is starting to roll this out; as far as I can tell
that has taken quite a bit of advocacy from Erik's side to get there! :)
-Toke
next prev parent reply other threads:[~2020-11-20 12:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-16 15:25 erik.taraldsen
2020-11-16 21:14 ` Neal Cardwell
2020-11-17 10:05 ` erik.taraldsen
2020-11-17 15:07 ` Jesper Dangaard Brouer
2020-11-19 7:57 ` erik.taraldsen
2020-11-19 13:32 ` Luca Muscariello
2020-11-19 14:35 ` erik.taraldsen
2020-11-20 11:10 ` Jesper Dangaard Brouer
2020-11-20 12:42 ` Toke Høiland-Jørgensen [this message]
2020-11-23 12:57 ` erik.taraldsen
2020-11-30 17:18 ` Aaron Wood
2020-11-20 23:34 ` Neal Cardwell
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=877dqgrygo.fsf@toke.dk \
--to=toke@toke.dk \
--cc=bloat@lists.bufferbloat.net \
--cc=brouer@redhat.com \
--cc=colrack@gmail.com \
--cc=erik.taraldsen@telenor.com \
--cc=lumuscar@cisco.com \
--cc=marek@cloudflare.com \
--cc=muscariello@ieee.org \
--cc=priyarjha@google.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