You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pynixd: trace why the scheduler places a build on a node #1070
The scheduler often sends the t3 code build to one of the remote nodes instead of building it locally. That build is always very slow there. Nothing tells us why the scheduler chose that node.
A guess, not verified: the derivation is dynamic, so pynixd has no data that says the build is heavy.
Wanted:
A debug trace of each placement decision: the candidate nodes, the inputs to the choice (load, speed factor, features, closure transfer size, any history), and the node that won.
Enable it with a setting or a log level, off by default.
Use the trace on the t3 code build to find the cause, then file the fix as its own issue.
Decision, 2026-10-24: traces go to SQLite, in pynixd's own database, next to the build observations of #1001. DuckDB can attach that file (ATTACH ... (TYPE sqlite)) for heavier analysis, so nothing else is needed now.
Scope from User: log a lot of metadata for each placement decision, so the trace explains it alone.
For each candidate store, one row per decision:
every scoring term: the initial value, each penalty and multiplier (CPU idle, PSI, concurrency, thundering herd, score penalty, priority, transfer penalty), and the final score
whether the store passed the threshold, and why not when it did not
estimated time to ship the inputs, to build, and to pull the outputs
estimated bytes to push and estimated bytes to pull
Per decision: the build identity, the store chosen, the queue wait, and the pass that decided. After the build: the measured values next to the estimates (build_observed already has the measured side).
Activity
Lillecarl commentedon Oct 24, 2026
Decision, 2026-10-24: traces go to SQLite, in pynixd's own database, next to the build observations of #1001. DuckDB can attach that file (
ATTACH ... (TYPE sqlite)) for heavier analysis, so nothing else is needed now.Assisted-By: Claude Opus 5.5
Lillecarl commentedon Oct 24, 2026
Scope from User: log a lot of metadata for each placement decision, so the trace explains it alone.
For each candidate store, one row per decision:
Per decision: the build identity, the store chosen, the queue wait, and the pass that decided. After the build: the measured values next to the estimates (
build_observedalready has the measured side).Assisted-By: Claude Opus 5.5
Lillecarl commentedon Oct 24, 2026
More scope from User:
Assisted-By: Claude Opus 5.5
feat(pynixd): trace each placement decision in the store database
feat(pynixd): trace each placement decision in the store database
dynhetz: pynixd traces each placement decision