Re: [Bugme-new] [Bug 9031] New: TPC window is to cautious on send

Previous thread: [PATCH][1/2] Add ICMPMsgStats MIB (RFC 4293) [RESEND] by David Stevens on Sunday, September 16, 2007 - 9:24 pm. (2 messages)

Next thread: [RFC][PATCH] trivial typo correction in net/ipv4/xfrm4_policy.c by Ian Brown on Monday, September 17, 2007 - 12:50 am. (3 messages)
From: Andrew Morton
Date: Sunday, September 16, 2007 - 11:43 pm

From: Stephen Hemminger
Date: Monday, September 17, 2007 - 10:03 am

On Sun, 16 Sep 2007 23:43:40 -0700

See my comment, on bug report, Linux is doing Silly Window Syndrome avoidance (RFC 813)
as required in host requirements RFC1122

         4.2.3.4  When to Send Data

            A TCP MUST include a SWS avoidance algorithm in the sender.

            A TCP SHOULD implement the Nagle Algorithm [TCP:9] to
            coalesce short segments.  However, there MUST be a way for
            an application to disable the Nagle algorithm on an
            individual connection.  In all cases, sending data is also
            subject to the limitation imposed by the Slow Start
            algorithm (Section 4.2.2.15).

The Linux mechanism to disable Nagle is setsockopt(TCP_NODELAY).




-- 
Stephen Hemminger <shemminger@linux-foundation.org>
-

Previous thread: [PATCH][1/2] Add ICMPMsgStats MIB (RFC 4293) [RESEND] by David Stevens on Sunday, September 16, 2007 - 9:24 pm. (2 messages)

Next thread: [RFC][PATCH] trivial typo correction in net/ipv4/xfrm4_policy.c by Ian Brown on Monday, September 17, 2007 - 12:50 am. (3 messages)