Thursday, April 18, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 3344  / 2 Years ago, thu, september 29, 2022, 5:51:49

I would like to use Compound TCP in Ubuntu.



The Wikipedia page says:




In addition to Windows, CTCP was also ported to Linux [...] Since kernel version 2.6.17 the module has been incompatible and fails to compile due to kernel API changes.




Is there a newer implementation that works correctly?


More From » 12.10

 Answers
6

Compound TCP by Microsoft is just one implementation of a congestion algorithm protocol. In Linux this has been discarded as you've already found, and it seems that TCP Illinois was the direct successor, but not used that much any more.


Some work has been done to implement Illinois since 2.6.22: LWN article: TCP Illinois preliminary version. It also seems still available in current versions: net/ipv4/tcp_illinois.c in linux-stable tree.


TCP New Reno, another alternative based on RFC3782 seems to be the most commonly used in Linux and completely integrated in the kernel. See also the manpage tcp(7):



  tcp_available_congestion_control (String; read-only; since Linux 2.4.20)


          Show  a list of the congestion-control algorithms that are registered.  This
list is a limiting set for the list in tcp_allowed_congestion_control. More
congestion-control algorithms may be available as modules, but not loaded.

Check the ones available on your system:


cat /proc/sys/net/ipv4/tcp_available_congestion_control

and active:


cat /proc/sys/net/ipv4/tcp_congestion_control

Change the active one by writing to it (example reno):


echo reno | sudo tee /proc/sys/net/ipv4/tcp_congestion_control



Bottom line: You're probably already using a very modern and very efficient TCP congestion algorithm protocol just by using a recent Linux kernel.


[#33292] Friday, September 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
initiallartebeest

Total Points: 24
Total Questions: 118
Total Answers: 105

Location: Venezuela
Member since Thu, Jul 15, 2021
3 Years ago
;