Skip to content

fix(bench): size the 10 Mbit tbf burst for real throughput - #1907

Merged
zackees merged 1 commit into
mainfrom
fix/bench-tbf-burst
Nov 5, 2026
Merged

zackees merged 1 commit into
mainfrom
fix/bench-tbf-burst

Conversation

@zackees

@zackees zackees commented Nov 5, 2026

Copy link
Copy Markdown
Member

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 with latency 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.
  • Probe now rejects over-throttling too: requires 0.9–1.8 MB/s, so a mis-sized shaper can't pass as '10 Mbit' while running 3× slow.
  • timeout-minutes 60 → 120.

This should finally produce publishable 10 Mbit cold numbers.

… 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.
@coderabbitai

coderabbitai Bot commented Nov 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@zackees
zackees merged commit e0a922e into main Nov 5, 2026
22 checks passed
@zackees
zackees deleted the fix/bench-tbf-burst branch November 5, 2026 22:52
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant