From: David Collier-Brown <davecb.42@gmail.com>
To: bloat <bloat@lists.bufferbloat.net>
Cc: dave.collier-brown@indexexchange.com
Subject: [Bloat] Rebecca Drucker's talk sounds like it exposes an addressable bloat issue in Ciscos
Date: Sat, 9 Jan 2021 18:01:32 -0500 [thread overview]
Message-ID: <6d393265-cae1-6108-ed90-58ef53abe46a@rogers.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3625 bytes --]
At work, I recently had a database outage due to network saturation and
timeouts, which we proposed to address by setting up a QOS policy for
the machines in question. However, from the discussion in Ms Drucker's
BBR talk, that could lead us to doing /A Bad Thing/ (;-))
Let's start at the beginning, though. The talk, mentioned before in the
list[1], was about the interaction of BBR and large values of buffering,
specifically for video traffic. I attended it, and listened with
interest to the questions from the committee. She subsequently gave me a
copy of the paper and presentation, which I appreciate: it's very good work.
She reported the severity of the effect of large buffers on BBR. I've
attached a screenshot, but the list probably won't take it, so I'll
describe it. After the first few packets with large buffers, RTT rises,
throughput plummets and then throughput stays low for about 200,000 ms.
Then it rises to about half the initial throughput for about 50,000 ms
as RTT falls, then throughput plummets once more. This pattern repeats
throughout the test.
Increasing the buffering in the test environment turns perfectly
reasonable performance into a real disappointment, even though BBR is
trying to estimate /the network’s bandwidth-delay product, BDP, and
regulating its //sending rate to maximize throughput while attempting to
maintain BDP worth of packets in the //buffer, irrespective of the size
of the buffer/.
One of the interesting questions was about the token-bucket algorithm
used in the router to limit performance. In her paper, she discusses the
token bucket filter used by OpenWRT 19.07.1 on a Linksys WRT1900ACS
router. Allowing more than the actual bandwidth of the interface as the
/burst rate/ can exacerbate the buffering problem, so the listener was
concerned that routers "in the wild" might also be contributing to the
poor performance by using token-bucket algorithms with "excess burst
size" parameters.
The very first Cisco manual I found in a Google search explained how to
*/set/* excess burst size (!)
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_plcshp/configuration/12-4/qos-plcshp-12-4-book.pdf
defined excess burst size as /Traffic that falls between the normal
burst size and the Excess Burst size/ and specifies it will be sent
regardless, /with a probability that increases as the burst size increases./
A little later, it explains that the excess or "extended" burst size
/exists so as to avoid tail-drop behavior, and, instead,
engage behavior like that of Random Early Detection (RED)./
In order to avoid tail drop, they suggest the "extended burst" be set to
twice the burst size, where the burst size by definition is the capacity
of the interface, per unit time.
So, folks, am I right in thinking that Cisco's recommendation just might
be a /terrible/ piece of advice?
As a capacity planner, it sounds a lot like they're praying for a
conveniently timed lull after every time they let too many bytes through.
As a follower of the discussion here, the reference to tail drop and RED
sound faintly ... antique.
--dave c-b
[1.
https://www.cs.stonybrook.edu/Rebecca-Drucker-Research-Proficiency-Presentation-Investigating-BBR-Bufferbloat-Problem-DASH-Video
]
<https://www.cs.stonybrook.edu/Rebecca-Drucker-Research-Proficiency-Presentation-Investigating-BBR-Bufferbloat-Problem-DASH-Video>
--
David Collier-Brown, | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb@spamcop.net | -- Mark Twain
[-- Attachment #2: Type: text/html, Size: 5479 bytes --]
next reply other threads:[~2021-01-09 23:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-09 23:01 David Collier-Brown [this message]
2021-01-10 5:39 ` Erik Auerswald
2021-01-10 7:19 ` Jonathan Morton
2021-01-10 7:59 ` Erik Auerswald
2021-01-10 13:21 ` Toke Høiland-Jørgensen
2021-01-12 12:31 ` David Collier-Brown
2021-01-10 14:25 ` David Collier-Brown
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=6d393265-cae1-6108-ed90-58ef53abe46a@rogers.com \
--to=davecb.42@gmail.com \
--cc=bloat@lists.bufferbloat.net \
--cc=dave.collier-brown@indexexchange.com \
--cc=davecb@spamcop.net \
/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