<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.1.2 -->

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
]>

<?rfc toc="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>
<?rfc docmapping="yes"?>

<rfc ipr="trust200902" docName="draft-ietf-quic-recovery-08" category="std">

  <front>
    <title abbrev="QUIC Loss Detection">QUIC Loss Detection and Congestion Control</title>

    <author initials="J." surname="Iyengar" fullname="Jana Iyengar" role="editor">
      <organization>Google</organization>
      <address>
        <email>jri@google.com</email>
      </address>
    </author>
    <author initials="I." surname="Swett" fullname="Ian Swett" role="editor">
      <organization>Google</organization>
      <address>
        <email>ianswett@google.com</email>
      </address>
    </author>

    <date year="2017" month="December"/>

    <area>Transport</area>
    <workgroup>QUIC</workgroup>
    

    <abstract>


<t>This document describes loss detection and congestion control mechanisms for
QUIC.</t>



    </abstract>


    <note title="Note to Readers">


<t>Discussion of this draft takes place on the QUIC working group mailing list
(quic@ietf.org), which is archived at
<eref target="https://mailarchive.ietf.org/arch/search/?email_list=quic">https://mailarchive.ietf.org/arch/search/?email_list=quic</eref>.</t>

<t>Working Group information can be found at <eref target="https://github.com/quicwg">https://github.com/quicwg</eref>; source
code and issues list for this draft can be found at
<eref target="https://github.com/quicwg/base-drafts/labels/-recovery">https://github.com/quicwg/base-drafts/labels/-recovery</eref>.</t>


    </note>


  </front>

  <middle>


<section anchor="introduction" title="Introduction">

<t>QUIC is a new multiplexed and secure transport atop UDP.  QUIC builds on decades
of transport and security experience, and implements mechanisms that make it
attractive as a modern general-purpose transport.  The QUIC protocol is
described in <xref target="QUIC-TRANSPORT"/>.</t>

<t>QUIC implements the spirit of known TCP loss recovery mechanisms, described in
RFCs, various Internet-drafts, and also those prevalent in the Linux TCP
implementation.  This document describes QUIC congestion control and loss
recovery, and where applicable, attributes the TCP equivalent in RFCs,
Internet-drafts, academic papers, and/or TCP implementations.</t>

<section anchor="notational-conventions" title="Notational Conventions">

<t>The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”,
“SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this
document are to be interpreted as described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/>
when, and only when, they appear in all capitals, as shown here.</t>

</section>
</section>
<section anchor="design-of-the-quic-transmission-machinery" title="Design of the QUIC Transmission Machinery">

<t>All transmissions in QUIC are sent with a packet-level header, which includes a
packet sequence number (referred to below as a packet number).  These packet
numbers never repeat in the lifetime of a connection, and are monotonically
increasing, which prevents ambiguity.  This fundamental design decision
obviates the need for disambiguating between transmissions and
retransmissions and eliminates significant complexity from QUIC’s
interpretation of TCP loss detection mechanisms.</t>

<t>Every packet may contain several frames.  We outline the frames that are
important to the loss detection and congestion control machinery below.</t>

<t><list style="symbols">
  <t>Retransmittable frames are frames requiring reliable delivery.  The most
common are STREAM frames, which typically contain application data.</t>
  <t>Crypto handshake data is sent on stream 0, and uses the reliability
machinery of QUIC underneath.</t>
  <t>ACK frames contain acknowledgment information.  ACK frames contain one or more
ranges of acknowledged packets.</t>
</list></t>

<section anchor="relevant-differences-between-quic-and-tcp" title="Relevant Differences Between QUIC and TCP">

<t>Readers familiar with TCP’s loss detection and congestion control will find
algorithms here that parallel well-known TCP ones. Protocol differences between
QUIC and TCP however contribute to algorithmic differences. We briefly describe
these protocol differences below.</t>

<section anchor="monotonically-increasing-packet-numbers" title="Monotonically Increasing Packet Numbers">

<t>TCP conflates transmission sequence number at the sender with delivery sequence
number at the receiver, which results in retransmissions of the same data
carrying the same sequence number, and consequently to problems caused by
“retransmission ambiguity”.  QUIC separates the two: QUIC uses a packet
number for transmissions, and any data that is to be delivered to the receiving
application(s) is sent in one or more streams, with delivery order determined
by stream offsets encoded within STREAM frames.</t>

<t>QUIC’s packet number is strictly increasing, and directly encodes transmission
order.  A higher QUIC packet number signifies that the packet was sent later,
and a lower QUIC packet number signifies that the packet was sent earlier.  When
a packet containing frames is deemed lost, QUIC rebundles necessary frames in a
new packet with a new packet number, removing ambiguity about which packet is
acknowledged when an ACK is received.  Consequently, more accurate RTT
measurements can be made, spurious retransmissions are trivially detected, and
mechanisms such as Fast Retransmit can be applied universally, based only on
packet number.</t>

<t>This design point significantly simplifies loss detection mechanisms for QUIC.
Most TCP mechanisms implicitly attempt to infer transmission ordering based on
TCP sequence numbers - a non-trivial task, especially when TCP timestamps are
not available.</t>

</section>
<section anchor="no-reneging" title="No Reneging">

<t>QUIC ACKs contain information that is similar to TCP SACK, but QUIC does not
allow any acked packet to be reneged, greatly simplifying implementations on
both sides and reducing memory pressure on the sender.</t>

</section>
<section anchor="more-ack-ranges" title="More ACK Ranges">

<t>QUIC supports many ACK ranges, opposed to TCP’s 3 SACK ranges.  In high loss
environments, this speeds recovery, reduces spurious retransmits, and ensures
forward progress without relying on timeouts.</t>

</section>
<section anchor="explicit-correction-for-delayed-acks" title="Explicit Correction For Delayed Acks">

<t>QUIC ACKs explicitly encode the delay incurred at the receiver between when a
packet is received and when the corresponding ACK is sent.  This allows the
receiver of the ACK to adjust for receiver delays, specifically the delayed ack
timer, when estimating the path RTT.  This mechanism also allows a receiver to
measure and report the delay from when a packet was received by the OS kernel,
which is useful in receivers which may incur delays such as context-switch
latency before a userspace QUIC receiver processes a received packet.</t>

</section>
</section>
</section>
<section anchor="loss-detection" title="Loss Detection">

<t>QUIC senders use both ack information and timeouts to detect lost packets, and
this section provides a description of these algorithms. Estimating the network
round-trip time (RTT) is critical to these algorithms and is described first.</t>

<section anchor="computing-the-rtt-estimate" title="Computing the RTT estimate">

<t>RTT is calculated when an ACK frame arrives by computing the difference
between the current time and the time the largest newly acked packet was sent.
If no packets are newly acknowledged, RTT cannot be calculated. When RTT is
calculated, the ack delay field from the ACK frame SHOULD be subtracted from
the RTT as long as the result is larger than the Min RTT.  If the result is
smaller than the min_rtt, the RTT should be used, but the ack delay field
should be ignored.</t>

<t>Like TCP, QUIC calculates both smoothed RTT and RTT variance as specified in
<xref target="RFC6298"/>.</t>

<t>Min RTT is the minimum RTT measured over the connection, prior to adjusting
by ack delay.  Ignoring ack delay for min RTT prevents intentional or
unintentional underestimation of min RTT, which in turn prevents
underestimating smoothed RTT.</t>

</section>
<section anchor="ack-based-detection" title="Ack-based Detection">

<t>Ack-based loss detection implements the spirit of TCP’s Fast Retransmit
<xref target="RFC5681"/>, Early Retransmit <xref target="RFC5827"/>, FACK, and SACK loss recovery
<xref target="RFC6675"/>. This section provides an overview of how these algorithms are
implemented in QUIC.</t>

<t>(TODO: Define unacknowledged packet, ackable packet, outstanding bytes.)</t>

<section anchor="fast-retransmit" title="Fast Retransmit">

<t>An unacknowledged packet is marked as lost when an acknowledgment is received
for a packet that was sent a threshold number of packets (kReorderingThreshold)
after the unacknowledged packet. Receipt of the ack indicates that a later
packet was received, while kReorderingThreshold provides some tolerance for
reordering of packets in the network.</t>

<t>The RECOMMENDED initial value for kReorderingThreshold is 3.</t>

<t>We derive this default from recommendations for TCP loss recovery <xref target="RFC5681"/>
<xref target="RFC6675"/>. It is possible for networks to exhibit higher degrees of
reordering, causing a sender to detect spurious losses. Detecting spurious
losses leads to unnecessary retransmissions and may result in degraded
performance due to the actions of the congestion controller upon detecting
loss. Implementers MAY use algorithms developed for TCP, such as TCP-NCR
<xref target="RFC4653"/>, to improve QUIC’s reordering resilience, though care should be
taken to map TCP specifics to QUIC correctly. Similarly, using time-based loss
detection to deal with reordering, such as in PR-TCP, should be more readily
usable in QUIC. Making QUIC deal with such networks is important open research,
and implementers are encouraged to explore this space.</t>

</section>
<section anchor="early-retransmit" title="Early Retransmit">

<t>Unacknowledged packets close to the tail may have fewer than
kReorderingThreshold number of ackable packets sent after them. Loss of such
packets cannot be detected via Fast Retransmit. To enable ack-based loss
detection of such packets, receipt of an acknowledgment for the last outstanding
ackable packet triggers the Early Retransmit process, as follows.</t>

<t>If there are unacknowledged ackable packets still pending, they ought to be
marked as lost. To compensate for the reduced reordering resilience, the sender
SHOULD set an alarm for a small period of time. If the unacknowledged ackable
packets are not acknowledged during this time, then these packets MUST be marked
as lost.</t>

<t>An endpoint SHOULD set the alarm such that a packet is marked as lost no earlier
than 1.25 * max(SRTT, latest_RTT) since when it was sent.</t>

<t>Using max(SRTT, latest_RTT) protects from the two following cases:</t>

<t><list style="symbols">
  <t>the latest RTT sample is lower than the SRTT, perhaps due to reordering where
packet whose ack triggered the Early Retransit process encountered a shorter
path;</t>
  <t>the latest RTT sample is higher than the SRTT, perhaps due to a sustained
increase in the actual RTT, but the smoothed SRTT has not yet caught up.</t>
</list></t>

<t>The 1.25 multiplier increases reordering resilience. Implementers MAY experiment
with using other multipliers, bearing in mind that a lower multiplier reduces
reordering resilience and increases spurious retransmissions, and a higher
multipler increases loss recovery delay.</t>

<t>This mechanism is based on Early Retransmit for TCP <xref target="RFC5827"/>. However,
<xref target="RFC5827"/> does not include the alarm described above. Early Retransmit is
prone to spurious retransmissions due to its reduced reordering resilence
without the alarm. This observation led Linux TCP implementers to implement an
alarm for TCP as well, and this document incorporates this advancement.</t>

</section>
</section>
<section anchor="timer-based-detection" title="Timer-based Detection">

<t>Timer-based loss detection implements the spirit of TCP’s Tail Loss Probe
and Retransmission Timeout mechanisms.</t>

<section anchor="tail-loss-probe" title="Tail Loss Probe">

<t>The algorithm described in this section is an adaptation of the Tail Loss Probe
algorithm proposed for TCP <xref target="TLP"/>.</t>

<t>A packet sent at the tail is particularly vulnerable to slow loss detection,
since acks of subsequent packets are needed to trigger ack-based detection. To
ameliorate this weakness of tail packets, the sender schedules an alarm when the
last ackable packet before quiescence is transmitted. When this alarm fires, a
Tail Loss Probe (TLP) packet is sent to evoke an acknowledgement from the
receiver.</t>

<t>The alarm duration, or Probe Timeout (PTO), is set based on the following
conditions:</t>

<t><list style="symbols">
  <t>PTO SHOULD be scheduled for max(1.5*SRTT+MaxAckDelay, 10ms)</t>
  <t>If RTO (<xref target="rto"/>) is earlier, schedule a TLP alarm in its place. That is,
PTO SHOULD be scheduled for min(RTO, PTO).</t>
</list></t>

<t>MaxAckDelay is the maximum ack delay supplied in an incoming ACK frame.
MaxAckDelay excludes ack delays that aren’t included in an RTT sample because
they’re too large and excludes those which reference an ack-only packet.</t>

<t>QUIC diverges from TCP by calculating MaxAckDelay dynamically, instead of
assuming a constant delayed ack timeout for all connections.  QUIC includes
this in all probe timeouts, because it assume the ack delay may come into play,
regardless of the number of packets outstanding.  TCP’s TLP assumes if at least
2 packets are outstanding, acks will not be delayed.</t>

<t>A PTO value of at least 1.5*SRTT ensures that the ACK is overdue.  The 1.5
is based on <xref target="LOSS-PROBE"/>, but
implementations MAY experiment with other constants.</t>

<t>To reduce latency, it is RECOMMENDED that the sender set and allow the TLP alarm
to fire twice before setting an RTO alarm. In other words, when the TLP alarm
fires the first time, a TLP packet is sent, and it is RECOMMENDED that the TLP
alarm be scheduled for a second time. When the TLP alarm fires the second time,
a second TLP packet is sent, and an RTO alarm SHOULD be scheduled <xref target="rto"/>.</t>

<t>A TLP packet SHOULD carry new data when possible. If new data is unavailable or
new data cannot be sent due to flow control, a TLP packet MAY retransmit
unacknowledged data to potentially reduce recovery time. Since a TLP alarm is
used to send a probe into the network prior to establishing any packet loss,
prior unacknowledged packets SHOULD NOT be marked as lost when a TLP alarm
fires.</t>

<t>A TLP packet MUST NOT be blocked by the sender’s congestion controller. The
sender MUST however count these bytes as additional bytes in flight, since a TLP
adds network load without establishing packet loss.</t>

<t>A sender may not know that a packet being sent is a tail packet.
Consequently, a sender may have to arm or adjust the TLP alarm on every sent
ackable packet.</t>

</section>
<section anchor="rto" title="Retransmission Timeout">

<t>A Retransmission Timeout (RTO) alarm is the final backstop for loss
detection. The algorithm used in QUIC is based on the RTO algorithm for TCP
<xref target="RFC5681"/> and is additionally resilient to spurious RTO events <xref target="RFC5682"/>.</t>

<t>When the last TLP packet is sent, an alarm is scheduled for the RTO period. When
this alarm fires, the sender sends two packets, to evoke acknowledgements from
the receiver, and restarts the RTO alarm.</t>

<t>Similar to TCP <xref target="RFC6298"/>, the RTO period is set based on the following
conditions:</t>

<t><list style="symbols">
  <t>When the final TLP packet is sent, the RTO period is set to max(SRTT +
4*RTTVAR + MaxAckDelay, minRTO)</t>
  <t>When an RTO alarm fires, the RTO period is doubled.</t>
</list></t>

<t>The sender typically has incurred a high latency penalty by the time an RTO
alarm fires, and this penalty increases exponentially in subsequent consecutive
RTO events. Sending a single packet on an RTO event therefore makes the
connection very sensitive to single packet loss. Sending two packets instead of
one significantly increases resilience to packet drop in both directions, thus
reducing the probability of consecutive RTO events.</t>

<t>QUIC’s RTO algorithm differs from TCP in that the firing of an RTO alarm is not
considered a strong enough signal of packet loss, so does not result in an
immediate change to congestion window or recovery state. An RTO alarm fires only
when there’s a prolonged period of network silence, which could be caused by a
change in the underlying network RTT.</t>

<t>QUIC also diverges from TCP by including MaxAckDelay in the RTO period.  QUIC is
able to explicitly model delay at the receiver via the ack delay field in the
ACK frame.  Since QUIC corrects for this delay in its SRTT and RTTVAR
computations, it is necessary to add this delay explicitly in the TLP and RTO
computation.</t>

<t>When an acknowledgment is received for a packet sent on an RTO event, any
unacknowledged packets with lower packet numbers than those acknowledged MUST be
marked as lost.</t>

<t>A packet sent when an RTO alarm fires MAY carry new data if available or
unacknowledged data to potentially reduce recovery time. Since this packet is
sent as a probe into the network prior to establishing any packet loss, prior
unacknowledged packets SHOULD NOT be marked as lost.</t>

<t>A packet sent on an RTO alarm MUST NOT be blocked by the sender’s congestion
controller. A sender MUST however count these bytes as additional bytes in
flight, since this packet adds network load without establishing packet loss.</t>

</section>
<section anchor="handshake-timeout" title="Handshake Timeout">

<t>Handshake packets, which contain STREAM frames for stream 0, are critical to
QUIC transport and crypto negotiation, so a separate alarm is used for them.</t>

<t>The initial handshake timeout SHOULD be set to twice the initial RTT.</t>

<t>At the beginning, there are no prior RTT samples within a connection.
Resumed connections over the same network SHOULD use the previous
connection’s final smoothed RTT value as the resumed connection’s initial RTT.</t>

<t>If no previous RTT is available, or if the network changes, the initial RTT
SHOULD be set to 100ms.</t>

<t>When the first handshake packet is sent, the sender SHOULD set an alarm for the
handshake timeout period.</t>

<t>When the alarm fires, the sender MUST retransmit all unacknowledged handshake
data. On each consecutive firing of the handshake alarm, the sender SHOULD
double the handshake timeout and set an alarm for this period.</t>

<t>When an acknowledgement is received for a handshake packet, the new RTT is
computed and the alarm SHOULD be set for twice the newly computed smoothed RTT.</t>

<t>Handshake data may be cancelled by handshake state transitions. In particular,
all non-protected data SHOULD no longer be transmitted once packet protection
is available.</t>

<t>(TODO: Work this section some more. Add text on client vs. server, and on
stateless retry.)</t>

</section>
</section>
<section anchor="pseudocode" title="Pseudocode">

<section anchor="constants-of-interest" title="Constants of interest">

<t>Constants used in loss recovery are based on a combination of RFCs, papers,
and common practice.  Some may need to be changed or negotiated in order to
better suit a variety of environments.</t>

<t><list style="hanging">
  <t hangText='kMaxTLPs (default 2):'>
  Maximum number of tail loss probes before an RTO fires.</t>
  <t hangText='kReorderingThreshold (default 3):'>
  Maximum reordering in packet number space before FACK style loss detection
considers a packet lost.</t>
  <t hangText='kTimeReorderingFraction (default 1/8):'>
  Maximum reordering in time space before time based loss detection considers
a packet lost.  In fraction of an RTT.</t>
  <t hangText='kUsingTimeLossDetection (default false):'>
  Whether time based loss detection is in use.  If false, uses FACK style
loss detection.</t>
  <t hangText='kMinTLPTimeout (default 10ms):'>
  Minimum time in the future a tail loss probe alarm may be set for.</t>
  <t hangText='kMinRTOTimeout (default 200ms):'>
  Minimum time in the future an RTO alarm may be set for.</t>
  <t hangText='kDelayedAckTimeout (default 25ms):'>
  The length of the peer’s delayed ack timer.</t>
  <t hangText='kDefaultInitialRtt (default 100ms):'>
  The default RTT used before an RTT sample is taken.</t>
</list></t>

</section>
<section anchor="variables-of-interest" title="Variables of interest">

<t>Variables required to implement the congestion control mechanisms
are described in this section.</t>

<t><list style="hanging">
  <t hangText='loss_detection_alarm:'>
  Multi-modal alarm used for loss detection.</t>
  <t hangText='handshake_count:'>
  The number of times the handshake packets have been
retransmitted without receiving an ack.</t>
  <t hangText='tlp_count:'>
  The number of times a tail loss probe has been sent without
receiving an ack.</t>
  <t hangText='rto_count:'>
  The number of times an rto has been sent without receiving an ack.</t>
  <t hangText='largest_sent_before_rto:'>
  The last packet number sent prior to the first retransmission
timeout.</t>
  <t hangText='time_of_last_sent_packet:'>
  The time the most recent packet was sent.</t>
  <t hangText='largest_sent_packet:'>
  The packet number of the most recently sent packet.</t>
  <t hangText='largest_acked_packet:'>
  The largest packet number acknowledged in an ACK frame.</t>
  <t hangText='latest_rtt:'>
  The most recent RTT measurement made when receiving an ack for
a previously unacked packet.</t>
  <t hangText='smoothed_rtt:'>
  The smoothed RTT of the connection, computed as described in
<xref target="RFC6298"/></t>
  <t hangText='rttvar:'>
  The RTT variance, computed as described in <xref target="RFC6298"/></t>
  <t hangText='min_rtt:'>
  The minimum RTT seen in the connection, ignoring ack delay.</t>
  <t hangText='max_ack_delay:'>
  The maximum ack delay in an incoming ACK frame for this connection.
Excludes ack delays for ack only packets and those that create an
RTT sample less than min_rtt.</t>
  <t hangText='reordering_threshold:'>
  The largest delta between the largest acked
retransmittable packet and a packet containing retransmittable frames before
it’s declared lost.</t>
  <t hangText='time_reordering_fraction:'>
  The reordering window as a fraction of max(smoothed_rtt, latest_rtt).</t>
  <t hangText='loss_time:'>
  The time at which the next packet will be considered lost based on early
transmit or exceeding the reordering window in time.</t>
  <t hangText='sent_packets:'>
  An association of packet numbers to information about them, including a number
field indicating the packet number, a time field indicating the time a packet
was sent, a boolean indicating whether the packet is ack only, and a bytes
field indicating the packet’s size.  sent_packets is ordered by packet
number, and packets remain in sent_packets until acknowledged or lost.</t>
</list></t>

</section>
<section anchor="initialization" title="Initialization">

<t>At the beginning of the connection, initialize the loss detection variables as
follows:</t>

<figure><artwork><![CDATA[
   loss_detection_alarm.reset()
   handshake_count = 0
   tlp_count = 0
   rto_count = 0
   if (kUsingTimeLossDetection)
     reordering_threshold = infinite
     time_reordering_fraction = kTimeReorderingFraction
   else:
     reordering_threshold = kReorderingThreshold
     time_reordering_fraction = infinite
   loss_time = 0
   smoothed_rtt = 0
   rttvar = 0
   min_rtt = 0
   max_ack_delay = 0
   largest_sent_before_rto = 0
   time_of_last_sent_packet = 0
   largest_sent_packet = 0
]]></artwork></figure>

</section>
<section anchor="on-sending-a-packet" title="On Sending a Packet">

<t>After any packet is sent, be it a new transmission or a rebundled transmission,
the following OnPacketSent function is called.  The parameters to OnPacketSent
are as follows:</t>

<t><list style="symbols">
  <t>packet_number: The packet number of the sent packet.</t>
  <t>is_ack_only: A boolean that indicates whether a packet only contains an
ACK frame.  If true, it is still expected an ack will be received for
this packet, but it is not congestion controlled.</t>
  <t>sent_bytes: The number of bytes sent in the packet, not including UDP or IP
overhead, but including QUIC framing overhead.</t>
</list></t>

<t>Pseudocode for OnPacketSent follows:</t>

<figure><artwork><![CDATA[
 OnPacketSent(packet_number, is_ack_only, sent_bytes):
   time_of_last_sent_packet = now
   largest_sent_packet = packet_number
   sent_packets[packet_number].packet_number = packet_number
   sent_packets[packet_number].time = now
   sent_packets[packet_number].ack_only = is_ack_only
   if !is_ack_only:
     OnPacketSentCC(sent_bytes)
     sent_packets[packet_number].bytes = sent_bytes
     SetLossDetectionAlarm()
]]></artwork></figure>

</section>
<section anchor="on-ack-receipt" title="On Ack Receipt">

<t>When an ack is received, it may acknowledge 0 or more packets.</t>

<t>Pseudocode for OnAckReceived and UpdateRtt follow:</t>

<figure><artwork><![CDATA[
   OnAckReceived(ack):
     largest_acked_packet = ack.largest_acked
     // If the largest acked is newly acked, update the RTT.
     if (sent_packets[ack.largest_acked]):
       latest_rtt = now - sent_packets[ack.largest_acked].time
       UpdateRtt(latest_rtt, ack.ack_delay)
     // Find all newly acked packets.
     for acked_packet in DetermineNewlyAckedPackets():
       OnPacketAcked(acked_packet.packet_number)

     DetectLostPackets(ack.largest_acked_packet)
     SetLossDetectionAlarm()


   UpdateRtt(latest_rtt, ack_delay):
     // min_rtt ignores ack delay.
     min_rtt = min(min_rtt, latest_rtt)
     // Adjust for ack delay if it's plausible.
     if (latest_rtt - min_rtt > ack_delay):
       latest_rtt -= ack_delay
       // Only save into max ack delay if it's used
       // for rtt calculation and is not ack only.
       if (!sent_packets[ack.largest_acked].ack_only)
         max_ack_delay = max(max_ack_delay, ack_delay)
     // Based on {{RFC6298}}.
     if (smoothed_rtt == 0):
       smoothed_rtt = latest_rtt
       rttvar = latest_rtt / 2
     else:
       rttvar = 3/4 * rttvar + 1/4 * abs(smoothed_rtt - latest_rtt)
       smoothed_rtt = 7/8 * smoothed_rtt + 1/8 * latest_rtt
]]></artwork></figure>

</section>
<section anchor="on-packet-acknowledgment" title="On Packet Acknowledgment">

<t>When a packet is acked for the first time, the following OnPacketAcked function
is called.  Note that a single ACK frame may newly acknowledge several packets.
OnPacketAcked must be called once for each of these newly acked packets.</t>

<t>OnPacketAcked takes one parameter, acked_packet, which is the packet number of
the newly acked packet, and returns a list of packet numbers that are detected
as lost.</t>

<t>If this is the first acknowledgement following RTO, check if the smallest newly
acknowledged packet is one sent by the RTO, and if so, inform congestion control
of a verified RTO, similar to F-RTO <xref target="RFC5682"/></t>

<t>Pseudocode for OnPacketAcked follows:</t>

<figure><artwork><![CDATA[
   OnPacketAcked(acked_packet_number):
     OnPacketAckedCC(acked_packet_number)
     // If a packet sent prior to RTO was acked, then the RTO
     // was spurious.  Otherwise, inform congestion control.
     if (rto_count > 0 &&
         acked_packet_number > largest_sent_before_rto)
       OnRetransmissionTimeoutVerified()
     handshake_count = 0
     tlp_count = 0
     rto_count = 0
     sent_packets.remove(acked_packet_number)
]]></artwork></figure>

</section>
<section anchor="setting-the-loss-detection-alarm" title="Setting the Loss Detection Alarm">

<t>QUIC loss detection uses a single alarm for all timer-based loss detection.  The
duration of the alarm is based on the alarm’s mode, which is set in the packet
and timer events further below.  The function SetLossDetectionAlarm defined
below shows how the single timer is set based on the alarm mode.</t>

<section anchor="handshake-alarm" title="Handshake Alarm">

<t>When a connection has unacknowledged handshake data, the handshake alarm is
set and when it expires, all unacknowledgedd handshake data is retransmitted.</t>

<t>When stateless rejects are in use, the connection is considered immediately
closed once a reject is sent, so no timer is set to retransmit the reject.</t>

<t>Version negotiation packets are always stateless, and MUST be sent once per
handshake packet that uses an unsupported QUIC version, and MAY be sent in
response to 0RTT packets.</t>

</section>
<section anchor="tail-loss-probe-and-retransmission-alarm" title="Tail Loss Probe and Retransmission Alarm">

<t>Tail loss probes <xref target="LOSS-PROBE"/> and
retransmission timeouts <xref target="RFC6298"/> are an alarm based mechanism to recover
from cases when there are outstanding retransmittable packets, but an
acknowledgement has not been received in a timely manner.</t>

<t>The TLP and RTO timers are armed when there is not unacknowledged handshake
data.  The TLP alarm is set until the max number of TLP packets have been
sent, and then the RTO tiemr is set.</t>

</section>
<section anchor="early-retransmit-alarm" title="Early Retransmit Alarm">

<t>Early retransmit <xref target="RFC5827"/> is implemented with a 1/4 RTT timer. It is
part of QUIC’s time based loss detection, but is always enabled, even when
only packet reordering loss detection is enabled.</t>

</section>
<section anchor="pseudocode-1" title="Pseudocode">

<t>Pseudocode for SetLossDetectionAlarm follows:</t>

<figure><artwork><![CDATA[
 SetLossDetectionAlarm():
    // Don't arm the alarm if there are no packets with
    // retransmittable data in flight.
    if (num_retransmittable_packets_outstanding == 0):
      loss_detection_alarm.cancel()
      return

    if (handshake packets are outstanding):
      // Handshake retransmission alarm.
      if (smoothed_rtt == 0):
        alarm_duration = 2 * kDefaultInitialRtt
      else:
        alarm_duration = 2 * smoothed_rtt
      alarm_duration = max(alarm_duration, kMinTLPTimeout)
      alarm_duration = alarm_duration * (2 ^ handshake_count)
    else if (loss_time != 0):
      // Early retransmit timer or time loss detection.
      alarm_duration = loss_time - time_of_last_sent_packet
    else if (tlp_count < kMaxTLPs):
      // Tail Loss Probe
      alarm_duration = max(1.5 * smoothed_rtt + max_ack_delay,
                           kMinTLPTimeout)
    else:
      // RTO alarm
      alarm_duration = smoothed_rtt + 4 * rttvar
      alarm_duration = max(alarm_duration, kMinRTOTimeout)
      alarm_duration = alarm_duration * (2 ^ rto_count)

    loss_detection_alarm.set(time_of_last_sent_packet
        + alarm_duration)
]]></artwork></figure>

</section>
</section>
<section anchor="on-alarm-firing" title="On Alarm Firing">

<t>QUIC uses one loss recovery alarm, which when set, can be in one of several
modes.  When the alarm fires, the mode determines the action to be performed.</t>

<t>Pseudocode for OnLossDetectionAlarm follows:</t>

<figure><artwork><![CDATA[
   OnLossDetectionAlarm():
     if (handshake packets are outstanding):
       // Handshake retransmission alarm.
       RetransmitAllHandshakePackets()
       handshake_count++
     else if (loss_time != 0):
       // Early retransmit or Time Loss Detection
       DetectLostPackets(largest_acked_packet)
     else if (tlp_count < kMaxTLPs):
       // Tail Loss Probe.
       SendOnePacket()
       tlp_count++
     else:
       // RTO.
       if (rto_count == 0)
         largest_sent_before_rto = largest_sent_packet
       SendTwoPackets()
       rto_count++

     SetLossDetectionAlarm()
]]></artwork></figure>

</section>
<section anchor="detecting-lost-packets" title="Detecting Lost Packets">

<t>Packets in QUIC are only considered lost once a larger packet number is
acknowledged.  DetectLostPackets is called every time an ack is received.
If the loss detection alarm fires and the loss_time is set, the previous
largest acked packet is supplied.</t>

<section anchor="handshake-packets" title="Handshake Packets">

<t>The receiver MUST close the connection with an error of type OPTIMISTIC_ACK
when receiving an unprotected packet that acks protected packets.
The receiver MUST trust protected acks for unprotected packets, however.  Aside
from this, loss detection for handshake packets when an ack is processed is
identical to other packets.</t>

</section>
<section anchor="pseudocode-2" title="Pseudocode">

<t>DetectLostPackets takes one parameter, acked, which is the largest acked packet.</t>

<t>Pseudocode for DetectLostPackets follows:</t>

<figure><artwork><![CDATA[
   DetectLostPackets(largest_acked):
     loss_time = 0
     lost_packets = {}
     delay_until_lost = infinite
     if (kUsingTimeLossDetection):
       delay_until_lost =
         (1 + time_reordering_fraction) * max(latest_rtt, smoothed_rtt)
     else if (largest_acked.packet_number == largest_sent_packet):
       // Early retransmit alarm.
       delay_until_lost = 5/4 * max(latest_rtt, smoothed_rtt)
     foreach (unacked < largest_acked.packet_number):
       time_since_sent = now() - unacked.time_sent
       delta = largest_acked.packet_number - unacked.packet_number
       if (time_since_sent > delay_until_lost):
         lost_packets.insert(unacked)
       else if (delta > reordering_threshold)
         lost_packets.insert(unacked)
       else if (loss_time == 0 && delay_until_lost != infinite):
         loss_time = now() + delay_until_lost - time_since_sent

     // Inform the congestion controller of lost packets and
     // lets it decide whether to retransmit immediately.
     if (!lost_packets.empty())
       OnPacketsLost(lost_packets)
       foreach (packet in lost_packets)
         sent_packets.remove(packet.packet_number)
]]></artwork></figure>

</section>
</section>
</section>
<section anchor="discussion" title="Discussion">
<t>The majority of constants were derived from best common practices among widely
deployed TCP implementations on the internet.  Exceptions follow.</t>

<t>A shorter delayed ack time of 25ms was chosen because longer delayed acks can
delay loss recovery and for the small number of connections where less than
packet per 25ms is delivered, acking every packet is beneficial to congestion
control and loss recovery.</t>

<t>The default initial RTT of 100ms was chosen because it is slightly higher than
both the median and mean min_rtt typically observed on the public internet.</t>

</section>
</section>
<section anchor="congestion-control" title="Congestion Control">

<t>QUIC’s congestion control is based on TCP NewReno<xref target="RFC6582"/>
congestion control to determine the congestion window and
pacing rate.  QUIC congestion control is specified in bytes due to
finer control and the ease of appropriate byte counting<xref target="RFC3465"/>.</t>

<section anchor="slow-start" title="Slow Start">

<t>QUIC begins every connection in slow start and exits slow start upon
loss. QUIC re-enters slow start anytime the congestion window is less
than sshthresh, which typically only occurs after an RTO.
While in slow start, QUIC increases the congestion window by the
number of acknowledged bytes when each ack is processed.</t>

</section>
<section anchor="congestion-avoidance" title="Congestion Avoidance">

<t>Slow start exits to congestion avoidance.  Congestion avoidance in NewReno
uses an additive increase multiplicative decrease (AIMD) approach that
increases the congestion window by one MSS of bytes per congestion window
acknowledged.  When a loss is detected, NewReno halves the congestion
window and sets the slow start threshold to the new congestion window.</t>

</section>
<section anchor="recovery-period" title="Recovery Period">

<t>Recovery is a period of time beginning with detection of a lost packet.
Because QUIC retransmits stream data and control frames, not packets,
it defines the end of recovery as a packet sent after the start of
recovery being acknowledged.  This is slightly different from TCP’s
definition of recovery ending when the lost packet that started
recovery is acknowledged.</t>

<t>During recovery, the congestion window is not increased or decreased.
As such, multiple lost packets only decrease the congestion window once as
long as they’re lost before exiting recovery. This causes QUIC to decrease
the congestion window multiple times if retransmisions are lost, but limits
the reduction to once per round trip.</t>

</section>
<section anchor="tail-loss-probe-1" title="Tail Loss Probe">

<t>If recovery sends a tail loss probe, no change is made to the congestion
window or pacing rate.  Acknowledgement or loss of tail loss probes are
treated like any other packet.</t>

</section>
<section anchor="retransmission-timeout" title="Retransmission Timeout">

<t>When retransmissions are sent due to a retransmission timeout alarm, no
change is made to the congestion window or pacing rate until the next
acknowledgement arrives.  When an ack arrives, if packets prior to the first
retransmission timeout are acknowledged, then the congestion window
remains the same.  If no packets prior to the first retransmission timeout
are acknowledged, the retransmission timeout has been validated and the
congestion window must be reduced to the minimum congestion window and
slow start is begun.</t>

</section>
<section anchor="pacing-rate" title="Pacing Rate">

<t>The pacing rate is a function of the mode, the congestion window, and
the smoothed rtt.  Specifically, the pacing rate is 2 times the
congestion window divided by the smoothed RTT during slow start
and 1.25 times the congestion window divided by the smoothed RTT during
congestion avoidance.  In order to fairly compete with flows that are not
pacing, it is recommended to not pace the first 10 sent packets when
exiting quiescence.</t>

</section>
<section anchor="pseudocode-3" title="Pseudocode">

<section anchor="constants-of-interest-1" title="Constants of interest">

<t>Constants used in congestion control are based on a combination of RFCs,
papers, and common practice.  Some may need to be changed or negotiated
in order to better suit a variety of environments.</t>

<t><list style="hanging">
  <t hangText='kDefaultMss (default 1460 bytes):'>
  The default max packet size used for calculating default and minimum
congestion windows.</t>
  <t hangText='kInitialWindow (default 10 * kDefaultMss):'>
  Default limit on the amount of outstanding data in bytes.</t>
  <t hangText='kMinimumWindow (default 2 * kDefaultMss):'>
  Default minimum congestion window.</t>
  <t hangText='kLossReductionFactor (default 0.5):'>
  Reduction in congestion window when a new loss event is detected.</t>
</list></t>

</section>
<section anchor="variables-of-interest-1" title="Variables of interest">

<t>Variables required to implement the congestion control mechanisms
are described in this section.</t>

<t><list style="hanging">
  <t hangText='bytes_in_flight:'>
  The sum of the size in bytes of all sent packets that contain at least
one retransmittable or PADDING frame, and have not been acked or
declared lost. The size does not include IP or UDP overhead.
Packets only containing ACK frames do not count towards byte_in_flight
to ensure congestion control does not impede congestion feedback.</t>
  <t hangText='congestion_window:'>
  Maximum number of bytes in flight that may be sent.</t>
  <t hangText='end_of_recovery:'>
  The largest packet number sent when QUIC detects a loss.  When a larger
packet is acknowledged, QUIC exits recovery.</t>
  <t hangText='ssthresh:'>
  Slow start threshold in bytes.  When the congestion window is below
ssthresh, the mode is slow start and the window grows by the number of
bytes acknowledged.</t>
</list></t>

</section>
<section anchor="initialization-1" title="Initialization">

<t>At the beginning of the connection, initialize the congestion control
variables as follows:</t>

<figure><artwork><![CDATA[
   congestion_window = kInitialWindow
   bytes_in_flight = 0
   end_of_recovery = 0
   ssthresh = infinite
]]></artwork></figure>

</section>
<section anchor="on-packet-sent" title="On Packet Sent">

<t>Whenever a packet is sent, and it contains non-ACK frames,
the packet increases bytes_in_flight.</t>

<figure><artwork><![CDATA[
   OnPacketSentCC(bytes_sent):
     bytes_in_flight += bytes_sent
]]></artwork></figure>

</section>
<section anchor="on-packet-acknowledgement" title="On Packet Acknowledgement">

<t>Invoked from loss detection’s OnPacketAcked and is supplied with
acked_packet from sent_packets.</t>

<figure><artwork><![CDATA[
   OnPacketAckedCC(acked_packet):
     // Remove from bytes_in_flight.
     bytes_in_flight -= acked_packet.bytes
     if (acked_packet.packet_number < end_of_recovery):
       // Do not increase congestion window in recovery period.
       return
     if (congestion_window < ssthresh):
       // Slow start.
       congestion_window += acked_packets.bytes
     else:
       // Congestion avoidance.
       congestion_window +=
         kDefaultMss * acked_packets.bytes / congestion_window
]]></artwork></figure>

</section>
<section anchor="on-packets-lost" title="On Packets Lost">

<t>Invoked by loss detection from DetectLostPackets when new packets
are detected lost.</t>

<figure><artwork><![CDATA[
   OnPacketsLost(lost_packets):
     // Remove lost packets from bytes_in_flight.
     for (lost_packet : lost_packets):
       bytes_in_flight -= lost_packet.bytes
     largest_lost_packet = lost_packets.last()
     // Start a new recovery epoch if the lost packet is larger
     // than the end of the previous recovery epoch.
     if (end_of_recovery < largest_lost_packet.packet_number):
       end_of_recovery = largest_sent_packet
       congestion_window *= kLossReductionFactor
       congestion_window = max(congestion_window, kMinimumWindow)
       ssthresh = congestion_window
]]></artwork></figure>

</section>
<section anchor="on-retransmission-timeout-verified" title="On Retransmission Timeout Verified">

<t>QUIC decreases the congestion window to the minimum value once the
retransmission timeout has been verified.</t>

<figure><artwork><![CDATA[
   OnRetransmissionTimeoutVerified()
     congestion_window = kMinimumWindow
]]></artwork></figure>

</section>
</section>
</section>
<section anchor="iana-considerations" title="IANA Considerations">

<t>This document has no IANA actions.  Yet.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>

<reference anchor="QUIC-TRANSPORT" >
  <front>
    <title>QUIC: A UDP-Based Multiplexed and Secure Transport</title>
    <author initials="J." surname="Iyengar" fullname="Jana Iyengar" role="editor">
      <organization>Google</organization>
    </author>
    <author initials="M." surname="Thomson" fullname="Martin Thomson" role="editor">
      <organization>Mozilla</organization>
    </author>
    <date year="2017" month="December"/>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-ietf-quic-transport-00"/>
</reference>




<reference  anchor="RFC2119" target='https://www.rfc-editor.org/info/rfc2119'>
<front>
<title>Key words for use in RFCs to Indicate Requirement Levels</title>
<author initials='S.' surname='Bradner' fullname='S. Bradner'><organization /></author>
<date year='1997' month='March' />
<abstract><t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='2119'/>
<seriesInfo name='DOI' value='10.17487/RFC2119'/>
</reference>



<reference  anchor="RFC8174" target='https://www.rfc-editor.org/info/rfc8174'>
<front>
<title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
<author initials='B.' surname='Leiba' fullname='B. Leiba'><organization /></author>
<date year='2017' month='May' />
<abstract><t>RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='8174'/>
<seriesInfo name='DOI' value='10.17487/RFC8174'/>
</reference>



<reference  anchor="RFC6298" target='https://www.rfc-editor.org/info/rfc6298'>
<front>
<title>Computing TCP's Retransmission Timer</title>
<author initials='V.' surname='Paxson' fullname='V. Paxson'><organization /></author>
<author initials='M.' surname='Allman' fullname='M. Allman'><organization /></author>
<author initials='J.' surname='Chu' fullname='J. Chu'><organization /></author>
<author initials='M.' surname='Sargent' fullname='M. Sargent'><organization /></author>
<date year='2011' month='June' />
<abstract><t>This document defines the standard algorithm that Transmission Control Protocol (TCP) senders are required to use to compute and manage their retransmission timer.  It expands on the discussion in Section 4.2.3.1 of RFC 1122 and upgrades the requirement of supporting the algorithm from a SHOULD to a MUST.  This document obsoletes RFC 2988.   [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='6298'/>
<seriesInfo name='DOI' value='10.17487/RFC6298'/>
</reference>



<reference  anchor="RFC5681" target='https://www.rfc-editor.org/info/rfc5681'>
<front>
<title>TCP Congestion Control</title>
<author initials='M.' surname='Allman' fullname='M. Allman'><organization /></author>
<author initials='V.' surname='Paxson' fullname='V. Paxson'><organization /></author>
<author initials='E.' surname='Blanton' fullname='E. Blanton'><organization /></author>
<date year='2009' month='September' />
<abstract><t>This document defines TCP's four intertwined congestion control algorithms: slow start, congestion avoidance, fast retransmit, and fast recovery.  In addition, the document specifies how TCP should begin transmission after a relatively long idle period, as well as discussing various acknowledgment generation methods.  This document obsoletes RFC 2581.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='5681'/>
<seriesInfo name='DOI' value='10.17487/RFC5681'/>
</reference>



<reference  anchor="RFC5827" target='https://www.rfc-editor.org/info/rfc5827'>
<front>
<title>Early Retransmit for TCP and Stream Control Transmission Protocol (SCTP)</title>
<author initials='M.' surname='Allman' fullname='M. Allman'><organization /></author>
<author initials='K.' surname='Avrachenkov' fullname='K. Avrachenkov'><organization /></author>
<author initials='U.' surname='Ayesta' fullname='U. Ayesta'><organization /></author>
<author initials='J.' surname='Blanton' fullname='J. Blanton'><organization /></author>
<author initials='P.' surname='Hurtig' fullname='P. Hurtig'><organization /></author>
<date year='2010' month='May' />
<abstract><t>This document proposes a new mechanism for TCP and Stream Control Transmission Protocol (SCTP) that can be used to recover lost segments when a connection's congestion window is small.  The &quot;Early Retransmit&quot; mechanism allows the transport to reduce, in certain special circumstances, the number of duplicate acknowledgments required to trigger a fast retransmission.  This allows the transport to use fast retransmit to recover segment losses that would otherwise require a lengthy retransmission timeout.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='5827'/>
<seriesInfo name='DOI' value='10.17487/RFC5827'/>
</reference>



<reference  anchor="RFC6675" target='https://www.rfc-editor.org/info/rfc6675'>
<front>
<title>A Conservative Loss Recovery Algorithm Based on Selective Acknowledgment (SACK) for TCP</title>
<author initials='E.' surname='Blanton' fullname='E. Blanton'><organization /></author>
<author initials='M.' surname='Allman' fullname='M. Allman'><organization /></author>
<author initials='L.' surname='Wang' fullname='L. Wang'><organization /></author>
<author initials='I.' surname='Jarvinen' fullname='I. Jarvinen'><organization /></author>
<author initials='M.' surname='Kojo' fullname='M. Kojo'><organization /></author>
<author initials='Y.' surname='Nishida' fullname='Y. Nishida'><organization /></author>
<date year='2012' month='August' />
<abstract><t>This document presents a conservative loss recovery algorithm for TCP that is based on the use of the selective acknowledgment (SACK) TCP option.  The algorithm presented in this document conforms to the spirit of the current congestion control specification (RFC 5681), but allows TCP senders to recover more effectively when multiple segments are lost from a single flight of data. This document obsoletes RFC 3517 and describes changes from it.   [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='6675'/>
<seriesInfo name='DOI' value='10.17487/RFC6675'/>
</reference>



<reference  anchor="RFC4653" target='https://www.rfc-editor.org/info/rfc4653'>
<front>
<title>Improving the Robustness of TCP to Non-Congestion Events</title>
<author initials='S.' surname='Bhandarkar' fullname='S. Bhandarkar'><organization /></author>
<author initials='A. L. N.' surname='Reddy' fullname='A. L. N. Reddy'><organization /></author>
<author initials='M.' surname='Allman' fullname='M. Allman'><organization /></author>
<author initials='E.' surname='Blanton' fullname='E. Blanton'><organization /></author>
<date year='2006' month='August' />
<abstract><t>This document specifies Non-Congestion Robustness (NCR) for TCP.  In the absence of explicit congestion notification from the network, TCP uses loss as an indication of congestion.  One of the ways TCP detects loss is using the arrival of three duplicate acknowledgments. However, this heuristic is not always correct, notably in the case when network paths reorder segments (for whatever reason), resulting in degraded performance.  TCP-NCR is designed to mitigate this degraded performance by increasing the number of duplicate acknowledgments required to trigger loss recovery, based on the current state of the connection, in an effort to better disambiguate true segment loss from segment reordering.  This document specifies the changes to TCP, as well as the costs and benefits of these modifications.  This memo defines an Experimental Protocol for the Internet community.</t></abstract>
</front>
<seriesInfo name='RFC' value='4653'/>
<seriesInfo name='DOI' value='10.17487/RFC4653'/>
</reference>



<reference  anchor="RFC5682" target='https://www.rfc-editor.org/info/rfc5682'>
<front>
<title>Forward RTO-Recovery (F-RTO): An Algorithm for Detecting Spurious Retransmission Timeouts with TCP</title>
<author initials='P.' surname='Sarolahti' fullname='P. Sarolahti'><organization /></author>
<author initials='M.' surname='Kojo' fullname='M. Kojo'><organization /></author>
<author initials='K.' surname='Yamamoto' fullname='K. Yamamoto'><organization /></author>
<author initials='M.' surname='Hata' fullname='M. Hata'><organization /></author>
<date year='2009' month='September' />
<abstract><t>The purpose of this document is to move the F-RTO (Forward RTO-Recovery) functionality for TCP in RFC 4138 from Experimental to Standards Track status.  The F-RTO support for Stream Control Transmission Protocol (SCTP) in RFC 4138 remains with Experimental status.  See Appendix B for the differences between this document and RFC 4138.</t><t>Spurious retransmission timeouts cause suboptimal TCP performance because they often result in unnecessary retransmission of the last window of data.  This document describes the F-RTO detection algorithm for detecting spurious TCP retransmission timeouts.  F-RTO is a TCP sender-only algorithm that does not require any TCP options to operate.  After retransmitting the first unacknowledged segment triggered by a timeout, the F-RTO algorithm of the TCP sender monitors the incoming acknowledgments to determine whether the timeout was spurious.  It then decides whether to send new segments or retransmit unacknowledged segments.  The algorithm effectively helps to avoid additional unnecessary retransmissions and thereby improves TCP performance in the case of a spurious timeout.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='5682'/>
<seriesInfo name='DOI' value='10.17487/RFC5682'/>
</reference>




    </references>

    <references title='Informative References'>

<reference anchor="TLP" >
  <front>
    <title>Tail Loss Probe (TLP): An Algorithm for Fast Recovery of Tail Losses</title>
    <author initials="N." surname="Dukkipati" fullname="Nandita Dukkipati">
      <organization>Google</organization>
    </author>
    <author initials="N." surname="Cardwell" fullname="Neal Cardwell">
      <organization>Google</organization>
    </author>
    <author initials="Y." surname="Cheng" fullname="Yuchung Cheng">
      <organization>Google</organization>
    </author>
    <author initials="M." surname="Mathis" fullname="Matt Mathis">
      <organization>Google</organization>
    </author>
    <date year="2013" month="February"/>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-dukkipati-tcpm-tcp-loss-probe-01"/>
</reference>




<reference anchor="LOSS-PROBE">
<front>
<title>Tail Loss Probe (TLP): An Algorithm for Fast Recovery of Tail Losses</title>

<author initials='N' surname='Dukkipati' fullname='Nandita Dukkipati'>
    <organization />
</author>

<author initials='N' surname='Cardwell' fullname='Neal Cardwell'>
    <organization />
</author>

<author initials='Y' surname='Cheng' fullname='Yuchung Cheng'>
    <organization />
</author>

<author initials='M' surname='Mathis' fullname='Matt Mathis'>
    <organization />
</author>

<date month='February' day='25' year='2013' />

<abstract><t>Retransmission timeouts are detrimental to application latency, especially for short transfers such as Web transactions where timeouts can often take longer than all of the rest of a transaction. The primary cause of retransmission timeouts are lost segments at the tail of transactions.  This document describes an experimental algorithm for TCP to quickly recover lost segments at the end of transactions or when an entire window of data or acknowledgments are lost.  Tail Loss Probe (TLP) is a sender-only algorithm that allows the transport to recover tail losses through fast recovery as opposed to lengthy retransmission timeouts.  If a connection is not receiving any acknowledgments for a certain period of time, TLP transmits the last unacknowledged segment (loss probe).  In the event of a tail loss in the original transmissions, the acknowledgment from the loss probe triggers SACK/FACK based fast recovery.  TLP effectively avoids long timeouts and thereby improves TCP performance.</t></abstract>

</front>

<seriesInfo name='Internet-Draft' value='draft-dukkipati-tcpm-tcp-loss-probe-01' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-dukkipati-tcpm-tcp-loss-probe-01.txt' />
</reference>



<reference  anchor="RFC6582" target='https://www.rfc-editor.org/info/rfc6582'>
<front>
<title>The NewReno Modification to TCP's Fast Recovery Algorithm</title>
<author initials='T.' surname='Henderson' fullname='T. Henderson'><organization /></author>
<author initials='S.' surname='Floyd' fullname='S. Floyd'><organization /></author>
<author initials='A.' surname='Gurtov' fullname='A. Gurtov'><organization /></author>
<author initials='Y.' surname='Nishida' fullname='Y. Nishida'><organization /></author>
<date year='2012' month='April' />
<abstract><t>RFC 5681 documents the following four intertwined TCP congestion control algorithms: slow start, congestion avoidance, fast retransmit, and fast recovery.  RFC 5681 explicitly allows certain modifications of these algorithms, including modifications that use the TCP Selective Acknowledgment (SACK) option (RFC 2883), and modifications that respond to &quot;partial acknowledgments&quot; (ACKs that cover new data, but not all the data outstanding when loss was detected) in the absence of SACK.  This document describes a specific algorithm for responding to partial acknowledgments, referred to as &quot;NewReno&quot;.  This response to partial acknowledgments was first proposed by Janey Hoe.  This document obsoletes RFC 3782.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='6582'/>
<seriesInfo name='DOI' value='10.17487/RFC6582'/>
</reference>



<reference  anchor="RFC3465" target='https://www.rfc-editor.org/info/rfc3465'>
<front>
<title>TCP Congestion Control with Appropriate Byte Counting (ABC)</title>
<author initials='M.' surname='Allman' fullname='M. Allman'><organization /></author>
<date year='2003' month='February' />
<abstract><t>This document proposes a small modification to the way TCP increases its congestion window.  Rather than the traditional method of increasing the congestion window by a constant amount for each arriving acknowledgment, the document suggests basing the increase on the number of previously unacknowledged bytes each ACK covers.  This change improves the performance of TCP, as well as closes a security hole TCP receivers can use to induce the sender into increasing the sending rate too rapidly. This memo defines an Experimental Protocol for the Internet community.</t></abstract>
</front>
<seriesInfo name='RFC' value='3465'/>
<seriesInfo name='DOI' value='10.17487/RFC3465'/>
</reference>




    </references>


<section anchor="acknowledgments" title="Acknowledgments">

</section>
<section anchor="change-log" title="Change Log">

<t><list style='empty'>
  <t><spanx style="strong">RFC Editor’s Note:</spanx>  Please remove this section prior to
publication of a final version of this document.</t>
</list></t>

<section anchor="since-draft-ietf-quic-recovery-06" title="Since draft-ietf-quic-recovery-06">

<t>Nothing yet.</t>

</section>
<section anchor="since-draft-ietf-quic-recovery-05" title="Since draft-ietf-quic-recovery-05">

<t><list style="symbols">
  <t>Add more congestion control text (#776)</t>
</list></t>

</section>
<section anchor="since-draft-ietf-quic-recovery-04" title="Since draft-ietf-quic-recovery-04">

<t>No significant changes.</t>

</section>
<section anchor="since-draft-ietf-quic-recovery-03" title="Since draft-ietf-quic-recovery-03">

<t>No significant changes.</t>

</section>
<section anchor="since-draft-ietf-quic-recovery-02" title="Since draft-ietf-quic-recovery-02">

<t><list style="symbols">
  <t>Integrate F-RTO (#544, #409)</t>
  <t>Add congestion control (#545, #395)</t>
  <t>Require connection abort if a skipped packet was acknowledged (#415)</t>
  <t>Simplify RTO calculations (#142, #417)</t>
</list></t>

</section>
<section anchor="since-draft-ietf-quic-recovery-01" title="Since draft-ietf-quic-recovery-01">

<t><list style="symbols">
  <t>Overview added to loss detection</t>
  <t>Changes initial default RTT to 100ms</t>
  <t>Added time-based loss detection and fixes early retransmit</t>
  <t>Clarified loss recovery for handshake packets</t>
  <t>Fixed references and made TCP references informative</t>
</list></t>

</section>
<section anchor="since-draft-ietf-quic-recovery-00" title="Since draft-ietf-quic-recovery-00">

<t><list style="symbols">
  <t>Improved description of constants and ACK behavior</t>
</list></t>

</section>
<section anchor="since-draft-iyengar-quic-loss-recovery-01" title="Since draft-iyengar-quic-loss-recovery-01">

<t><list style="symbols">
  <t>Adopted as base for draft-ietf-quic-recovery</t>
  <t>Updated authors/editors list</t>
  <t>Added table of contents</t>
</list></t>

</section>
</section>


  </back>

<!-- ##markdown-source:
H4sIAJVHJ1oAA8V9aXPcRpLo9/oVZSliRUrdLVKHD67lWVrHDHdFUUvS43Bs
zGOgG9UkhmigBwWQ6lFofvvmVReApiR7I958GIvoQlVWVlbemZhOp6ot2tIc
6P/+5eilfltbq1+Z1izaoq50VuX6ZV1dGkt/wj/bpi5VNp835mb0FZXXiypb
wXx5ky3baWHa5fQfXbGYNmZR35hmM937XuVZCyOe7O1/N91/ohbw12XdbA60
bXNVrJsD3TadbZ/s7f2w90RljckO9HmTVXZdN626rZvry6bu1gyAUrYFOC+y
sq5g0o2xal0c6P9p68VEW3ihMUsL/9qs+B8A4Cpbr4vq8m9KZV17VTcHSk+V
hv8VlT3Q/znTRxtTXWYNPePd/GdWZcnjurk80H+u68vS0N9mlRXlgf57U/zH
JT2dLeoV/QIYgwlMXrR1kyx0NNNnt6Zto2WOsip6tmWNAjCBY+5cSFV1s8ra
4sYcKPgVMTU9Pz18d/b+5PT8gMbLwd/D3w70of7l1fvpz5k1uT7uyrZYl+YD
/Btp4MwsusaEM7hH76eniE+saQpji2pZ8wpaH1WtaSrTTl8hOQyponVTTvf2
6BV/IvS/qfx3/GjuOJ4x9A0PY2yN45k+v6pXFmg5XeM4a9qiGvxIqxzX/yzK
MhtfRinESHwa52/fp0dwDgfLN+l9U8+N3oERu3AmlT4s4WoU7dVKwxT6TWZb
fSo3SddL7V80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