• root@debian:~# lsb_release -a
  • No LSB modules are available.
  • Distributor ID: Debian
  • Description: Debian GNU/Linux 9.0 (stretch)
  • Release: 9.0
  • Codename: stretch
  • root@debian:~# echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
  • root@debian:~# echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
  • root@debian:~# sysctl -p
  • net.ipv4.neigh.default.base_reachable_time_ms = 600000
  • net.ipv4.neigh.default.mcast_solicit = 20
  • net.ipv4.neigh.default.retrans_time_ms = 250
  • sysctl: cannot stat /proc/sys/“net/core/default_qdisc: No such file or directory
  • sysctl: cannot stat /proc/sys/“net/ipv4/tcp_congestion_control: No such file or directory
  • sysctl: cannot stat /proc/sys/“net/core/default_qdisc: No such file or directory
  • sysctl: cannot stat /proc/sys/“net/ipv4/tcp_congestion_control: No such file or directory
  • sysctl: cannot stat /proc/sys/“net/core/default_qdisc: No such file or directory
  • sysctl: cannot stat /proc/sys/“net/ipv4/tcp_congestion_control: No such file or directory
  • net.core.default_qdisc = fq
  • net.ipv4.tcp_congestion_control = bbr
  • root@debian:~# sysctl net.ipv4.tcp_available_congestion_control
  • net.ipv4.tcp_available_congestion_control = bbr cubic reno
  • root@debian:~# lsmod | grep bbr
  • tcp_bbr 16384 1
  • root@debian:~#
  • 复制代码