Skip to content

Comments

Accelerate increases to auto headroom when we know it will help#1438

Merged
mikedickey merged 1 commit intodevfrom
bugfix/plc-accelerate-auto-headroom
Jun 26, 2025
Merged

Accelerate increases to auto headroom when we know it will help#1438
mikedickey merged 1 commit intodevfrom
bugfix/plc-accelerate-auto-headroom

Conversation

@mikedickey
Copy link
Collaborator

We previously would never increase auto headroom by more than 1ms for every 2 second interval.

This patch allows auto headroom to increase more rapidly, when we have skipped good packets that we could have preserved. It adjusts it by enough that tolerance would have covered all of the good packets we skipped, or by at least 1ms.

Don't count packet latencies during the warmup period. I'm also shortening the "warm up period" from 3+3=6 ms to 2+2=4ms, because 6ms seems a bit too long to wait before it starts making adjustments.

We previously would never increase auto headroom by more than 1ms
for every 2 second interval.

This patch allows auto headroom to increase more rapidly, when
we have skipped good packets that we could have preserved. It
adjusts it by enough that tolerance would have covered all of
the good packets we skipped, or by at least 1ms.

Don't count packet latencies during the warmup period. I'm also
shortening the "warm up period" from 3+3=6 ms to 2+2=4ms,
because 6ms seems a bit too long to wait before it starts
making adjustments.
@mikedickey mikedickey force-pushed the bugfix/plc-accelerate-auto-headroom branch from 6ef912f to 7d22505 Compare June 26, 2025 19:31
@mikedickey mikedickey requested a review from cchafe June 26, 2025 19:32
@mikedickey mikedickey merged commit 90001e5 into dev Jun 26, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant