How to check what congestion algorithm supported on my linux kernel?

5,212

Solution 1

Below command used to find the available tcp congestion control algorithms supported.

1. cat /proc/sys/net/ipv4/tcp_available_congestion_control

bic reno cubic

2. This command used to find which tcp congestion control configured for your Linux.

sysctl net.ipv4.tcp_congestion_control

3. Below command is used to change to desired one from the available list.

sysctl -w net.ipv4.tcp_congestion_control=bic

Solution 2

sysctl net.ipv4.tcp_available_congestion_control
Share:
5,212

Related videos on Youtube

Jack
Author by

Jack

Updated on September 18, 2022

Comments

  • Jack
    Jack over 1 year

    I want to enable google bbr on my VPS. But I don't know this feature is integrated on linux kernel or not. How can I check it?

  • jesse_b
    jesse_b over 6 years
    Do you mind expanding on this answer a bit so that it is more clear for anyone that stumbles across this thread in the future?
  • Gavin S. Yancey
    Gavin S. Yancey almost 3 years
    This is wrong. This gives the algorithm currently used, not all algorithms supported by the kernel
  • Jack
    Jack almost 3 years
    @GavinS.Yancey Yes, Kigo's answer looks better.