Skip to content

Feat/pipelined atlas - #17

Merged
pxwel-dev merged 3 commits into
mainfrom
feat/pipelined-atlas
Nov 25, 2026
Merged

pxwel-dev merged 3 commits into
mainfrom
feat/pipelined-atlas

Conversation

@pxwel-dev

Copy link
Copy Markdown
Owner

No description provided.

bobczan and others added 3 commits November 25, 2026 16:45
The sequential atlas loop leaves most cores idle and its wave barrier lets one dense region stall the queue. Add tools/build_atlas_pipeline.py, selected with CLIOPLAY_PIPELINE=1, which runs a bounded extraction pool (RAM-bound) alongside a bounded build pool (core-bound), sized from /proc/meminfo and physical cores. Same per-region command, stamps and assembly as build_atlas.py, so atlases resume between either driver.

Output equivalence was verified on test extracts by byte-comparing every file of both atlases. Also cache the ch_preprocess and build_qadj binaries by source hash instead of recompiling them for every region.
build: opt-in pipelined atlas builder and cached C++ helpers
Prepare ClioPlay v2.2.6.3 (installer, map-builder and release-integrity update, building on #11, #12, #13 and #14-#16 from @bobczan):
- Unify sequential and opt-in pipelined (CLIOPLAY_PIPELINE=1) atlas scheduling inside tools/build_atlas.py and remove duplicate build_atlas_pipeline.py.
- Use deterministic hierarchical split naming (rNNNN_k) and tree-order catalog sorting for byte-identical output and cross-resume across splits, with accurate progress/ETA.
- Add fail-fast subprocess cancellation on error/Ctrl-C, deadlock-free RAM throttling (MemoryGate), macOS sysctl/vm_stat and ARM Linux core detection, and atomic atlas-region.json stamps.
- Move C++ helper caching (ch_preprocess, build_qadj) into shared tools/native_helper.py using a private 0700 per-user directory keyed by source, platform, arch and compiler, with cleaned noexec fallback.
- Add stdlib-only tests in src/tests/test_atlas_pipeline.py wired into verify_ci.py.
- Bump version to 2.2.6.3, rebuild ARMv4T binaries/build-reports, update docs/changelog/preview manifest, and refresh SHA256SUMS and latest.json.
@pxwel-dev
pxwel-dev merged commit 7b032c4 into main Nov 25, 2026
1 check passed
@pxwel-dev
pxwel-dev deleted the feat/pipelined-atlas branch November 25, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants