DirectStorage: wake waiters from ordered completion events (#1833) #2569
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2569
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2569"
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?
@razormontana on GitHub · 2026-11-25 23:17 UTC · original
razormontana:directstorage/retire-queue-completion-events→main· +126 −8 · 3 files · 1 commits · openPart of #1833. A title using
IDStorageQueueX1::EnqueueSetEventcan wait for a group of DirectStorage reads to finish. XCL's X1 queue now signals that event in submission order after the earlier reads retire. Microsoft GDK method referenceWhat is in it
hle/dstorage.rs. A queue entry owns a duplicate event handle and uses the existing submission and retirement path. The half-capacity submission trigger counts the marker. Close discards a pending marker and releases its handle.README.md.Tested
cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --show-outputone499bfcreported 1426 passes, 0 failures, and 46 ignored. There were 26 explicit runner skips within the pass count.cargo test --offline --locked -p xcl --lib hle::dstorage:: -- --test-threads=1 --nocapturepassed 34/0/0 without skips in both the default andXCL_DSTORAGE_PARALLEL_DECOMPRESS=1runs. Both event-wakeup tests timed out on the baseline X1 vtable stub.cargo build --offline --locked --release -p xclsucceeded.scripts/smoke.ps1ran the same title offline for 60 seconds per arm with direct DXIL and matching cache seeds.Regression run
Main
PR head
Not tested
AI use
Yes, Codex GPT-6.2 Sol implemented and independently reviewed the patch, ran the tests, and prepared this description.
@DavidM1911 on GitHub · 2026-11-25 23:28 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 26 ignored.Thanks!
— Devin
@xpatfussy69x on GitHub · 2026-11-26 00:01 UTC · original
Test run on exact head
e499bfc(e499bfcabacc8dd57acb7d517a612648f157a5eb, on its basee1d84b7), clean tree.Tested
cargo test --workspace -- --test-threads=4: 1426 passed, 0 failed, 46 ignoredV_MUL_F16/V_PK_MUL_F16/V_CVT_F16_F32(onmaintoo)cargo test -p xcl --lib completion_event: 3 passed, 0 failedcompletion_event_auto_submits_a_half_full_sequential_queue: okcompletion_event_waits_for_parallel_retirement_and_keeps_its_handle: okcompletion_event_close_discards_the_pending_marker: okRegression run (60 s, default settings, a retail title)
main:
this PR:
No crash or device removal; frames 105 % of
main's, peak commit 100 %. Themainrun is on currentmain(08db802), newer than this PR's base.Not tested
main(tested on its own base; it merges into08db802without conflicts)AI use
@ramon-victor on GitHub · 2026-11-26 00:09 UTC · original
Independent NVIDIA (wave32) full-suite + retail smoke test report on exact PR head
e499bfcabacc8dd57acb7d517a612648f157a5eb(clean detached checkout, no local changes).Tested
x86_64-pc-windows-msvc), DXC/DXIL 1.8.2502.11 (Windows SDK 10.0.26100.0); debug tests, release smoke.cargo test -p xcl --lib completion_event): 3 passed, 0 failed (completion_event_close_discards_the_pending_marker,completion_event_auto_submits_a_half_full_sequential_queue,completion_event_waits_for_parallel_retirement_and_keeps_its_handle)..\scripts\test.ps1): 1426 passed, 0 failed, 46 ignored (25 GPU skips expected on this wave32 adapter: 21no wave64, 1no heap windows, 3 wave32 per-lane refused for#1426f16/f32 semantics).cargo build --release -p xcl) and 60 s retail smoke run (XCL_NETWORK=0, compared againstmain @ 08db802baseline on the same machine today:1605frames,15009 MBpeak commit,0crashes,0device removals):Regression run
Not tested
XCL_SAMPLE_*tests (unset).AI use
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.