mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #1260] DirectStorage: prepare file-backed zlib on bounded workers #1292
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1292
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1260
Author: @Kadamitas
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:feat/dstorage-parallel-file-zlib📝 Commits (1)
e6449c4dstorage: prepare file-backed zlib reads on bounded workers📊 Changes
4 files changed (+358 additions, -98 deletions)
View changed files
📝
docs/directstorage.md(+14 -4)📝
runtime/CMakeLists.txt(+3 -0)📝
runtime/shims/dstorage.cpp(+318 -90)📝
runtime/test/dstorage_test.cpp(+23 -4)📄 Description
Claimed in the coordination issue as: file-backed zlib workers
What and why
Adds opt-in file-backed zlib preparation with a shared four-worker pool. It reuses the existing inflater and keeps queue commits, status, and overlapping destination writes in FIFO order. The bytes processed remain linear in the compressed and expanded sizes. The new queue bookkeeping is constant time per normally prepared request.
This adapts XCL #819 to Leonida’s existing C++ validation and queue model.
Tested
GPUs tested: n/a (CPU-only tests)
AI-assisted: yes
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.