The fastest as well as the most wicked TCP congestion control "algorithm". There shouldn't be too many people knowing this secret or the world will be ruined.
Go to file
2025-02-09 18:14:13 +08:00
Makefile add files 2025-02-09 18:01:40 +08:00
README.md add content to README.md 2025-02-09 18:14:13 +08:00
tcp_const.c add files 2025-02-09 18:01:40 +08:00

tcp-cca-const

The fastest as well as the most wicked TCP congestion control "algorithm". There shouldn't be too many people knowing this secret or the world will be ruined.

Usage:

make
insmod tcp_const.ko # Require root privilege

Troubleshooting:

If compilation failed and says the function signature does not match, simply delete those two unnamed parameters in static void const_main(struct sock *sk,u32,int,const struct rate_sample *rs){:.c}

Next steps:

You can change the size of constant cwnd for even better performance.

echo 2000 >/sys/module/tcp_const/parameters/const_cwnd

See also:

https://zhuanlan.zhihu.com/p/555328566