<div dir="ltr">Hi Klaus<div><br></div><div>NDNLPv2 spec does not require the Sequence number field to have a specific width. It's a per-link decision.</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Sequence contains a sequence number that is useful in multiple features.</div></div><div><div>This field is REQUIRED if any enabled feature is using sequence numbers, otherwise it's OPTIONAL.</div></div><div><div>Bit width of the sequence is determined on a per-link basis; 8-octet is recommended for today's links.</div></div><div><div>A host MUST generate consecutive sequence numbers for outgoing packets on the same face.</div></div></blockquote><div><div><br></div></div><div>To choose the Sequence width on a link, one should consider a trade-off between</div><div>(1) the Sequence should be wide enough to avoid wrapping sooner than a few RTTs;</div><div>(2) the bandwidth consumption of the Sequence field, especially on low-MTU links.</div><div><br></div><div>The recommendation of 8-octet applies to most links in Internet infrastructure, home Internet access, data center, etc.</div><div>Sensor networks and personal area networks may need shorter Sequence field.</div><div>Core Internet (100Gbps or above) may need longer Sequence field.</div><div><br></div><div>Yours, Junxiao</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 13, 2017 at 5:24 PM, Klaus Schneider <span dir="ltr"><<a href="mailto:klaus@cs.arizona.edu" target="_blank">klaus@cs.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Junxiao,<br>
<br>
the NDNLP Wiki describes a sequence number as 32bit (<a href="https://redmine.named-data.net/projects/nfd/wiki/NDNLPv2" rel="noreferrer" target="_blank">https://redmine.named-data.ne<wbr>t/projects/nfd/wiki/NDNLPv2</a>), but in the code it's 64 bit:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
#45 Updated by Eric Newberry about 6 hours ago<br>
<br>
Klaus Schneider wrote:<br>
<br>
Minor point: The NDNLP Spec. says that the sequence number is a "fixed-width unsigned integer", the ACK number however is "64-bit non-negative integer".<br>
<br>
Shouldn't it be the same length?<br>
<br>
Good catch. In the current implementation of NDNLP, a Sequence is defined as a uint64_t. I corrected the slides to use the NDNLP notation.<br>
</blockquote>
<br>
<br>
Should we change the Wiki Entry to 64 bit?<br>
<br>
Best regards<span class="HOEnZb"><font color="#888888"><br>
Klaus<br>
</font></span></blockquote></div><br></div></div>