General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: "David P. Reed" <dpreed@deepplum.com>
To: "Dave Taht" <dave.taht@gmail.com>
Cc: "bloat" <bloat@lists.bufferbloat.net>,
	"cerowrt-devel" <cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Bloat] [Cerowrt-devel] uplink bufferbloat and scheduling problems
Date: Wed, 1 Dec 2021 15:26:31 -0500 (EST)	[thread overview]
Message-ID: <1638390391.091227727@apps.rackspace.com> (raw)
In-Reply-To: <CAA93jw48R8YfCR6TPWwdsDPA1=gzJjRMKo6c0nxfWvKt1ws0tQ@mail.gmail.com>

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


What's the difference between uplink and downlink?  In DOCSIS the rate asymmetry was the issue. But in WiFi, the air interface is completely symmetric (802.11ax, though, maybe not because of centrally polling).
 
In any CSMA link (WiFi), there is no "up" or "down". There is only sender and receiver, and each station and the AP are always doing both.
 
The problem with shared media links is that the "waiting queue" is distributed, so to manage queue depth, ALL of the potential senders must respond aggressively to excess packets.
 
This is why a lot (maybe all) of the silicon vendors are making really bad choices w.r.t. bufferbloat by adding buffering in the transmitter chip itself, and not discarding or marking when queues build up. It's the same thing that constantly leads hardware guys to think that more memory for buffers improves throughput, and only advertising throughput.
 
To say it again: More memory *doesn't* improve throughput when the queue depths exceed one packet on average, and it degrades "goodput" at higher levels by causing the ultimate sender to "give up" due to long latency. (at the extreme, users will just click again on a slow URL, causing all the throughput to be "badput", because they force the system to transmit it again, while leaving packets clogging the queues.
 
So, if you want good performance on a shared radio medium, you need to squish each flow's queue depth down from sender to receiver to "average < 1 in queue", and also drop packets when there are too many simultaneous flows competing for airtime. And if your source process can't schedule itself frequently enough, don't expect the network to replace buffering at the TCP source and destination - it is not intended to be a storage system.
 
 
 
On Tuesday, November 30, 2021 7:13pm, "Dave Taht" <dave.taht@gmail.com> said:



> Money quote: "Figure 2a is a good argument to focus latency
> research work on downlink bufferbloat."
> 
> It peaked at 1.6s in their test:
> https://hal.archives-ouvertes.fr/hal-03420681/document
> 
> --
> I tried to build a better future, a few times:
> https://wayforward.archive.org/?site=https%3A%2F%2Fwww.icei.org
> 
> Dave Täht CEO, TekLibre, LLC
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel
> 

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

  reply	other threads:[~2021-12-01 20:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01  0:13 [Bloat] " Dave Taht
2021-12-01 20:26 ` David P. Reed [this message]
2021-12-01 21:06   ` [Bloat] [Cerowrt-devel] " David Lang
2021-12-01 21:09   ` David Lang
2021-12-01 22:28     ` Valdis Klētnieks
2021-12-02  0:10       ` Toke Høiland-Jørgensen
2021-12-02  9:09         ` David Lang
2021-12-02 17:20     ` Dave Collier-Brown
2021-12-02 19:33       ` David Lang
2021-12-02  8:11   ` Jan Ceuleers
2021-12-02  8:45   ` Sebastian Moeller

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=1638390391.091227727@apps.rackspace.com \
    --to=dpreed@deepplum.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=cerowrt-devel@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