Repository navigation
fix(bench): size the 10 Mbit tbf burst for real throughput - #1907
Merged
Merged
Conversation
… min Run 41962938222 was cancelled at the 60-minute job timeout while still in 'Run cold/warm comparison and render site'. Root cause is the shaper, not the benchmark: tbf was configured with burst 64kbit (8 KB) and latency 50ms, which is below what a 10 Mbit path needs to keep TCP from collapsing. Cold downloads therefore ran several times slower than the ~217 s a true 10 Mbit link implies, and three trials blew the timeout. Changes: - burst 64kbit -> 64kb (64 KB, above the path MTU) and latency 50ms -> 400ms. - probe now also rejects an over-throttled link: require 0.9-1.8 MB/s, so a mis-sized shaper can no longer pass as '10 Mbit' while being 3x too slow. - timeout-minutes 60 -> 120 for headroom on 3 cold trials.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run 41962938222 got all the way through shaping (the ingress fix from #1905 works — the probe passed) and then was cancelled at the 60-minute job timeout inside "Run cold/warm comparison and render site".
That is the shaper mis-sized, not the benchmark being slow to run: the tbf was
burst 64kbit= 8 KB withlatency 50ms, which is smaller than a 10 Mbit path needs to keep TCP from collapsing. Effective throughput fell well under 10 Mbit, so each 271 MB cold download took far longer than the ~217 s a true 10 Mbit link implies, and 3 trials blew the timeout.burst 64kbit→64kb(64 KB, above path MTU),latency 50ms→400ms.timeout-minutes60 → 120.This should finally produce publishable 10 Mbit cold numbers.