WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to enable TCP BBR support?  (Read 3715 times)

Offline Jones

  • Newbie
  • *
  • Posts: 3
How to enable TCP BBR support?
« on: June 21, 2020, 08:48:51 AM »
Code: [Select]
$ tce-load -w -i net-sched-5.4.3-tinycore.tcz
$ sudo su
# echo 'cake' > /proc/sys/net/core/default_qdisc
# echo 'bbr' > /proc/sys/net/ipv4/tcp_congestion_control
sh: write error: No such file or directory

No TCP BBR support?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: How to enable TCP BBR support?
« Reply #1 on: June 21, 2020, 09:52:46 AM »
It exists on CorePure64 at least:
Code: [Select]
$ ls /proc/sys/net/ipv4/*congestion*
/proc/sys/net/ipv4/tcp_allowed_congestion_control
/proc/sys/net/ipv4/tcp_available_congestion_control
/proc/sys/net/ipv4/tcp_congestion_control
$ cat /proc/sys/net/ipv4/tcp_available_congestion_control
reno cubic
$ cat /proc/sys/net/ipv4/tcp_allowed_congestion_control
reno cubic
$ cat /proc/sys/net/ipv4/tcp_congestion_control
cubic


Offline Jones

  • Newbie
  • *
  • Posts: 3
Re: How to enable TCP BBR support?
« Reply #2 on: June 21, 2020, 10:03:33 AM »
It exists on CorePure64 at least:
Code: [Select]
$ ls /proc/sys/net/ipv4/*congestion*
/proc/sys/net/ipv4/tcp_allowed_congestion_control
/proc/sys/net/ipv4/tcp_available_congestion_control
/proc/sys/net/ipv4/tcp_congestion_control
$ cat /proc/sys/net/ipv4/tcp_available_congestion_control
reno cubic
$ cat /proc/sys/net/ipv4/tcp_allowed_congestion_control
reno cubic
$ cat /proc/sys/net/ipv4/tcp_congestion_control
cubic


Only reno and cubic, no bbr algorithm by google,  :-\

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: How to enable TCP BBR support?
« Reply #3 on: June 21, 2020, 10:50:20 AM »
Hi Jones
Welcome to the forum.

To enable  BBR  requires  TCP_CONG_ADVANCED  to be set. The kernel config file shows:
Code: [Select]
# CONFIG_TCP_CONG_ADVANCED is not set
You would need to recompile the kernel if you want BBR.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: How to enable TCP BBR support?
« Reply #4 on: June 21, 2020, 11:15:18 AM »
Hi Jones
The help text for configuring  TCP_CONG_BBR  states:
Quote
It requires the fq ("Fair Queue") pacing packet scheduler.

I don't see anything in the Kconfig file that enables that when  TCP_CONG_BBR  is selected. You should check that:
Code: [Select]
NET_SCH_FQis enabled prior to compiling.

Offline Jones

  • Newbie
  • *
  • Posts: 3
Re: How to enable TCP BBR support?
« Reply #5 on: June 21, 2020, 12:10:13 PM »
Hi Jones
The help text for configuring  TCP_CONG_BBR  states:
Quote
It requires the fq ("Fair Queue") pacing packet scheduler.

I don't see anything in the Kconfig file that enables that when  TCP_CONG_BBR  is selected. You should check that:
Code: [Select]
NET_SCH_FQis enabled prior to compiling.

Thanks, I will try it later.