<?xml version="1.0" encoding="utf-8"?>
<!-- name="GENERATOR" content="github.com/mmarkdown/mmark Mmark Markdown Processor - mmark.miek.nl" -->
<rfc version="3" ipr="trust200902" docName="draft-grimes-tcpmwg-tcpsce-00" submissionType="IETF" category="std" xml:lang="en" consensus="true" xmlns:xi="http://www.w3.org/2001/XInclude">

<front>
<title abbrev="scetcp">Some Congestion Experienced in TCP</title><seriesInfo value="draft-grimes-tcpmwg-tcpsce-00" stream="IETF" status="standard" name="Internet-Draft"></seriesInfo>
<author initials="R.W." surname="Grimes" fullname="Rodney W. Grimes"><organization></organization><address><postal><street>Redacted</street>
<city>Portland</city>
<code>97217</code>
<country>United States</country>
<region>OR</region>
</postal><email>rgrimes@freebsd.org</email>
</address></author>
<author initials="P." surname="Heist" fullname="Peter G. Heist"><organization></organization><address><postal><street>Redacted</street>
<city>Liberec 30</city>
<code>463 11</code>
<country>Czech Republic</country>
</postal><email>pete@heistp.net</email>
</address></author>
<date/>
<area>Internet</area>
<workgroup>TCP Maintenance and Minor Extensions</workgroup>
<keyword>Internet-Draft</keyword>
<keyword>SCE</keyword>
<keyword>TCP</keyword>

<abstract>
<t>This memo classifies a TCP code point
ESCE (&quot;Echo Some Congestion Experienced&quot;) for use in
feedback of IP code point SCE (&quot;Some Congestion Experienced&quot;).</t>
</abstract>

</front>

<middle>

<section anchor="terminology"><name>Terminology</name>
<t>The key words &quot;MUST&quot;, &quot;MUST NOT&quot;, &quot;REQUIRED&quot;, &quot;SHALL&quot;, &quot;SHALL NOT&quot;,
&quot;SHOULD&quot;, &quot;SHOULD NOT&quot;, &quot;RECOMMENDED&quot;, &quot;NOT RECOMMENDED&quot;, &quot;MAY&quot;, and
&quot;OPTIONAL&quot; in this document are to be interpreted as described in
<xref target="RFC2119"></xref> and <xref target="RFC8174"></xref> when, and only when, they appear in all
capitals, as shown here.</t>
</section>

<section anchor="introduction"><name>Introduction</name>
<t>This memo reclassifies the former TCP NS (&quot;Nonce Sum&quot;) codepoint as
ESCE.</t>
<t>This memo limits its scope to the redefinition of the TCP NS
codepoint as ESCE,
with a few brief illustrations of how it may be used.</t>
<t>SCE provides early and proportional feedback to the CC (congestion control)
algorithms for transport protocols, including but not limited to TCP. The
<xref target="sce-repo"></xref> is a Linux kernel modified to support SCE, including:</t>

<ul>
<li><t>Enhancements to Linux's Cake (Common Applications Kept Enhanced) AQM to
support SCE signaling</t>
</li>
<li><t>Modifications to the TCP receive path to reflect SCE signals back to the
sender</t>
</li>
<li><t>The addition of three new TCP CC algorithms that modify the originals to add
SCE support: Reno-SCE, DCTCP-SCE and Cubic-SCE (work in progress as of this
writing)</t>
</li>
</ul>
</section>

<section anchor="background"><name>Background</name>
<t><xref target="I-D.morton-tsvwg-sce"></xref> defines the SCE codepoint and
<xref target="RFC8311"></xref> (section 3) obsoletes the NS codepoint
making it avaliable valiable for use.</t>
</section>

<section anchor="tcp-receiver"><name>TCP Receiver</name>
<t>The mechanism defined to feed back SCE signals to the sender explicitly
makes use of the ESCE (&quot;Echo Some Congestion Experienced&quot;) code point
in the TCP header.</t>

<section anchor="single-ack-implementation"><name>Single ACK implementation</name>
<t>Upon receipt of a packet an ACK is immediatly generated,
the SCE codepoint is copied into the ESCE codepoint of the ACK.
This keeps the count of bytes SCE marked or
not marked properly reflected in the ACK packet(s).
This valid implementation has the downside of increasing ACK traffic.
This implementation is NOT RECOMMENDED, but useful for experimental work.</t>
</section>

<section anchor="simple-delayed-ack-implementation"><name>Simple Delayed ACK implementation</name>
<t>Upon receipt of a packet without an SCE codepoint traditional delayed
ACK processing is performed.
Upon receipt of a packet with an SCE codepoint immediate ACK processing
SHOULD be done,
this allows some delaying of ACK's,
but creates earlier feedback of the congested state.
This has the negative effect of over signalling ESCE.</t>
</section>

<section anchor="dithered-delayed-ack-implementation"><name>Dithered Delayed ACK implementation</name>
<t>Upon receipt of a packet the SCE codepoint is stored in the TCP state.
Multiple packets state may be stored.
Upon generation of an ACK, normal or delayed,
the stored SCE state is used to set the state of ESCE.
If no SCE state is in the TCP state,
then the ESCE code point MUST NOT be set.
If all of the packets to be ACKed have SCE
state set then the ESCE code point MUST be set in the ACK.
If some of the packets to be ACKed have SCE state set then some
proportional number of ACK packets SHOULD be sent with the ESCE code point set.
The goal is to have the same number of bytes marked with ESCE
as arrived with SCE.</t>
</section>
</section>

<section anchor="tcp-sender"><name>TCP Sender</name>
<t>The recommended response to each single segment marked with ESCE
is to reduce cwnd by an amortised 1/sqrt(cwnd) segments.
Other responses, such as the 1/cwnd from DCTCP,
are also acceptable but may perform less well.</t>
<t>This is still an area of continued investigation.</t>
</section>

<section anchor="related-work"><name>Related Work</name>
<t>TBD</t>
</section>

<section anchor="iana-considerations"><name>IANA Considerations</name>
<t>There are no IANA considerations.</t>
</section>

<section anchor="security-considerations"><name>Security Considerations</name>
<t>There are no Security considerations.</t>
</section>

<section anchor="acknowledgements"><name>Acknowledgements</name>
<t>TBD</t>
</section>

</middle>

<back>
<references><name>Normative References</name>
<xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
<xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
<xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml-ids/reference.I-D.morton-tsvwg-sce.xml"/>
<xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8311.xml"/>
</references>
<references><name>Informative References</name>
<reference anchor="sce-repo" target="https://github.com/chromi/sce/">
  <front>
    <title>Some Congestion Experienced Reference Implementation GitHub Repository</title>
    <author></author>
    <date></date>
  </front>
</reference>
</references>

</back>

</rfc>
