Fast-Slow Retransmission Timeout and Congestion Control Algorithm for CoAP
draft-ietf-core-fasor-01
CoRE Working Group I. Jarvinen
Internet-Draft M. Kojo
Intended status: Experimental I. Raitahila
Expires: April 22, 2021 University of Helsinki
Z. Cao
Huawei
October 19, 2020
Fast-Slow Retransmission Timeout and Congestion Control Algorithm for
CoAP
draft-ietf-core-fasor-01
Abstract
This document specifies an alternative retransmission timeout and
congestion control back off algorithm for the CoAP protocol, called
Fast-Slow RTO (FASOR).
The algorithm specified in this document employs an appropriate and
large enough back off of Retransmission Timeout (RTO) as the major
congestion control mechanism to allow acquiring unambiguous RTT
samples with high probability and to prevent building a persistent
queue when retransmitting. The algorithm also aims to retransmit
quickly using an accurately managed retransmission timeout when link-
errors are occuring, basing RTO calculation on unambiguous round-trip
time (RTT) samples.
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on April 22, 2021.
Jarvinen, et al. Expires April 22, 2021 [Page 1]
Internet-Draft Fast-Slow RTO and CC Algorithm October 2020
Copyright Notice
Copyright (c) 2020 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Conventions . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. Problems with Existing CoAP Congestion Control Algorithms . . 3
4. FASOR Algorithm . . . . . . . . . . . . . . . . . . . . . . . 4
4.1. Computing Normal RTO (FastRTO) . . . . . . . . . . . . . 4
4.2. Slow RTO . . . . . . . . . . . . . . . . . . . . . . . . 5
4.3. Retransmission Timeout Back Off Logic . . . . . . . . . . 6
4.3.1. Overview . . . . . . . . . . . . . . . . . . . . . . 6
4.3.2. Retransmission State Machine . . . . . . . . . . . . 7
4.4. Retransmission Count Option . . . . . . . . . . . . . . . 9
4.5. Alternatives for Exchanging Retransmission Count
Information . . . . . . . . . . . . . . . . . . . . . . . 11
5. Security Considerations . . . . . . . . . . . . . . . . . . . 11
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 11
7. References . . . . . . . . . . . . . . . . . . . . . . . . . 11
7.1. Normative References . . . . . . . . . . . . . . . . . . 11
7.2. Informative References . . . . . . . . . . . . . . . . . 12
Appendix A. Pseudocode for Basic FASOR without Dithering . . . . 13
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 15
1. Introduction
CoAP senders use retransmission timeout (RTO) to infer losses that
have occurred in the network. For such a heuristic to be correct,
the RTT estimate used for calculating the retransmission timeout must
match to the real end-to-end path characteristics. Otherwise,
unnecessary retransmission may occur. Both default RTO mechanism for
CoAP [RFC7252] and CoCoA [I-D.ietf-core-cocoa] have issues in dealing
with unnecessary retransmissions and in the worst-case the situation
can persist causing congestion collapse [JRCK18a].
Jarvinen, et al. Expires April 22, 2021 [Page 2]
Internet-Draft Fast-Slow RTO and CC Algorithm October 2020
Show full document text