Re: [tcpm] TCP tuning

"SCHARF, Michael" <Michael.Scharf@alcatel-lucent.com> Thu, 04 February 2010 16:57 UTC

Return-Path: <Michael.Scharf@alcatel-lucent.com>
X-Original-To: tcpm@core3.amsl.com
Delivered-To: tcpm@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8545328C180 for <tcpm@core3.amsl.com>; Thu, 4 Feb 2010 08:57:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level:
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LEnbKscC5TTH for <tcpm@core3.amsl.com>; Thu, 4 Feb 2010 08:57:46 -0800 (PST)
Received: from mailrelay2.alcatel.de (mailrelay2.alcatel.de [194.113.59.96]) by core3.amsl.com (Postfix) with ESMTP id 6282428C175 for <tcpm@ietf.org>; Thu, 4 Feb 2010 08:57:46 -0800 (PST)
Received: from SLFSNX.rcs.alcatel-research.de (slfsn1.rcs.de.alcatel-lucent.com [149.204.60.98]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id o14GwVRZ013367 for <tcpm@ietf.org>; Thu, 4 Feb 2010 17:58:31 +0100
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 04 Feb 2010 17:58:30 +0100
Message-ID: <133D9897FB9C5E4E9DF2779DC91E947C025F18FA@SLFSNX.rcs.alcatel-research.de>
In-Reply-To: <4B6AF5B8.60607@sun.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [tcpm] TCP tuning
Thread-Index: AcqltyJZz01EBYCdQ+6FawMjSm+omAAALEkg
References: <7BE9742D-6EDC-43FE-84FC-D22C52D23152@nokia.com><1e41a3231002031232r6ec9edd3p6367dd9c2581fa08@mail.gmail.com><d1c2719f1002031244g3415c8e1r7d36e26058158d20@mail.gmail.com><133D9897FB9C5E4E9DF2779DC91E947C025F18D6@SLFSNX.rcs.alcatel-research.de> <4B6AF5B8.60607@sun.com>
From: "SCHARF, Michael" <Michael.Scharf@alcatel-lucent.com>
To: tcpm@ietf.org
X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73
Subject: Re: [tcpm] TCP tuning
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tcpm>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Feb 2010 16:57:47 -0000

> > Yet, one could think of a very simple form of pacing with a 
> single timer that changes the Slow-Start only when it "hurts" 
> - I think that I have mentioned this possibility on this list before:
> >
> > In this approach, the initial window remains at the value 
> given by RFC 
> > 3390. But the sender is allowed to further increase the 
> window after a certain time (say, 100ms), but only if the RTT 
> is known to be larger than 100ms (as measured e. g. during 
> handshake), if no ACK has been received until then, and if 
> recently there have been no signs of congestion to this destination.
> 
> 
> For a server, it may just have 1 sample of RTT (the ACK for 
> its SYN/ACK).  Is this enough to determine much?  Suppose the 
> ACK for the SYN/ACK is lost, and the server gets a request 
> (data + ACK for the SYN/ACK) instead, can it distinguish this 
> case from the case when a client can bundle data in third leg 
> of 3-way handshake?

Of course, one would not use this mechanism if there is any sign of lost
packets. But, obviously, any heuristic can fail. BTW, another problem is
a highly congested link resulting in a large RTT. In this case, the
algorithm would send additional data to a congested link - but this
would also happen if the initial window would be increased. There is no
free lunch.

> And it seems to defeat much of the benefits of increasing the 
> initial cwnd if the server needs to wait 100ms before sending more.

If the RTT is larger than 100ms (or whatever threshold is used), you
would still get a benefit compared to RFC 3390. Maybe that would be just
good enough?

Michael