Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've read that 2.6.33+ allows setting custom cwnd.

  1. if the IW is 10 by default (for all distros? only some?)
  2. how does one view what the current IW is on a particular compiled kernel?

references:

share|improve this question

1 Answer 1

up vote 9 down vote accepted

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:

Popular 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:

  • there was a mistake in Ilya Grigorik's article saying the first version with IW10 support is 2.6.33 but it has been corrected (on the 04 Feb 2014).
  • CentOS 6.4 supports IW10, with the feature being backported to kernel version 2.6.32-358.0.1.el6 (Red Hat 4.4.7-3); more info here.
share|improve this answer
1  
Great, very helpful. However there's conflicting information about the version -- this article igvita.com/2011/10/20/faster-web-vs-tcp-slow-start says "As of kernel version 2.6.33, following a protracted discussion and a number of IETF recommendations, the initial cwnd value has been reset to 10 packets" –  John Bachir Dec 14 '11 at 22:08
1  
The article at igvita.com highly probably has an error where it claims 2.6.33 supports IW10. –  Mikko Rantalainen Jun 21 '12 at 8:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.