Repository navigation
Give benchmark workers explicit default thread pools - #851
Merged
Merged
Conversation
Julia 1.12+ can add an interactive thread to a bare thread count, so a requested two-thread benchmark can register one interactive and one default processor while omitting another default processor on historical Dagger revisions. Use N,0 for benchmark workload and Distributed subprocesses on Julia 1.12+, retaining the accepted bare N syntax on 1.10/1.11 and explicit caller pool specifications at the Airspeed boundary. Pin AirspeedVelocity bare-julia launches to the driver executable directory and verify Distributed child versions before loading Dagger. Native 1.10.11 and 1.13.4 controls exercise real pinned Dagger tasks in plain, Distributed and two-rank MPI subprocesses; both CI launch expressions also select the current binary with a deliberately different Julia first on PATH. No scheduler, threshold or production/test thread policy changes. Written by an AI agent on jpsamaroo's review feedback.
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.
A bare two-thread launch on Julia 1.13 creates two default threads plus an interactive thread. Historical Dagger revisions register physical IDs 1 and 2, so the benchmark can exercise an interactive thread while omitting one intended compute thread. Recording only
Threads.nthreads()hides that mismatch.Normalize benchmark workload and Distributed-worker launches to default threads with no interactive pool. Use the compatible bare count on Julia 1.10/1.11 and explicit
N,0on Julia 1.12+. Preserve explicitly supplied pool specifications at the Airspeed runner boundary. Scope Airspeed’s PATH to the driver’s Julia directory and verify actual Distributed worker versions.Validation: native Julia 1.10.11 and 1.13.4 controls exercise real pinned Dagger tasks through plain, Distributed and two-rank MPI launches, plus both CI call expressions under an intentionally different Julia on PATH. Both compute processors run on default threads with the new launch flags. A matched quiet solve spotcheck also improved both revisions substantially after disabling the unintended interactive pool; this does not establish that all benchmark failures are noise.
Scheduler behavior, regression thresholds and production/test thread policies are unchanged. Full Airspeed and remote SSH validation remain pending.
Written by an AI agent on jpsamaroo’s review feedback.