View / tweak TCP window size settings on Ubuntu 1804

I have a typical long fat network — clients connect to servers with large bandwidth but also significant latency due to geographic distances of 30ms to 100ms, transferring large files.

I’ve noticed the classic decay of throughput ~ which decays as 1 / latency. Typical throughputs based on tests are well below the theoretical bandwidths of clients and servers and follow this decay rule.

My file transfer tests seem to be consistent with a tcp windows size of 64KB, suggesting that scaling is not enabled.

My servers are all running Ubuntu 1804.

How do I view and tweak the tcp window size settings on my Ubuntu 1804 servers? I could not find this info in previous answers.

Answer

Attribution
Source : Link , Question Author : David Simic , Answer Author : Community

Leave a Comment