-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of order packets cause spurious retransmit #1472
Comments
This is the kind of packet loss I see: In this graph you can see the calls to cc_on_packet_acked on_packets_lost on_packet_sent graphed over time by each packet number. All the lost packets receive an ack slightly later (around 0.35ms). In this example we even sent out a recovery packet (=> still need to investigate what the conditions are when we don't sent out recovery packets #1473) In this example it is probably the |
For this issue I see two ways forward:
|
Notes reading through RACK:
|
@martinthomson What do you think about adopting RACK to fix this issue? As far as I can tell this has the highest impact to our upload speed problem. With #1475 and #1478 being secondary important to increase the cwnd fast enough after a loss event. |
I've always wanted to implement RACK, we just never really had time. |
While debugging upload for Bug 1852924 I noticed that all the detected losses during my testing are spurious. An ack arrives shortly after. The loss detection seems to trigger after an out-of-order packet E with slightly shorter RTT. Probably because we update the
last_rtt
and use it to determine whether the packets before the packet E were lost. Packets before E were send earlier, are therefore in flight for longer and are all marked as lost.I will investigate further, but wanted to note down this observation.
The text was updated successfully, but these errors were encountered: