Using BBR in a network namespace

91 views
Skip to first unread message

rukz...@gmail.com

unread,
Oct 13, 2024, 8:32:30 PM10/13/24
to BBR Development
Hi,

I have a network namespace (with veth) and enabled the BBR as follows.
net.ipv4.tcp_congestion_control=bbr

My question is since veth does not support net.core.default_qdisc=fq will BBR work as it is supposed to inside a network namespace? My Linux version is 5.15.1. 

Thank you!

Best,
Rukshani 

Neal Cardwell

unread,
Oct 14, 2024, 10:03:42 AM10/14/24
to rukz...@gmail.com, BBR Development
Hi,

Using BBR inside a network namespace should work just fine. A few thoughts:

+ For Linux kernel versions v4.20 or later (including your Linux version, 5.15.1), you don't need to use the fq qdisc with BBR. If there is no fq qdisc in the transmit path then the Linux TCP stack will detect that and use TCP-internal pacing. So you don't necessarily need to use net.core.default_qdisc=fq for BBR.

+ If you still want to use fq, then you should be able to use fq with a veth device. In fact you can see there is a testing script in the BBR github distribution here that uses veth with fq (fq is set up for a veth device in this line).

best regards,
neal


--
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 on the web visit https://groups.google.com/d/msgid/bbr-dev/a6fab025-b363-4eef-bdd5-3b3ced1640c7n%40googlegroups.com.

Rukshani Athapathu

unread,
Oct 14, 2024, 10:59:12 AM10/14/24
to Neal Cardwell, BBR Development
Thank you so much for the info! 

Best,
Rukshani
Reply all
Reply to author
Forward
0 new messages