You are not logged in.

#1 2017-03-08 04:03:38

wptskybzy
Member
Registered: 2017-03-08
Posts: 18

How to enable BBR ?

hi all, dose archlinux support bbr default now ? I don't want to recompile kernel at all, but very want to try bbr

Offline

#2 2017-03-08 04:38:44

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: How to enable BBR ?

You can check on what your kernel supports by doing "sysctl net.ipv4.tcp_available_congestion_control". It should list "bbr" if it supports it, but I think the normal kernel does not. I'm using "4.10.1-1-ck-ivybridge" and that one does not support it.

EDIT:

I was wrong.

I researched some more, and I see that the option is set to module when I browse through "zless /proc/config.gz". I then did "sudo modprobe tcp_bbr", and now the output of "sysctl net.ipv4.tcp_available_congestion_control" does list "bbr" as well. Doing "sudo sysctl net.ipv4.tcp_congestion_control=bbr" now seems to enable it.

Last edited by Ropid (2017-03-08 04:46:40)

Offline

#3 2017-03-08 04:47:13

wptskybzy
Member
Registered: 2017-03-08
Posts: 18

Re: How to enable BBR ?

ok! Thanks very much!!

Last edited by wptskybzy (2017-03-08 04:49:39)

Offline

#4 2019-09-18 02:16:57

1ptb3b
Member
Registered: 2017-01-17
Posts: 76

Re: How to enable BBR ?

So the previous comment doesn't make the BBR change permanent.

This is probably the more useful answer.

# Load the BBR kernel module.
echo "tcp_bbr" > /etc/modules-load.d/modules.conf

# Set the default congestion algorithm to BBR.
echo "net.core.default_qdisc=fq" > /etc/sysctl.d/bbr.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/bbr.conf

The reboot and verify.

# sysctl net.ipv4.tcp_congestion_control
net.ipv4.tcp_congestion_control = bbr

Offline

#5 2019-09-18 02:20:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: How to enable BBR ?

Please don't necrobump, especially just to add information which is documented in the wiki: https://wiki.archlinux.org/index.php/Co … bumping.22


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB