Repository navigation
A lane's test window is the machine's width, a critical-path lane's included: it ran 32 compilers at once on a 4-core, 16 GiB runner (#3031) - #3363
Merged
Conversation
…ncluded: it ran 32 compilers at once on a 4-core, 16 GiB runner (#3031)
This was referenced Nov 16, 2026
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.
Measured on the win10 VM (16 GiB) with the CI's job settings: during
:test, 27with.exeprocesses alive at once, 27.6 GiB committed. One compiler-importing test alone commits about 1.3 GiB.Exact line.
src/BuildGraphTests.w:let jobs_limit = if use_js: 32 else: build_graph_test_jobs(). With a jobserver every test past a lane's first holds a slot, except in a lane the driver lists as on the critical path, which takes none; its window was the fixed 32. macOS and Linux overcommit; Windows refuses the allocation in whichever process asks next (lld-link: out of memory, or the runner: "lost communication with the server").Fix.
build_graph_test_window_for(asked, cores, memory): whatWITH_BUILD_TEST_JOBSasks for, else the machine's width (cores bounded by memory at two gibibytes a process, as the lane pool is, #2603). Every lane's window is that.build_pool_width_testcovers it (a 4-core, 16 GiB machine: 4).Seed-bound stand-in. The windows are opened by the build driver, in CI the pinned seed. Until a seed carrying this is pinned, the Windows workflow hands the driver a 6-slot jobserver: a driver that did not create the jobserver names no critical lane (
owns_js), so every lane stays inside the slots. Marked in the workflow for deletion with the pin.Battery: GREEN.