[Bloat] [bbr-dev] Re: Are we heading towards a BBR-dominant Internet?
Neal Cardwell
ncardwell at google.com
Sun Apr 2 09:45:12 EDT 2023
On Tue, Mar 28, 2023 at 5:36 AM Ayush Mishra <ayumishra.95 at gmail.com> wrote:
> Hey Neal,
>
> I was revisiting this thread before presenting this paper in iccrg
> tomorrow - and I was particularly intrigued by one of the motivations you
> mentioned for BBR:
>
> "BBR is not trying to maintain a higher throughput than CUBIC in these
> kinds of scenarios with steady-state bulk flows. BBR is trying to be
> robust to the kinds of random packet loss that happen in the real world
> when there are flows dynamically entering/leaving a bottleneck."
>
> BBRv1 essentially tried to deal with this problem by doing away with
> packet loss as a congestion signal and having an entirely different
> philosophy to congestion control. However, if we set aside the issue of
> buffer bloat, I would imagine packet loss is a bad congestion signal in
> this situation because most loss-based congestion control algorithms use it
> as a binary signal with a binary response (back-off or no back-off). In
> other words, I feel the blame must be placed on not just the congestion
> signal, but also on how most algorithms respond to this congestion signal.
>
I would even go a little further, and say we don't need to "blame" loss as
a congestion signal: usually it's telling us something useful and important.
AFAICT the problem is in the combination of:
(a) only using loss as a signal
(b) only reacting to whether there is packet loss in a round trip as a
signal
(c) only using a single multiplicative decrease as a response to loss
detected in fast recovery
AFAICT any algorithm that has those properties (like Reno and CUBIC) simply
can't scale to large BDPs if there are typical levels of loss or the
traffic or available bandwidth is dynamic. At large BDPs and typically
achievable loss rates, there will be packet loss in every round trip and
the connection will always be decreasing rather than increasing, so will
starve. For example, with a BDP of 10 Gbps * 100ms and MTU of 1500 bytes
and loss rate of 0.0012% we'd expect a packet loss every round trip, and
so we would expect starvation. In particular, a single CUBIC flow over such
a path needs >40 secs between experiencing any losses, or a loss rate less
than 0.0000029% (2.9e-8) [ https://tools.ietf.org/html/rfc8312#section-5.2
].
> On a per-packet basis, packet loss is a binary signal. But over a window,
> the loss percentage and distribution, for example, can be a rich signal.
> There is probably scope for differentiating between different kinds of
> packet losses (and deciding how to react to them) when packet loss is
> coupled with the most recent delay measurement too. Now that BBRv2 reacts
> to packet loss, are you making any of these considerations too?
>
Yes, I agree there is useful information there, and BBRv2 does look
explicitly and indirectly at the loss rate when making decisions. BBRv2
does not look at coupling the loss signal with the most recent delay
measurement, but I agree that seems like a fruitful direction, and we have
been considering that as a component of future CC algorithms.
> This is not something I plan to present in iccrg tomorrow, just something
> I was curious about :)
>
Thanks for posting! I agree these are interesting topics. :-)
best regards,
neal
> Warmest regards,
> Ayush
>
> On Fri, Aug 26, 2022 at 9:36 PM 'Neal Cardwell' via BBR Development <
> bbr-dev at googlegroups.com> wrote:
>
>> Yes, I agree the assumptions are key here. One key aspect of this paper
>> is that it focuses on the steady-state behavior of bulk flows.
>>
>> Once you allow for short flows (like web pages, RPCs, etc) to dynamically
>> enter and leave a bottleneck, the considerations become different. As is
>> well-known, Reno/CUBIC will starve themselves if new flows enter and cause
>> loss too frequently. For CUBIC, for a somewhat typical 30ms broadband path
>> with a flow fair share of 25 Mbit/sec, if new flows enter and cause loss
>> more frequently than roughly every 2 seconds then CUBIC will not be able to
>> utilize its fair share. For a high-speed WAN path, with 100ms RTT and fair
>> share of 10 Gbit/sec, if new flows enter and cause loss more frequently
>> than roughly every 40 seconds then CUBIC will not be able to utilize its
>> fair share. Basically, loss-based CC can starve itself in some
>> very typical kinds of dynamic scenarios that happen in the real world.
>>
>> BBR is not trying to maintain a higher throughput than CUBIC in these
>> kinds of scenarios with steady-state bulk flows. BBR is trying to be robust
>> to the kinds of random packet loss that happen in the real world when there
>> are flows dynamically entering/leaving a bottleneck.
>>
>> cheers,
>> neal
>>
>>
>>
>>
>> On Thu, Aug 25, 2022 at 8:01 PM Dave Taht via Bloat <
>> bloat at lists.bufferbloat.net> wrote:
>>
>>> I rather enjoyed this one. I can't help but wonder what would happen
>>> if we plugged some different assumptions into their model.
>>>
>>> https://www.comp.nus.edu.sg/~bleong/publications/imc2022-nash.pdf
>>>
>>> --
>>> FQ World Domination pending:
>>> https://blog.cerowrt.org/post/state_of_fq_codel/
>>> Dave Täht CEO, TekLibre, LLC
>>> _______________________________________________
>>> Bloat mailing list
>>> Bloat at lists.bufferbloat.net
>>> https://lists.bufferbloat.net/listinfo/bloat
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "BBR Development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to bbr-dev+unsubscribe at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/bbr-dev/CADVnQykKbnxpNcpuZATug_4VLhV1%3DaoTTQE2263o8HF9ye_TQg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/bbr-dev/CADVnQykKbnxpNcpuZATug_4VLhV1%3DaoTTQE2263o8HF9ye_TQg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.bufferbloat.net/pipermail/bloat/attachments/20230402/af9243a6/attachment.html>
More information about the Bloat
mailing list