Re: [tcpm] Congestion control in face of ICMP unreachable messages

Joe Touch <touch@ISI.EDU> Thu, 20 September 2007 22:39 UTC

Return-path: <tcpm-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IYUg5-0002U4-71; Thu, 20 Sep 2007 18:39:21 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IYUg4-0002P5-CI for tcpm@ietf.org; Thu, 20 Sep 2007 18:39:20 -0400
Received: from vapor.isi.edu ([128.9.64.64]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IYUfv-0004G1-Uk for tcpm@ietf.org; Thu, 20 Sep 2007 18:39:17 -0400
Received: from [127.0.0.1] ([128.9.176.72]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id l8KMcdsA006381; Thu, 20 Sep 2007 15:38:39 -0700 (PDT)
Message-ID: <46F2F65A.50303@isi.edu>
Date: Thu, 20 Sep 2007 15:38:18 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Daniel Schaffrath <daniel.schaffrath@mac.com>
Subject: Re: [tcpm] Congestion control in face of ICMP unreachable messages
References: <8B61F72F-2F75-4388-976F-9748F8784AB3@mac.com> <20070817162542.GA2511@hut.isi.edu> <4AD719E5-AF65-4D4C-8BE8-B070793F69C3@mac.com> <20070907004335.GB48227@hut.isi.edu> <F0EB06F1-58B9-49B1-8CC0-AFEF49ABC276@mac.com> <20070914005315.GL13168@hut.isi.edu> <12EA28CC-C380-46EB-8886-C7BA9EC86148@mac.com>
In-Reply-To: <12EA28CC-C380-46EB-8886-C7BA9EC86148@mac.com>
X-Enigmail-Version: 0.95.3
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f60d0f7806b0c40781eee6b9cd0b2135
Cc: tcpm@ietf.org, Ted Faber <faber@ISI.EDU>
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1489007984=="
Errors-To: tcpm-bounces@ietf.org


Daniel Schaffrath wrote:
> 
...
>>     * ICMP operates on a different timescale than TCP.  It may take
>>       a router longer to decide that there's a host unreachable
>>       situation than the TCP stack would.  It may also take a router
>>       longer to detect the opposite.
> In my (naive?) understanding they not necessarily operate on a different
> timescale. For instance, it may take a router some time to execute an
> ARP request which may fail and then it would send a late ICMP (for the
> initial early segment, the later one got queued, then dropped). But if
> for whatever reason a port is disconnected (and by this a whole
> (sub-)net vanishes from the routing table) the router might be able to
> immediately (within an RTT) decide to send an ICMP. In either case the
> TCP source can decide about the timescale an arriving ICMP operates on
> (by looking at the sequence numbers therein). 

If the sequence numbers wrap, it can't tell much. Nothing guarantees
that ICMPs are generated before such wrap occurs - even assuming benign
behavior.

...
>> I don't think you gain very much, either.  If your application believes
>> that the connection has stuttered - a route flap or something - the
>> easiest way to fix it may be to reconnect.  I'll bet you do this a
>> couple times a day with your browser.  Hitting reload on a slow loading
>> page does exactly this.  Other applications may value continuity of
>> connection more.
> I exhibit exactly this behavior. And I don't like it. I'd like the
> network to solve these issues for me... :)

A "best effort" network doesn't provide that service. You may want a
circuit-oriented system.

Joe

-- 
----------------------------------------------------------------------
Joe Touch                Sr. Network Engineer, USAF TSAT Space Segment
               Postel Center Director & Research Assoc. Prof., USC/ISI

_______________________________________________
tcpm mailing list
tcpm@ietf.org
https://www1.ietf.org/mailman/listinfo/tcpm