Skip to content
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

[BUG] Main/backup: The activation period ends earlier than expected #1768

Closed
mbakholdina opened this issue Jan 28, 2021 · 0 comments · Fixed by #1775
Closed

[BUG] Main/backup: The activation period ends earlier than expected #1768

mbakholdina opened this issue Jan 28, 2021 · 0 comments · Fixed by #1775
Assignees
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Milestone

Comments

@mbakholdina
Copy link
Collaborator

mbakholdina commented Jan 28, 2021

Describe the bug

During testing the RTT estimate convergence for Connection Bonding (main/backup algorithm), I've noticed that the activation period on the main link ends earlier than expected. It happens at the beginning of a transmission, the activation period ends almost right after 1 RTT is passed since the start of a transmission. As a result, the value of link stability timeout changes to dynamic that depends on the incorrect RTT estimate (actually the initial value of 100 ms). At this time, we haven't yet received the first ACK with the first RTT estimate.

Screenshot 2021-01-28 at 18 36 36

Here the first ACK comes
Screenshot 2021-01-28 at 16 53 25

There is also one problem with RTTVar estimate on the sender side, see ticket #1769.

To Reproduce

See issue #1755 for the reproduction steps.

Failed test case:

Test Case 3. Main link shutdown for 40 seconds (higher than SRTO_PEERIDLETIMEOUT = 5 s)

Scenario Main Link (enp7s0) Backup Link (enp8s0) Bitrate, Mbps SRT Options
- RTT1 = 1000 ms (1 s) RTT2 = 1000 ms (1 s) 1 latency=4000

Statistics and screenshots:
dlst_scen4_rtt1s_test3 #1768.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants