Re: [tcpm] Tuning TCP parameters for the 21st century
Michael Scharf <michael.scharf@ikr.uni-stuttgart.de> Wed, 15 July 2009 09:35 UTC
Return-Path: <michael.scharf@ikr.uni-stuttgart.de>
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 8F9473A67DD for <tcpm@core3.amsl.com>; Wed, 15 Jul 2009 02:35:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level:
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 7mCbQiyQ3eTR for <tcpm@core3.amsl.com>; Wed, 15 Jul 2009 02:34:59 -0700 (PDT)
Received: from mailsrv.ikr.uni-stuttgart.de (mailsrv.ikr.uni-stuttgart.de [129.69.170.2]) by core3.amsl.com (Postfix) with ESMTP id 809423A68B9 for <tcpm@ietf.org>; Wed, 15 Jul 2009 02:34:59 -0700 (PDT)
Received: from netsrv1.ikr.uni-stuttgart.de (netsrv1-c [10.11.12.12]) by mailsrv.ikr.uni-stuttgart.de (Postfix) with ESMTP id D59B643A03; Wed, 15 Jul 2009 11:15:17 +0200 (CEST)
Received: from ikr.uni-stuttgart.de (cnode02 [10.21.20.2]) by netsrv1.ikr.uni-stuttgart.de (Postfix) with SMTP id BD8FABC07E; Wed, 15 Jul 2009 11:15:17 +0200 (CEST)
Received: by ikr.uni-stuttgart.de (sSMTP sendmail emulation); Wed, 15 Jul 2009 11:15:17 +0200
Date: Wed, 15 Jul 2009 11:15:17 +0200
From: Michael Scharf <michael.scharf@ikr.uni-stuttgart.de>
To: Joe Touch <touch@ISI.EDU>
Message-ID: <20090715091517.GA4763@ikr.uni-stuttgart.de>
References: <d1c2719f0907131619t1a80997ep4080a3a721ef3627@mail.gmail.com> <4A5C540E.9070104@sun.com> <4A5C9309.8030704@isi.edu> <d1c2719f0907141241p73e605adqc1d2e6f0db4eb3aa@mail.gmail.com> <4A5CE3D0.5000904@isi.edu> <d1c2719f0907141532i31d2b740hfa32209a8ccb156@mail.gmail.com> <4A5D0E8F.1040402@isi.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
In-Reply-To: <4A5D0E8F.1040402@isi.edu>
User-Agent: Mutt/1.5.18 (2008-05-17)
Cc: "tcpm@ietf.org" <tcpm@ietf.org>
Subject: Re: [tcpm] Tuning TCP parameters for the 21st century
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: Wed, 15 Jul 2009 09:35:00 -0000
On Tue, 14 Jul 2009 at 16:02:39, Joe Touch wrote: > Larger messages benefit as you open the window to burst the whole thing > out. Here's a back of the envelope: > > # packets was RTTs: is RTTs: benefit > 4 2 2 0% > 10 3 2 33% > 19 4 2 50% > 32 5 2 60% > 52 6 2 67% > 82 7 2 71% > > Note though that at some point your SND_CWND will be opened only as far > as the path allows, at which point sending more packets just takes more > RTTs, so you start to lose. 90% of our max CWNDs were below 9K, which > means we only saw benefits in the 20-30% range (i.e., the first two rows > above). Sure, if you see CWNDs much larger, you might benefit from > reusing old values... A large initial SND_CWND might not result in such a large benefit if the receiver still announces a small receive window (e. g., the Linux stack initially announces a receive window of about 6K only). This issue is documented in an (expired) ID: http://tools.ietf.org/html/draft-scharf-tcpm-flow-control-quick-start-00 An example for a limitation by the receive window can also be seen on slide 19 of http://www.ietf.org/proceedings/08nov/slides/iccrg-2.pdf Note that, at least in case of Linux, it is possible to mitigate this limitation by an ugly hack: The sender could ignore the announced receive window during the first RTT of the Slow-Start and optimistically send more data. As the receiver exponentially opens the receive window, the received packets are always within the current receive window - if the receiver does not run out of memory. But of course this hack violates RFC 793. BTW: My experiments with different fast startup schemes (with and without rate pacing) also show that the absolute benefit of a faster startup is small for many typical Internet workloads. Yet, applications that frequently transfer mid-sized amounts of data can indeed benefit. And since only few applications actually use a large initial SND_CWND, the risk of a moderate increase of the initial window appears to be rather small. As also mentioned in my ICCRG presentation, the "Jump-Start" idea of M. Allman et al. seems to have a quite reasonable performance in many scenarios. Unfortunately, I cannot back these statements by large-scale experimental data so far. But if someone wanted to perform some experiments, e. g., with the "Jump-Start" scheme, I could provide corresponding Linux kernel patches. Michael
- [tcpm] Tuning TCP parameters for the 21st century Jerry Chu
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Erik Nordmark
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Joe Touch
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Jerry Chu
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Joe Touch
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Jerry Chu
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Jerry Chu
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Joe Touch
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Michael Scharf
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Joe Touch
- Re: [tcpm] Tuning TCP parameters for the 21st cen… michawe
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Joe Touch
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Jerry Chu
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Rui Paulo
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Jerry Chu
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Jerry Chu
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Joe Touch
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Michael Welzl
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Jerry Chu
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Jerry Chu
- Re: [tcpm] Tuning TCP parameters for the 21st cen… Michael Welzl
- [tcpm] initial RTO (was Re: Tuning TCP parameters… Mark Allman
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Jerry Chu
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Mark Allman
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Jerry Chu
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Mark Allman
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… L.Wood
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Mark Allman
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… L.Wood
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Jerry Chu
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Jerry Chu
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Mark Allman
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Jerry Chu
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Mark Allman
- Re: [tcpm] initial RTO (was Re: Tuning TCP parame… Jerry Chu