Increase initcwnd on Debian

In case of high latency link, a too small initcwnd could degrade performance, as it may take a while for throughput to increase to its maximum.

Increasing initcwnd could mitigate this a bit.

Major CDNs are also using a custom initcwnd for better performance.

I used a script from serverfault, did some minor changes, and put it into /etc/network/if-up.d/initcwnd to persist the change:

Don’t forget to chmod +x it to make it executable.

The change could be verified by:

Leave a Reply

Your email address will not be published. Required fields are marked *