Submissions: VICTORY_SNAP_BESIDE=1 and VICTORY_SEND_BESIDE=1 copy snapshots and card-memory sends on the kept threads while the submitting thread goes on #1790

Merged
101Leafy merged 4 commits from upstream-pr/1790 into main 2026-11-29 08:16:53 +00:00
101Leafy commented 2026-11-29 00:05:42 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-29T00:05:42Z.


A submission's snapshots were taken on the submitting thread before it went on to bring the copies in the card's memory up to date, and the long runs of a card-memory send were copied before the list that sends them was recorded.

VICTORY_SNAP_BESIDE=1 takes the snapshots on the kept threads while the submitting thread brings the card's copies up to date, and waits for them before anything writes the copies again. VICTORY_SEND_BESIDE=1 copies the long runs into the send memory on the kept threads while the list is recorded, and waits for them before the list goes to the card or the memory is read. Both use a new Beside handle in shadow.rs that queues the jobs and waits when dropped, and wide() now goes through the same queue.

Both are off by default.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5545878948 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1790). Originally posted by [101Leafy](https://github.com/101Leafy) on 2026-11-29T00:05:42Z. --- A submission's snapshots were taken on the submitting thread before it went on to bring the copies in the card's memory up to date, and the long runs of a card-memory send were copied before the list that sends them was recorded. VICTORY_SNAP_BESIDE=1 takes the snapshots on the kept threads while the submitting thread brings the card's copies up to date, and waits for them before anything writes the copies again. VICTORY_SEND_BESIDE=1 copies the long runs into the send memory on the kept threads while the list is recorded, and waits for them before the list goes to the card or the memory is read. Both use a new Beside handle in shadow.rs that queues the jobs and waits when dropped, and wide() now goes through the same queue. Both are off by default.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!1790
No description provided.