Residency: VICTORY_RESIDENT_LATER=1 asks new memory resident with EnqueueMakeResident, waited for before descriptor slots are written and on the card before lists are sent #1850
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1850"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T00:46:03Z.
New memory is made resident where it is made, so the thread that makes it waits for the system to page it in.
With VICTORY_RESIDENT_LATER=1, new memory is only asked to be made resident there, with EnqueueMakeResident: the system pages it in while we go on and signals a fence of ours. What could name that memory waits for the fence instead. A slot of our descriptor heap waits on the CPU before it is written, since lists already sent read the heap as it is. A queue waits on the card before lists are sent to it. Memory the CPU maps where it is made is still waited for there.
The log gives the asks, the time spent asking, the settles that waited with their time, and the queue waits.
Off by default; without the switch nothing changes.