Repository navigation
fix(routing): measured ETA outranks the synthetic bench score (v0.3.70) - #369
Merged
Merged
Conversation
Smart routing ranked the benchmark bucket before ETA, so vienna (bench 4156, eta 301 s, real load 32 on 16 cores) beat bonita (bench 2452, eta 60 s) and a chat job waited ~56 s on the slow node before it moved. A bid's ETA is measured (recent job time x queue depth) and already reflects how fast the box runs under its real load; the bench is a one-off synthetic CPU score. Now: overload, then ETA bucket (within 1.5x of the fastest), then bench bucket, then ETA, price, publish time. Tests replay the vienna/bonita bids and keep the capable node winning when ETAs are close. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan14 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 8 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
Collaborator
Author
|
Merging with |
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.
Why
Smart routing ranked the benchmark bucket before ETA. For a chat job on 2026-11-14, vienna (bench 4156, eta 301 s, real load 32 on 16 cores) beat bonita (bench 2452, eta 60 s), and the job sat ~56 s on vienna before moving. A bid's
eta_sis measured (recent average job time x queue depth), so it already reflects real speed under load;bench_scoreis a one-off synthetic score, andloadonly counts c0mpute's own slots (vienna reported 0.0).What
🤖 Generated with Claude Code