How to disable BBR module in kernel?

2,057 views
Skip to first unread message

Ray Zhang

unread,
Sep 13, 2017, 5:20:16 AM9/13/17
to BBR Development
Hi,

I am trying to do some testing to see if there is benefit from BBR, a little disapointed,  please help me to check if there is something wrong

1.  upgrade kernel to 4.9
2.  echo bbr > /proc/sys/net/ipv4/tcp_congestion_control  
~ # cat /proc/sys/net/ipv4/tcp_congestion_control
bbr

do testing get the data1

3.  echo cubic > /proc/sys/net/ipv4/tcp_congestion_control   <----  can it disable BBR?
cat /proc/sys/net/ipv4/tcp_congestion_control
cubic

do testing and get data2

didn't see much difference between data1 and data2,  maybe BBR is not disabled in step3? 


Regards,
Lei 
     
    

Kevin Bowling

unread,
Sep 13, 2017, 6:31:07 AM9/13/17
to Ray Zhang, BBR Development
What are you testing and what are you looking to improve?

BBR helps in at least the following dimensions right now: dealing
with packet loss, avoiding buffer bloat, RTT measurement. Perhaps
flow fairness and dealing with other problems described on the mailing
list soon.

Regards,
Kevin Bowling - Senior Manager, Engineering
+1 602 850 5036 +1 480 227 1233
www.limelight.com Delivering Faster Better

Join the conversation

at Limelight Connect
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

--
The information in this message may be confidential. It is intended solely
for
the addressee(s). If you are not the intended recipient, any disclosure,
copying or distribution of the message, or any action or omission taken by
you
in reliance on it, is prohibited and may be unlawful. Please immediately
contact the sender if you have received this message in error.

Eric Dumazet

unread,
Sep 13, 2017, 8:15:39 AM9/13/17
to Kevin Bowling, Ray Zhang, BBR Development
Hi Ray.

It seems you forgot to setup FQ packet scheduler ?

You also can retry the experiment using latest kernel (linux-4.13) to
avoid to deal with FQ

Note that BBR helps tremendously in presence of losses and long RTT.

Thanks !

Ray Zhang

unread,
Sep 14, 2017, 5:46:48 AM9/14/17
to BBR Development

thank you for your info~ I will do more investigation for next post. 

Ray Zhang

unread,
Sep 14, 2017, 5:48:17 AM9/14/17
to BBR Development
cat /proc/sys/net/core/default_qdisc
fq

FQ is set to fq. It should be OK, I will do more investigation about BBR for next testing

Neal Cardwell

unread,
Sep 14, 2017, 10:09:43 AM9/14/17
to Ray Zhang, BBR Development
On Thu, Sep 14, 2017 at 5:48 AM, Ray Zhang <bzl...@gmail.com> wrote:
cat /proc/sys/net/core/default_qdisc
fq

FQ is set to fq. It should be OK, I will do more investigation about BBR for next testing

Keep in mind that /proc/sys/net/core/default_qdisc does not take effect immediately. It only takes effect after the qdiscs for a network device are rebuilt. The easiest way to make sure this happens is to reboot.

You can check if fq is in place with:

   tc qdisc show

You may find the BBR quick-start guide helpful:


cheers,
neal

Reply all
Reply to author
Forward
0 new messages