1 May 2004 02:09
[PATCH 2.6.5] Re: Fw: Stack sends SYN/ACKs even though accept queue is full
Nivedita Singhvi <niv <at> us.ibm.com>
2004-05-01 00:09:59 GMT
2004-05-01 00:09:59 GMT
Andrew Morton wrote: >Begin forwarded message: > >Date: Thu, 29 Apr 2004 14:53:36 -0700 >From: Jan Olderdissen <jan <at> ixiacom.com> >To: "'linux-kernel <at> vger.kernel.org'" <linux-kernel <at> vger.kernel.org> >Subject: Stack sends SYN/ACKs even though accept queue is full > Attaching a patch which adds a sysctl to turn off this behaviour. Could you test this, please? Patch against 2.6.5 vanilla kernel. If you need a 2.4 version, let me know. >Because newly accepted connections are considered 'young', two such >connections put on the synq will cause additional SYNs to be dropped until >young connections age and additional connections are SYN/ACKed , etc. Since >the initial TCP timeout is three seconds, you would expect two additional >connections to be accepted every three seconds. However, experiments with >2.4.25 show that number to be two connections every four seconds for unclear >reasons. > Normally, I think the expected behaviour was that connections would be short-lived. This is a reasonable expectation for most web-servers etc. In which case, the accept queue would free up frequently, and having the syn request right there would save a full timeout and round trip over the Internet. i.e. useful in the common case. I don't think it is worthwhile for environments where connections(Continue reading)
RSS Feed