[tcpm] new-cwv: Proposed change to recovery equations.

Gorry Fairhurst <gorry@erg.abdn.ac.uk> Sat, 05 October 2013 12:54 UTC

Return-Path: <gorry@erg.abdn.ac.uk>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DF1921F8D20 for <tcpm@ietfa.amsl.com>; Sat, 5 Oct 2013 05:54:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iasoQ4PVsZPq for <tcpm@ietfa.amsl.com>; Sat, 5 Oct 2013 05:54:41 -0700 (PDT)
Received: from spey.erg.abdn.ac.uk (spey.erg.abdn.ac.uk [139.133.204.173]) by ietfa.amsl.com (Postfix) with ESMTP id C4C4B21F8C20 for <tcpm@ietf.org>; Sat, 5 Oct 2013 05:54:40 -0700 (PDT)
Received: by spey.erg.abdn.ac.uk (Postfix, from userid 5001) id 51D162B4510; Sat, 5 Oct 2013 13:54:39 +0100 (BST)
Received: from Gorry.local (fgrpf.plus.com [212.159.18.54]) by spey.erg.abdn.ac.uk (Postfix) with ESMTPSA id 2A0712B44A5; Sat, 5 Oct 2013 13:54:37 +0100 (BST)
Message-ID: <52500069.9030006@erg.abdn.ac.uk>
Date: Sat, 05 Oct 2013 13:04:57 +0100
From: Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Organization: The University of Aberdeen is a charity registered in Scotland, No SC013683.
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: tcpm@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Raffaello@erg.abdn.ac.uk, "Arjuna Sathiaseelan (work)" <arjuna@erg.abdn.ac.uk>
Subject: [tcpm] new-cwv: Proposed change to recovery equations.
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: gorry@erg.abdn.ac.uk
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Sat, 05 Oct 2013 12:54:45 -0000

Prior to the last TCPM WG, we received a question about why we used a 
different adjustment of cwnd at the start and end of the recovery phase 
in 
https://datatracker.ietf.org/doc/draft-ietf-tcpm-newcwv/?include_text=1, 
section 4.4.1. We agreed to explore whether we could find a single 
approach, rather than reductions based on different terms.

The authors have now looked at various pathologies, and we think that 
the updated equations below seem appropriate. These now use the same set 
of terms, except that the first can not include the "R" term, since this 
is only discovered during recovery.

If people have comments or questions, please say. We plan to prepare an 
updated draft with this change and including other corrections received.

Gorry, Raffaello, Arjuna.

--- Excerpt of proposed new text:

    A sender that detects a packet-drop, or receives an indication of an
    ECN marked packet, MUST record the current FlightSize in the variable
    LossFlightSize and MUST calculate a safe cwnd for loss recovery using
    the method below:

            cwnd = (Max(pipeACK,LossFlightSize))/2.

...

    At the end of the recovery phase, the TCP sender MUST reset the cwnd
    using the method below:

            cwnd = (Max(pipeACK,LossFlightSize) - R)/2.

    Where, R is the volume of data that was retransmitted during the
    recovery phase.