Hello,I've been using the BBRv3 kernel source at https://github.com/google/bbr/tree/v3 and the results are pretty amazing for a high latency network. Great work!
I'm wondering if it's possible to use this with a newer kernel, such as with the latest stable v6.13.7? Does it involve just copying in tcp_bbr.c? It sounds like there are other patches as well.
Also, it is unclear to me whether the davem/net-next kernel tree contains BBRv3 or not. Comparing the source it seems not so. Is that correct?
Basically, what's the best way to use the latest stable kernel tree with BBRv3?
Thanks,Viraj.--
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+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bbr-dev/6f1e3420-e99e-46cb-9f25-0302dbed02f2n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bbr-dev/3b871e9f-5822-4c44-9ad8-19435c830f11n%40googlegroups.com.
Hello.Just to note, I've been forward-porting BBRv3 for every kernel release here: https://codeberg.org/pf-kernel/linux. I've been running BBRv3 on 6 hosts 24/7 for a long time with no issues.
Neal, with regard to this report I posted a while ago: https://lore.kernel.org/lkml/4616579.L...@natalenko.name/T/#u Could you please check my "fix" here https://codeberg.org/pf-kernel/linux/commit/e8f5232a9e6c556efa21c8dd6a9c0f96423ec5e7 and share your thoughts please?
Thank you.
--
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+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bbr-dev/32b0eec5-98cd-4cb8-8b65-d7e2f3bcfbfan%40googlegroups.com.
Yes, those fixes look fine. I'm surprised clang does not complain about this line in bbr_check_ecn_too_high_in_startup() as well:!bbr_param(sk, full_ecn_cnt) || !bbr_param(sk, ecn_thresh))That check is also OK to remove.
A note about the rationale: in our internal version of BBR those parameters are per-socket variables that can be dynamically changed for A/B experiments. The bbr_param() macro is an attempt to get sensible behavior both (a) upstream, where these are constants, and (b) in our version internally, where these are per-socket variables. This works for gcc, which we use internally, but not for clang.
I'm surprised clang does not complain about this line in bbr_check_ecn_too_high_in_startup() as well:!bbr_param(sk, full_ecn_cnt) || !bbr_param(sk, ecn_thresh))
Hello.On Monday, 17 March 2025 at 15:13:57 UTC+1 Neal Cardwell wrote:Yes, those fixes look fine. I'm surprised clang does not complain about this line in bbr_check_ecn_too_high_in_startup() as well:!bbr_param(sk, full_ecn_cnt) || !bbr_param(sk, ecn_thresh))That check is also OK to remove.
A note about the rationale: in our internal version of BBR those parameters are per-socket variables that can be dynamically changed for A/B experiments. The bbr_param() macro is an attempt to get sensible behavior both (a) upstream, where these are constants, and (b) in our version internally, where these are per-socket variables. This works for gcc, which we use internally, but not for clang.I see, thank you for the explanation. I suspected something like this.
--
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+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bbr-dev/9fe3a325-7f1e-4a13-82fc-611628facf48n%40googlegroups.com.
Thanks.
--
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+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bbr-dev/9335db3d-6baa-4f9f-954f-f958228382adn%40googlegroups.com.
Hello,
Perhaps some silly questions, but I'd still ask for some clarifications on BBRv3's integration into Linux.
Does kernel 6.13.7 (https://kernel.ubuntu.com/mainline/v6.13.7/) have BBRv3 automatically included?
I'm asking because we had trouble following your procedure on Ubuntu 24.04 and we did a "normal" kernel update. Additionally, I'm interested in how to check which version of BBR is on the system?
Is it possible to install BBRv3 on kernel 6.8 as well? If so, is there a procedure described anywhere?
To view this discussion visit https://groups.google.com/d/msgid/bbr-dev/4f94cfb8-854d-49c0-90ff-eaf41b556314n%40googlegroups.com.