Root SRV tables: a tail of a host copy the list already asked for since its last title write is not asked again, a lower one only up to it (RootTailAsked, RootTailCovered; VICTORY_ROOT_TAILS=0 off) #1723

Manually merged
github merged 4 commits from github-bot/gh-1723 into main 2026-11-29 08:21:38 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-28 23:43 UTC · original
101Leafy:nv/root-tails → main · +67 −20 · 12 files · 4 commits · merged 2026-11-29 08:16 UTC

A root SRV table brings its buffer's host copy up to date from the view's address to the end of the buffer, every time a draw binds it. When a list binds several tables into the same buffer, or the same one again, between two title writes, each of them asks again for a tail that an earlier ask already covered.

With VICTORY_ROOT_TAILS=1 the list state keeps, per host copy, the lowest address it asked from and the list epoch at that time. A later ask at or above that address in the same epoch is already covered and asks nothing. One below it asks only up to the address the earlier one started from. The epoch moves at every title write the list records, so nothing written since is left out. Two diagnostics counters show the bytes asked and the bytes left out.

It is off by default, and with the switch unset every table asks for its whole tail as before. On my branch this was on by default with =0 to turn it off; here it is the other way round.

**@⁠101Leafy** on GitHub · 2026-11-28 23:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1723) `101Leafy:nv/root-tails` → `main` · +67 −20 · 12 files · 4 commits · merged 2026-11-29 08:16 UTC A root SRV table brings its buffer's host copy up to date from the view's address to the end of the buffer, every time a draw binds it. When a list binds several tables into the same buffer, or the same one again, between two title writes, each of them asks again for a tail that an earlier ask already covered. With VICTORY_ROOT_TAILS=1 the list state keeps, per host copy, the lowest address it asked from and the list epoch at that time. A later ask at or above that address in the same epoch is already covered and asks nothing. One below it asks only up to the address the earlier one started from. The epoch moves at every title write the list records, so nothing written since is left out. Two diagnostics counters show the bytes asked and the bytes left out. It is off by default, and with the switch unset every table asks for its whole tail as before. On my branch this was on by default with =0 to turn it off; here it is the other way round.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 23:47:09 +00:00
github-bot force-pushed github-bot/gh-1723 from 46adb788ac to 14a1849d34 2026-11-29 01:47:40 +00:00 Compare
github manually merged commit 0f8de74766 into main 2026-11-29 08:21:38 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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