Allow a smaller write-watch gap for submission-wide queries #395

Closed
github-bot wants to merge 0 commits from github-bot/gh-395 into main AGit
Owner

@⁠Fernando-Laydner on GitHub · 2026-12-01 22:10 UTC · original
Fernando-Laydner:perf/submission-watch-gap-512k → main · +35 −2 · 1 files · 72 commits · closed without merging

On Windows, submission-wide write-watch queries can cover large unused gaps between requested ranges. This adds an opt-in 512 KiB gap for ask_once, enabled by VICTORY_SMALL_SUBMIT_GAP=1. The default gap and standalone ask_ahead calls keep the existing 8 MiB limit.

The regression test writes into a skipped gap and checks that a subsequent individual query still detects it.

On a custom fork using an RTX 4050 Laptop (6 GB), i7-13620H and 32 GB RAM, the Series S prologue with DLSS Performance and frame generation off measured 11.31 base FPS at 8 MiB and 13.02 at 512 KiB. Frames over 150 ms fell from 4.7% to 2.3%. One run per setting, approximately 44 seconds each. Independent gameplay reproduction on this upstream revision is still needed.

Related discussion: #266. The adjustment is applied when forming Windows query runs, before the journal merges recorded ranges.

Validation on Windows, upstream 94c3c5f31: all 37 watch::tests passed with default settings and again with VICTORY_SMALL_SUBMIT_GAP=1.

**@⁠Fernando-Laydner** on GitHub · 2026-12-01 22:10 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/395) `Fernando-Laydner:perf/submission-watch-gap-512k` → `main` · +35 −2 · 1 files · 72 commits · closed without merging On Windows, submission-wide write-watch queries can cover large unused gaps between requested ranges. This adds an opt-in 512 KiB gap for ask_once, enabled by VICTORY_SMALL_SUBMIT_GAP=1. The default gap and standalone ask_ahead calls keep the existing 8 MiB limit. The regression test writes into a skipped gap and checks that a subsequent individual query still detects it. On a custom fork using an RTX 4050 Laptop (6 GB), i7-13620H and 32 GB RAM, the Series S prologue with DLSS Performance and frame generation off measured 11.31 base FPS at 8 MiB and 13.02 at 512 KiB. Frames over 150 ms fell from 4.7% to 2.3%. One run per setting, approximately 44 seconds each. Independent gameplay reproduction on this upstream revision is still needed. Related discussion: #266. The adjustment is applied when forming Windows query runs, before the journal merges recorded ranges. Validation on Windows, upstream 94c3c5f31: all 37 watch::tests passed with default settings and again with VICTORY_SMALL_SUBMIT_GAP=1.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 22:11:24 +00:00
github-bot closed this pull request 2026-12-02 07:54:21 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.