WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Jones

  • Newbie
  • *
  • Posts: 3
How to enable TCP BBR support?
« on: June 21, 2020, 05:48:51 AM »
Code: newbielink:javascript:void(0); [nonactive]
$ 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: 12236
Re: How to enable TCP BBR support?
« Reply #1 on: June 21, 2020, 06: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, 07:03:33 AM »
It exists on CorePure64 at least:
Code: newbielink:javascript:void(0); [nonactive]
$ 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,  :-\

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 7928
Re: How to enable TCP BBR support?
« Reply #3 on: June 21, 2020, 07: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.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 7928
Re: How to enable TCP BBR support?
« Reply #4 on: June 21, 2020, 08: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, 09:10:13 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: newbielink:javascript:void(0); [nonactive]
NET_SCH_FQis enabled prior to compiling.

Thanks, I will try it later.