Repository navigation
Conversation
Count the zlib-to-BCPack intermediate against staging while combined requests run. A synthetic lane regression covers borrowed memory sources and file sources whose input overlaps the intermediate. Assisted-by: OpenAI Codex
|
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head AI-assisted (Claude Code); no game data. |
|
I retested this PR on fork main |
Combined zlib and BCPack reads allocate a buffer for the BCPack stream while the zlib input is still live. The scheduler now adds that intermediate buffer to the staging reservation. File-backed requests also reserve their owned source buffer. Memory-backed requests borrow their input.
Two synthetic cases submit a pair of decodes against a 100-byte budget. Their intermediate is 60 bytes, with 20 more bytes of owned input for the file case. Both tests require the second job to wait and then start after the first releases its reservation.
9376fd6: both new cases reproduced premature admission, with the existing staging test passing.OpenAI Codex (GPT-6.2-Sol High) prepared and reviewed the patch, ran the comparison, and drafted this description.