3 ms·
To try it out, make sure that your Linux kernel has: CONFIG_TCP_CONG_BBR CONFIG_NET_SCH_FQ (not to be confused with FQ_CODEL) Put these into /etc/sysctl.conf
by atomt 9y ago
To try it out, make sure that your Linux kernel has:
CONFIG_TCP_CONG_BBR
CONFIG_NET_SCH_FQ (not to be confused with FQ_CODEL)
Put these into /etc/sysctl.conf:
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
Reboot.
- sp332 9y agoI haven't tested this, but you should be able to sysctl -p to reload the config instead of rebooting.
- atomt 9y agoJust loading the sysctl values will not switch the packet scheduler on already existing network interfaces, but it will start using BBR on new sockets. Switching the scheduler at runtime using tc qdisc replace is possible, but then you need to take extra care if the device is multi queue or not. Instead of explaining it all here just rebooting is probably simpler.