<div dir="ltr">I strongly suggest that people (re)read VJ88 - I do every couple of years, and still discover things that I overlooked on previous readings.<div><br><div>All of the negative comments about BBR and loss, ECN marks, or unfairness to cubic were correct for BBRv1 but have been addressed in BBRv2.</div><div><br></div><div>My paper has a synopsis of BBR, which is intended to get people started. See the references in the paper for more info:</div><div><br></div><div>[12] Neal Cardwell, Yuchung Cheng, C. Stephen Gunn, Soheil Hassas Yeganeh, and Van Jacobson. 2016. BBR: Congestion-Based Congestion Control. Queue 14, 5, Pages 50 (October 2016). DOI: <a href="https://doi.org/10.1145/3012426.3022184">https://doi.org/10.1145/3012426.3022184</a><br>[13] Neal Cardwell, Yuchung Cheng, C. Stephen Gunn, Soheil Hassas Yeganeh, and Van Jacobson. 2017. BBR: Congestion-Based Congestion Control. Commun. ACM 60, 2 (January 2017), 58-66. DOI: <a href="https://doi.org/10.1145/3009824">https://doi.org/10.1145/3009824</a></div><div>[22] google/bbr. 2019. GitHub repository, retrieved <a href="https://github.com/google/bbr">https://github.com/google/bbr</a></div><div><br></div><div>Key definitions: self clocked: data is triggered by ACKs. All screwy packet and ACK scheduling in the network is reflected back into the network on the next RTT.</div><div><br></div><div>Paced: data is transmitted on a timer, independent of ACK arrivals (as long as the ACKs take less than twice the measured minRTT). Thus in bulk transport there is little or no correlation between data transmissions and events elsewhere in the network. </div><div><br></div><div>Clarification about my earlier WiFi comment: The BBRv1 WiFi fix missed 4.19 LTS, so bad results are "expected" for many distros. If you want to do useful experiments, you must read <a href="https://groups.google.com/g/bbr-dev/">https://groups.google.com/g/bbr-dev/</a> and start from BBRv2 in [22].</div><div><br><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Thanks,</div>--MM--<br>The best way to predict the future is to create it. - Alan Kay<br><br>We must not tolerate intolerance;</div><div dir="ltr"> however our response must be carefully measured: </div><div> too strong would be hypocritical and risks spiraling out of control;</div><div> too weak risks being mistaken for tacit approval.</div></div></div></div></div></div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 4, 2020 at 11:29 AM Sebastian Moeller <<a href="mailto:moeller0@gmx.de">moeller0@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On Jul 4, 2020, at 19:52, Daniel Sterling <<a href="mailto:sterling.daniel@gmail.com" target="_blank">sterling.daniel@gmail.com</a>> wrote:<br>
> <br>
> On Sat, Jul 4, 2020 at 1:29 PM Matt Mathis via Bloat<br>
> <<a href="mailto:bloat@lists.bufferbloat.net" target="_blank">bloat@lists.bufferbloat.net</a>> wrote:<br>
> "pacing is inevitable, because it saves large content providers money<br>
> (more efficient use of the most expensive silicon in the data center,<br>
> the switch buffer memory), however to use pacing we walk away from 30<br>
> years of experience with TCP self clock"<br>
> <br>
> at the risk of asking w/o doing any research,<br>
> <br>
> could someone explain this to a lay person or point to a doc talking<br>
> about this more?<br>
> <br>
> What does BBR do that's different from other algorithms?<br>
<br>
Well, it does not believe the network (blindly), that is currently it ignores both ECN marks and (sparse) drops as signs of congestion, instead it uses its own rate estimates to set its send rate and cyclically will re-assess its rate estimate. Sufficiently severe drops will be honored. IMHO a somewhat risky approach, that works reasonably well, as often sparse drops are not real signs of congestion but just random drops of say a wifi link (that said, these drops on wifi typically also cause painful latency spikes as wifi often takes heroic measures in attempting retransmitting for several 100s of milliseconds).<br>
<br>
<br>
> Why does it<br>
> break the clock?<br>
<br>
One can argue that there is no real clock to break. TCP gates the release on new packets on the reception of ACK signals from the receiver, this is only a clock, if one does not really care for the equi-temporal period property of a real clock. But for better or worse that is the term that is used. IMHO (and I really am calling this from way out in the left-field) gating would be a better term, but changing the nomenclature probably is not an option at this point.<br>
<br>
> Before BBR, was the clock the only way TCP did CC?<br>
<br>
No, TCP also interpreted a drop (or rather 3 duplicated ACKs) as signal of congestion and hit the brakes, by halving the congestion window (the amount of data that could be in flight unacknowledged, which roughly correlates with the send rate, if averaged over long enough time windows). BBR explicitly does not do this unless it really is convinced that someone dropped multiple packets purposefully to signal congestion.<br>
In practice it works rather well, in theory it could do with at least an rfc3168 compliant response to ECN marks (which an AQM uses to explicitly signal congestion, unlike a drop an ECN mark is really unambiguous, some hop on the way "told" the flow slow down).<br>
<br>
<br>
> <br>
> Also,<br>
> <br>
> I have UBNT "Amplifi" HD wifi units in my house. (HD units only; none<br>
> of the "mesh" units. Just HD units connected either via wifi or<br>
> wired.) Empirically, I've found that in order to reduce latency, I<br>
> need to set cake to about 1/4 of the total possible wifi speed;<br>
> otherwise if a large download comes down from my internet link, that<br>
> flow causes latency.<br>
> <br>
> That is, if I'm using 5ghz at 20mhz channel width, I need to set<br>
> cake's bandwidth argument to 40mbits to prevent video streams /<br>
> downloads from impacting latency for any other stream. This is w/o any<br>
> categorization at all; no packet marking based on port or anything<br>
> else; cake set to "best effort".<br>
> <br>
> Anything higher and when a large amount of data comes thru, something<br>
> (assumedly the buffer in the Amplifi HD units) causes 100s of<br>
> milliseconds of latency.<br>
> <br>
> Can anyone speak to how BBR would react to this? My ISP is full<br>
> gigabit; but cake is going to drop a lot of packets as it throttles<br>
> that down to 40mbit before it sends the packets to the wifi AP.<br>
> <br>
> Thanks,<br>
> Dan<br>
> _______________________________________________<br>
> Bloat mailing list<br>
> <a href="mailto:Bloat@lists.bufferbloat.net" target="_blank">Bloat@lists.bufferbloat.net</a><br>
> <a href="https://lists.bufferbloat.net/listinfo/bloat" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/bloat</a><br>
<br>
</blockquote></div>