Repository navigation
DirectStorage: decode eligible file requests in parallel - #819
Conversation
|
Windows cross-check of Head, default (pool off): Head, The title's boot traffic is exactly the eligible shape (file source, zlib, virtual 64 KiB destinations — thousands of requests in the first seconds), both runs clean, frame counts within noise, peak commit identical. So the opt-in path survives a real retail boot on a second host. Tests on this head: Two honest limits: (1) this 90 s window ends before the title's BCPack phase, so it says nothing about the refusal path interactions; (2) The main-side pair for Regression run still needs a block from current main ( AI use: GPT-6.2 Astra (API model selector) in DSH built the head, ran both smokes and the tests, and drafted this comment; the human contributor reviewed the numbers before posting. |
|
Clean-room build, audit, and native hardware test run on NVIDIA RTX 5080 (Windows 11 Pro 25H2
(Clean-room hardware check only; no retail title or |
|
Test run of Tested
Review: Opt-in ( Not tested: no retail title or regression run (I have no unpacked game), release build. Run and review by Claude Code (Claude Opus 5.5) on this machine. |
|
Review of The copy into the title's buffer in Whichever of the two lands second should send the retirement copy through Smaller: AI use: read with Claude Code, Claude Sonnet 5.5, checked against the PR head and |
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, Not tested: retail titles (none here), Windows, RDNA4. Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
RTX 4070 startup performanceTested on an RTX 4070 (617.14), Core i7-13700F, Windows build 26300, and Rust 1.100.0. Built the exact base and PR revisions using
The flag brought the first PresentX forward by 0.51-0.54 s across two pairs. All measured runs exited normally with zero crashes and zero device removals. PresentX timestamps measure presentation calls. Intro visibility, menu, gameplay, and the automated suite were not checked in this run. Regression run Base PR, flag off PR, flag on AI use Codex (GPT-6) built both revisions, ran the smoke trials, extracted the metrics, and drafted this report. |
Keep the worker pool opt-in and bound its staging allocations. Retire submitted work in queue order, including batches without a status marker and preparation failures under budget pressure.
7f1ecc4 to
1495e6d
Compare
|
Test report for Tested
What this shows
The default-path block, for the regression check (main 1 and PR pool off 1, back to back): main: PR: Review of the changes since
Not tested
AI use
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…xcl-dev#819) Conflicts: - real.rs driver-compile gate: upstream's XCL_HUGE_PSO_BYTES / _CONCURRENCY, Slots::most() and GIANT lane (4 MiB) taken; integ's HUGE lane is the same 4 MiB lane (big_compile_lane now names compile_slots' lanes). BIG_DRIVER_COMPILE -> huge_pso_bytes() (also in warm). Compute PSO: integ's lane / slotless / pso_async hooks kept, then the driver call through driver_compile_identified (gated by its caller) for upstream's log lines and driver-only time; the cold retry gated as upstream. Graphics: integ's dxil_known, then upstream's gated driver_compile. pso_async::build_is_wanted is no longer test-only (upstream's gates use it). The two tests that take both real lanes hold BOTH_LANES (opposite orders). - shaders.rs: runtime_windows() with integ's --used; both sides' helpers and tests kept. - pso.rs: compute_shape and console_hlsl both kept. - README: both sides' lines kept. Assisted-by: omp (Claude Opus 5.5)
|
I confirmed that GTA VI uses the parallel DirectStorage decode pool during world loading on Windows with an RTX 3080. I ran the same locally instrumented release ( With the pool enabled, the counters continued to rise after I pressed Confirm. By the last counter update, 49,578 requests had matched the pool criteria, 49,576 had been admitted, and all 49,576 admitted requests had decoded and retired successfully. Both runs passed the first-run form and still showed a black screen at the final capture, about 838 seconds after launch. Neither reached a controllable scene or reported a GPU removal. Across all DirectStorage paths, I counted 1 failure in 87,923 requests with the pool off and 1,871 in 87,816 with it on. All three sampled warnings carried I used Codex with GPT-6.2 Sol (high) to adapt the counters and run the tests. A separate GPT-6.2 Sol agent independently checked the saved counters and captures. GPT-6.1 Terra (medium) checked for overlap with existing upstream reports. |
Add an opt-in worker pool for file-backed, single-stage zlib DirectStorage requests with virtual destinations. The queue worker reads files and retires results in FIFO order. The pool is off by default.
What is in it
1495e6df204a0836a7a4515fd16437cbe9ed7000is based onc160d86ef2efe3a07e4dfb473e4fa72eafb413c0. Its entire patch matches the previously validated59e9f3f85fd8292bd7bb4517a52a586489bea8bcbyte-for-byte.XCL_DSTORAGE_PARALLEL_DECOMPRESS=1enables four workers and a shared 32 MiB staging budget by default. The runtime changes and 647 lines of deterministic tests are kept together to verify ordered retirement, cancellation, and the memory bound.Tested
cargo test --locked --workspace --no-fail-fast -- --test-threads=4 --nocapturereported 870 passed, 0 failed, and 42 ignored. The log also reported 3 feature or adapter skips (gpu,gpu,heap_window_out_of_memory_falls_back_to_the_switch_form).59e9f3f85fd8292bd7bb4517a52a586489bea8bc, five alternating pairs per workload. Enabled versus disabled was 2.19× median (2.02–2.34×) for 64 KiB zlib and 1.020× (0.978–1.058×) for 1 MiB uncompressed. Disabled versus its tested main measured 1.006× (0.980–1.062×) and 0.995× (0.944–1.038×), respectively.Regression run
Pending on the current head. Please run independent
scripts/smoke.ps190-second tests on one retail title with three clean builds or configurations.c160d86ef2efe3a07e4dfb473e4fa72eafb413c0, pool off.1495e6df204a0836a7a4515fd16437cbe9ed7000, pool off.XCL_DSTORAGE_PARALLEL_DECOMPRESS=1, four workers and a 32 MiB staging budget.Use the same adapter, console profile, offline/no-input conditions and equivalent initial caches across runs. Leave
XCL_DIRECT_DXILunset to use upstream's default. Keep host memory safeguards active and attach the official smoke blocks for the three cases.Historical retail run on main
9e3831e1f570d3646e53ab753b19ec07eb8f1485and candidate59e9f3f85fd8292bd7bb4517a52a586489bea8bc. All three completed 90 seconds with zero crashes and zero device removals on Series X with a fresh 512 MiB coherent UMA window, RTX 4060 Laptop GPU, and DXC 1.8.2502.11.Both historical candidate runs passed local acceptance. The disabled run's 12.4% frame deficit widened late as it processed more streaming requests than main. The cause remains unresolved after one ABC sequence.
Not tested
Retail execution and performance on the current head, exact simultaneous retail decoder job count, retail staging waits, and validation on AMD.
AI use
OpenAI Codex (GPT-6, exact serving variant unavailable) implemented the earlier rebase and tests, verified the unchanged patch on the new base, built and tested the current candidate, verified the historical evidence, and drafted this description.