Show a good concise example when tcpreordering that’s 4 play a role independent of fast…
- User
Show a good concise example when tcp_reordering that’s 4 play a role independent of fast retransmit.
Consider a network with occasional reordering where tcp_reordering is set to 4, meaning the sender will allow for 4 segments to be out of order before suspecting a segment is lost. Here is how tcp_reordering might play a role, independent of fast retransmit:
-
The sender sends segments with sequence numbers: Seg1, Seg2, Seg3, Seg4, Seg5, Seg6, Seg7, …
-
The receiver receives segments in the following order: Seg1, Seg3, Seg4, Seg6, Seg2, Seg5. It sends ACKs for Seg1, and then generates duplicate ACKs for Seg1 upon receipt of Seg3 and Seg4.
-
- Assistant
Continuing from the point where the receiver generates duplicate ACKs upon receiving Seg3 and Seg4:
-
The receiver gets Seg6 before it gets Seg2 or Seg5, which may likely prompt more duplicate ACKs for the last correctly received segment in-order, which is still Seg1 at this point.
-
However, because
tcp_reorderingis set to 4, the TCP stack on the sender's side will not immediately consider that a segment has been lost when it receives three duplicate ACKs. This is in contrast to the typical "fast retransmit" behavior, which would usually trigger a retransmission after the receipt of three duplicate acknowledgments for the same data (indicating that the receiver has received a segment following the missing segment).
-