I've read that 2.6.33+ allows setting custom cwnd.
- if the IW is 10 by default (for all distros? only some?)
- how does one view what the current IW is on a particular compiled kernel?
references:
I've read that 2.6.33+ allows setting custom cwnd.
references:
As of Linux kernel version 2.6.38 (released in March 2011) the receive window was increased to 10 segments to make sure that a low value will not become a bottleneck for any senders that implement IW10. The initial congestion window, respectively, was afterwards increased to 10 segments in kernel version 2.6.39 (released in May 2011). Version 2.6.39 was very short-lived and quickly became 3.0 (released in the end of July 2011), being the first kernel to include those changes that is widely used by Linux distributions.
You can take a look at the kernel change logs:
Here is the kernel source code as well:
include/net/tcp.h
, lines 63-64include/net/tcp.h
, lines 199-200Popular desktop distributions released in and after Q4/2011, such as Ubuntu and Fedora, use kernel versions 3.x.
Stable server distributions adopt much slower newer kernels, as well as other software in general. Debian stable 6.0.3 (released in October 2011) goes with kernel version 2.6.32-2.6.38. Red Hat Enterprise Linux 6.x and CentOS 6.x use kernel versions 2.6.32 to 2.6.34 but do backport some kernel features.
Edit: