upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-12-01 01:13:46 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-12-01 01:13:46 -0500
commit6479135328284ef4ab0363eb1d0a92bdb7545408 (patch)
tree1b578fb860f1cb86fa306e883133ecee9a75bca2 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parentd22cd3b6bb3a4866eef5832ab0416b612dfff34b (diff)
The precompile's store runs on as many threads as its processes, and notes each pipeline by what the library holds
The driver's own cache on disk does not keep all that the precompile's processes compile: of 400 pipelines a precompile had just made (run d287's), 116 were compiled again by the next process to ask for them (138 s in all; the other 284 took about 2 ms each), with the launcher's own settings and with none alike. That is why the game compiled some 1,700 pipelines in the world right after a precompile, and why the store's one thread took over nine minutes for its first thousand (run d288, stopped). It now works on as many threads as the precompile has processes (8 on a 12-thread CPU), as the game's pipeline workers do; whether each pipeline ended in the library (loaded from it, or made and stored) is taken from the library call itself, not from counters other threads move too. A store that ended badly twice for one translation is not tried again for it (`library-failed.txt`). AI-assisted (Claude). Tested on RTX 4060 Ti 16 GB, driver 616.64: type-checked; the same 30 and 400 pipelines timed as a precompile worker, as the store with the 1.6 GB library and with an empty one (each stopped before writing); checked in a run of the game after this commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions