Opened 8 years ago

Closed 8 years ago

#1007 closed enhancement (fixed)

Only use non-retransmitted packets in RTT sampling (RFC 6298)

Reported by: Zlatin Balevsky Owned by: Zlatin Balevsky
Priority: minor Milestone: 0.9.8
Component: streaming Version:
Keywords: Cc: Zlatin Balevsky
Parent Tickets: Sensitive: no



3. Taking RTT Samples

   TCP MUST use Karn's algorithm [KP87] for taking RTT samples.  That
   is, RTT samples MUST NOT be made using segments that were
   retransmitted (and thus for which it is ambiguous whether the reply
   was for the first instance of the packet or a later instance).

One possible implementation: http://pastethis.i2p/show/4606/


Change History (3)

comment:1 Changed 8 years ago by Zlatin Balevsky

Digging through the mtn history, the original behavior was the correct one, but revision 007b01bea8c493cdad998838fc093ec9517145e8 (2004, jrandom) changed it.

comment:2 Changed 8 years ago by zzz

ack (no pun), proposal and patch look good.

You can replace one more p.getAckTime() with ackTime at line 305.

comment:3 Changed 8 years ago by Zlatin Balevsky

Resolution: fixed
Status: newclosed

Should be in trunk in revision 5f8111a4038de90d9696f325cb6b2636d56cfd06

Note: See TracTickets for help on using tickets.