You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the timeout is larger than the period the calculated packet loss is too high.
That calculation includes all pings sent, including those that have not timed out yet.
On the following execution, running 10 trials with 20ms period and 100ms timeout:
Note that no packets are lost, but by the time response [0] is returned, 77ms after request[0] was sent, requests [1], [2], and [3] have already been sent, and the responses are in flight but have not been received yet.
These requests are counted against packet loss, resulting in a 75% loss being reported.
I think the correct behavior should be that outstanding responses within the timeout period should not be counted as either lost or received.
I'm working on a simple fix I will share if you'd like to fix this behavior.
The text was updated successfully, but these errors were encountered:
When the timeout is larger than the period the calculated packet loss is too high.
That calculation includes all pings sent, including those that have not timed out yet.
On the following execution, running 10 trials with 20ms period and 100ms timeout:
Note that no packets are lost, but by the time response [0] is returned, 77ms after request[0] was sent, requests [1], [2], and [3] have already been sent, and the responses are in flight but have not been received yet.
These requests are counted against packet loss, resulting in a 75% loss being reported.
I think the correct behavior should be that outstanding responses within the timeout period should not be counted as either lost or received.
I'm working on a simple fix I will share if you'd like to fix this behavior.
The text was updated successfully, but these errors were encountered: