Re: [Tsvwg] SCTP Timestamps

Stephan Baucke <stephan.baucke@ericsson.com> Sun, 20 July 2003 09:15 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA15380 for <tsvwg-archive@odin.ietf.org>; Sun, 20 Jul 2003 05:15:37 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19eAHf-0003v3-Sy for tsvwg-archive@odin.ietf.org; Sun, 20 Jul 2003 05:15:12 -0400
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id h6K9FBEm015065 for tsvwg-archive@odin.ietf.org; Sun, 20 Jul 2003 05:15:11 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19eAHV-0003uA-Nx; Sun, 20 Jul 2003 05:15:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 19eAHM-0003tp-IR for tsvwg@optimus.ietf.org; Sun, 20 Jul 2003 05:14:52 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA15374 for <tsvwg@ietf.org>; Sun, 20 Jul 2003 05:14:47 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 19eAHJ-0000pc-00 for tsvwg@ietf.org; Sun, 20 Jul 2003 05:14:49 -0400
Received: from moutng.kundenserver.de ([212.227.126.187]) by ietf-mx with esmtp (Exim 4.12) id 19eAH8-0000pF-00 for tsvwg@ietf.org; Sun, 20 Jul 2003 05:14:38 -0400
Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19eAGi-0006wb-00 for tsvwg@ietf.org; Sun, 20 Jul 2003 11:14:12 +0200
Received: from [80.133.132.121] (helo=ericsson.com) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 19eAGi-0006og-00; Sun, 20 Jul 2003 11:14:12 +0200
Message-ID: <3F1A5DDE.1060607@ericsson.com>
Date: Sun, 20 Jul 2003 11:16:14 +0200
From: Stephan Baucke <stephan.baucke@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Timestamps
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit

>> You have already mentioned one of the reasons: Detection of
>> spurious retransmissions using DSACK only works "after the fact",
>> whereas something like Eifel detects it early enough to avoid a
>> go-back-n-like behavior after a spurious timeout (also see RFC
>> 3522).
> 
> How about Pasi's F-RTO?  I have read Sourabh's questions about F-RTO.
> But I think F-RTO can be modified, possible making use of duplicate
> TSN, for SCTP to address those questions.

I have not really looked at F-RTO in depth, but seem to remember that it
only covers part of the cases that e.g. Eifel covers (perhaps Pasi can
comment on that?)

>> Also, DSACKs do not address the other issues mentioned in this
>> thread, such as the "path ambiguity" and RTTM. Note that DSACKs are
>> still useful and may be combined with Eifel; I think there is a
>> compelling case for introducing optional timestamps even if DSACKs
>> are already utilized.
> 
> I guess many people have pointed out that RTTM is not very crucial
> and

I am not convinced of that. While there is evidence questioning the
benefits of timing every packet for modest congestion window sizes 
(Allman/Paxson SIGCOMM '99), there is on the other hand evidence that it
can counter aliasing effects in case of large congestion windows (RFC
1323), and can help to reduce spurious timeouts in case of links with
highly variant RTTs, in particular wireless links (see e.g. RFC 3481,
section 4.8). Timestamps may also enable alternative RTO estimators in
the future.

> and there are implementation techniques which can make more RTT
> measurements without using timestamp.

But do these techniques also allow for the timing of retransmitted
packets? This still seems important to me, especially for obtaining a
better RTO on alternate paths. Without timestamps we would need some
other method to disambiguate retransmissions in order to achieve this.

> For the issue of path ambiguity, I guess we need to first understand
> why it happens.  And can it be avoided?  One case mentioned is that a
> retransmission takes place in an alternate path causing problem in
> cwnd growth.  We should first ask if retransmitting using an
> alternate path is always a good thing. There is a reason why RFC 2960
> does not require (MUST) an implementation to always retransmit using
> alternate path.  I guess we should first decide when an alternate
> path be used for retransmission to minimize the path ambiguity issue.
> 
I guess one could reduce the probability of the "path ambiguity" by
changing the SCTP retransmit policy, but nevertheless it seems sensible
to me to address problems that may arise from the standard policy
recommended by RFC 2960.

> Another path ambiguity issue mentioned is changeover by the app. A
> "simple" way to avoid that is for the implementation to withhold 
> sending packets before all outstanding packets to the original 
> primary destination address have been ack'ed.  This has the side 
> effect of discouraging an app to change often.  Granted, this
> "simple" solution prevents a lot of "experimentation" on, for
> example, load balancing and has obvious performance implication.  But
> I think at this point, there is no solid proposal in making using of
> alternate paths other than retransmission.  So I believe it is OK for
> now.

I think the performance implications would be serious. The failure
detection and failover mechanism are already too conservative for some
applications, and this would make them even more conservative.

> I guess we should try to avoid the problems first before trying to
> find a solution, timestamp in this case, to the problems.

I'll try to consolidate the issues:

1) Increasing the RTT sampling frequency: Benefits are still
controversial ([1] [2] [3]), could be achieved using either timestamps
or implementation techniques (at the cost of additional state at the sender)

2) RTO inflation on alternate paths due to inability to time
retransmissions [4]: Can be addressed by changed retransmission policy,
specially timed heartbeats, timestamps, or other method to resolve the
retransmission ambiguity ("retransmission bits")

3) Sequence number wrap-around within packet lifetime in high-speed
networks [1]: This affects SCTP equally as TCP (both use 32-bit seq.
number spaces), can be addressed by using timestamps (PAWS)

3) Incorrect congestion window growth due to crediting of SACKs to the
wrong destination address or unawareness of failover [5]: Can be
resolved by timestamps and/or Rhein algorithm (? not sure if these 
really cover the same problem space; Jana?)

4) Incorrect error counting due to crediting of SACKs to the wrong
destination address: Can be addressed using timestamps or other means to
resolve retransmission ambiguity (preferably for more than one
retransmission)

5) Detection and/or prevention of spurious retransmissions: Detection
possible using Eifel [6] (either with timestamps or new flags), Dup-TSNs
[7], or F-RTO [8]. Prevention possible with Eifel and F-RTO (?)


References:
[1] RFC 1323

[2] RFC 3481 (and citations [45], [52], [54], [60] therein)

[3] M. Allman, V. Paxson, "On Estimating End-to-End Network Path
Properties", SIGCOMM'99

[4] Armando L. Caro Jr., Paul D. Amer, Randall R. Stewart, "Transport
Layer Multihoming for Fault Tolerance in FCS Networks", MILCOM 2003
http://www.cis.udel.edu/~acaro/papers/2003.milcom.acaro.pdf

[5] Janardhan R. Iyengar, Armando L. Caro Jr., Paul D. Amer, Gerard J.
Heinz, Randall R. Stewart, "SCTP Congestion Window Overgrowth During
Changeover", SCI 2002
http://www.cis.udel.edu/~acaro/papers/2002.sci.iyengar.pdf

[6] RFC 3522

[7] draft-ietf-tsvwg-dsack-use-00.txt

[8] draft-sarolahti-tsvwg-tcp-frto-04.txt





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