-
Notifications
You must be signed in to change notification settings - Fork 84
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
Latency or no latency? #128
Comments
thanks for filing this. there's definitely a need to think more deeply about how we handle tuning down. when I last experimented with it the problem was that a correlation on the way up would persist on the way down and we would often overcorrect (i.e. tune up a bit then tune down a lot). A temporary workaround was to reset the correlation but this report illustrates the problem with that - we just start tuning up again. The challenge here is finding reproducible ways to test such correlations - we have tests for most tuned values, but most tests just set a value way too low and ensure it gets bumped up; it's harder to reliably reproduce correlations between tuned values and latencies which makes testing this harder. It may be best to revert to the "tune down while correlation between tunable changes and latency exists" approach, but ideally we'd need some tests to cover this behaviour. |
one thought is we develop models alongside tuners that attempt to simulate tuner behaviour. the problem of course is we can see divergence between such models and reality, especially when they dynamics are complex. |
for now I've restored the original behaviour via #134 ; so we tune down when we observe correlation between buffer size increases and latency until said correlation goes away. there's no easy way to force testing of this scenario I can think of yet but will see if I can come up with something.. |
While looking at the logs I found the following part:
So first it was decided that larger buffers affect latency - and later it doesn't matter anymore?
The text was updated successfully, but these errors were encountered: