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

Tests for dynamic latency and related metrics #764

Open
baranovmv opened this issue Jul 24, 2024 · 0 comments
Open

Tests for dynamic latency and related metrics #764

baranovmv opened this issue Jul 24, 2024 · 0 comments
Labels
help wanted An important and awaited task but we have no human resources for it yet tests

Comments

@baranovmv
Copy link
Member

baranovmv commented Jul 24, 2024

I propose to test LatencyTuner specifically and the overall receiver pipeline in different tests. This task describes tests for LatencyTuner in isolation: check how LatencyTuner drives target latency depenging on incoming metrics.

Naturally we test here optimal latency estimation and the behavior of a state machine integrated into LatencyTuner in conjunction.

  • In order to test latency estimation and decision making we could put LatencyTuner into situations where:
    • Decreasing is enabled iff current latency is significantly greater optimal latency estimation. Resulting target latency gets into --min/max-latency limits and it does not equal to optimal latency estimation, but conforms to a formula described in related comments in the source code.
    • Increasing is enabled more or less immediately when it is needed, and resulting target latency gets into --min/max-latency limits.
  • For state machine we check that transition happens if aforementioned conditions met and certain timeout passed.
    • From the beginning up to startup timeout period no transition takes place
    • Decreasing and Increasing could happen only from idle state and then specific timeouts should pass before transition back to idle state happens.
@gavv gavv added this to Roc Toolkit Jul 28, 2024
@github-project-automation github-project-automation bot moved this to Frontlog in Roc Toolkit Jul 28, 2024
@baranovmv baranovmv added the help wanted An important and awaited task but we have no human resources for it yet label Aug 11, 2024
@gavv gavv moved this from Frontlog to Help wanted in Roc Toolkit Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted An important and awaited task but we have no human resources for it yet tests
Projects
Status: Help wanted
Development

No branches or pull requests

1 participant