findings: DARNER_CARD_BUFFERS_MIN_KB measured on an RTX 5080 (64 KiB against the 1 MiB line) #475

Open
TurboTheTurtle wants to merge 1 commit from TurboTheTurtle/Darner:card-buffers-min-kb-measured into Main
First-time contributor

Contributor role (optional)

  • Fluxer ID: 1578592194158137347.

What it changes

  • docs/findings.md, "What is next" item 2 said the small-buffer line was "not measured here yet". It now carries the numbers, in a new section at the end ("Small title buffers on the card", 2026-12-04), and the item points to it.
  • Measured on an RTX 5080 with DARNER_CARD_ALL=0: DARNER_CARD_BUFFERS_MIN_KB=64 gives 36.55 fps and 27.35 ms a frame (two runs, medians identical); =1024, the old MiB line, gives 16.98 fps and 58.85 ms (two runs, 58.9 and 58.8). preparing 16.7 to 17.2 against 21.45 to 22.1 ms, copies 5.8 against 7.2 to 7.4 ms, the card's own time 0.0 to 0.2 against 15.8 to 17.0 ms. The two runs of each arm agreed within 0.1 ms.
  • Read in code (crates/darner-gpu/src/shadow.rs:809-816, apps/darner/src/play.rs:205): card_all() writes min_bytes = 0 after the KiB value is read, so under play's DARNER_CARD_ALL=1 the switch is inert; the four runs in that state all logged card_buffers_min_kb=0 and gave 28.05 to 30.4 ms a frame.

How it was tested

  • Tested revision: 3e3b7a6 on c8258f9 (rebased; the numbers were measured at 1eacc27 on d91d8e4). One file, docs/findings.md, +10/-2, no code.
  • cargo xtask policy -> asset policy: 576 files ok (on c8258f9).
  • cargo clippy --workspace --all-targets --locked -- -D warnings -> no output, exit 0.
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings -> no output, exit 0.
  • cargo test --workspace --locked -> exit 0, every package ok: darner-gpu --lib 1823 passed, 0 failed, 81 ignored; darner-shader --lib 568 passed, 0 failed, 16 ignored. The two failures the earlier reports on this series listed are gone on the new main: the watch:: parallel-run flake of #389 (taken by #262 and its follow-up, which hold the watch journal's test lock) and emit::waterfall_tests::sampled_marks_restore_early_depth_only_when_safe_in_pixel_shaders at the DXIL validator (taken by #227, which writes SV_Depth in the early-depth fixture).
  • Game: scripts\play-nvidia.ps1 -Build release -Res 1440 -Dlss quality -NoMenu, one warm-up not counted, then A B B A, each arm ended by DARNER_EXIT_AFTER_WORLD_S=120, DARNER_BENCH_CSV for the whole window, DARNER_ADAPTER=5080, frame generation off, same save, standing still; draws/frame 2,986 to 3,232 and the render-target reserve 879 to 908 MB in every arm. Read with scripts/summarize-frame-log.py.
  • Changes a default: no. Docs only, so no A/B is required for the change itself; the numbers above are the measurement the row records.
  • Not tested: other cards, other resolutions, a walk instead of standing still.

Checklist

  • I ran this change in the game, or say below why it can't be (docs, tests only). Docs only; the game ran for the numbers in the row.
  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md (one text file).
  • I recorded this PR's dependencies below.
    • Depends on: none.

Checked for overlap

  • I searched the open pull requests for the same problem and for the files this touches.
  • Related PRs: #470 and #459 also edit docs/findings.md (other switches; their hunks sit in the middle of the file, this adds a section at the end and edits the item-2 line near the top). None carries these numbers.
  • Replaces or overlaps: none found.

Made with AI assistance (DeepSeek).

## Contributor role (optional) - Fluxer ID: 1578592194158137347. ## What it changes - `docs/findings.md`, "What is next" item 2 said the small-buffer line was "not measured here yet". It now carries the numbers, in a new section at the end ("Small title buffers on the card", 2026-12-04), and the item points to it. - Measured on an RTX 5080 with `DARNER_CARD_ALL=0`: `DARNER_CARD_BUFFERS_MIN_KB=64` gives 36.55 fps and 27.35 ms a frame (two runs, medians identical); `=1024`, the old MiB line, gives 16.98 fps and 58.85 ms (two runs, 58.9 and 58.8). `preparing` 16.7 to 17.2 against 21.45 to 22.1 ms, copies 5.8 against 7.2 to 7.4 ms, the card's own time 0.0 to 0.2 against 15.8 to 17.0 ms. The two runs of each arm agreed within 0.1 ms. - Read in code (`crates/darner-gpu/src/shadow.rs:809-816`, `apps/darner/src/play.rs:205`): `card_all()` writes `min_bytes = 0` after the KiB value is read, so under `play`'s `DARNER_CARD_ALL=1` the switch is inert; the four runs in that state all logged `card_buffers_min_kb=0` and gave 28.05 to 30.4 ms a frame. ## How it was tested - Tested revision: `3e3b7a6` on `c8258f9` (rebased; the numbers were measured at `1eacc27` on `d91d8e4`). One file, `docs/findings.md`, +10/-2, no code. - `cargo xtask policy` -> `asset policy: 576 files ok` (on `c8258f9`). - `cargo clippy --workspace --all-targets --locked -- -D warnings` -> no output, exit 0. - `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` -> no output, exit 0. - `cargo test --workspace --locked` -> exit 0, every package ok: `darner-gpu --lib` 1823 passed, 0 failed, 81 ignored; `darner-shader --lib` 568 passed, 0 failed, 16 ignored. The two failures the earlier reports on this series listed are gone on the new `main`: the `watch::` parallel-run flake of #389 (taken by #262 and its follow-up, which hold the watch journal's test lock) and `emit::waterfall_tests::sampled_marks_restore_early_depth_only_when_safe_in_pixel_shaders` at the DXIL validator (taken by #227, which writes SV_Depth in the early-depth fixture). - Game: `scripts\play-nvidia.ps1 -Build release -Res 1440 -Dlss quality -NoMenu`, one warm-up not counted, then A B B A, each arm ended by `DARNER_EXIT_AFTER_WORLD_S=120`, `DARNER_BENCH_CSV` for the whole window, `DARNER_ADAPTER=5080`, frame generation off, same save, standing still; `draws/frame` 2,986 to 3,232 and the render-target reserve 879 to 908 MB in every arm. Read with `scripts/summarize-frame-log.py`. - Changes a default: no. Docs only, so no A/B is required for the change itself; the numbers above are the measurement the row records. - Not tested: other cards, other resolutions, a walk instead of standing still. ## Checklist - [x] I ran this change in the game, or say below why it can't be (docs, tests only). Docs only; the game ran for the numbers in the row. - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md` (one text file). - [x] I recorded this PR's dependencies below. - Depends on: none. ## Checked for overlap - [x] I searched the open pull requests for the same problem and for the files this touches. - Related PRs: #470 and #459 also edit `docs/findings.md` (other switches; their hunks sit in the middle of the file, this adds a section at the end and edits the item-2 line near the top). None carries these numbers. - Replaces or overlaps: none found. Made with AI assistance (DeepSeek).
TurboTheTurtle force-pushed card-buffers-min-kb-measured from 1eacc27f4e to 3e3b7a6b6e 2026-12-05 19:42:20 +00:00 Compare
TrustNo1 changed title from [pr-docs][performance][NVIDIA] findings: DARNER_CARD_BUFFERS_MIN_KB measured on an RTX 5080 (64 KiB against the 1 MiB line) to findings: DARNER_CARD_BUFFERS_MIN_KB measured on an RTX 5080 (64 KiB against the 1 MiB line) 2026-12-06 03:28:16 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'card-buffers-min-kb-measured:TurboTheTurtle-card-buffers-min-kb-measured'
git switch 'TurboTheTurtle-card-buffers-min-kb-measured'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'Main'
git merge --no-ff 'TurboTheTurtle-card-buffers-min-kb-measured'
git switch 'TurboTheTurtle-card-buffers-min-kb-measured'
git rebase 'Main'
git switch 'Main'
git merge --ff-only 'TurboTheTurtle-card-buffers-min-kb-measured'
git switch 'TurboTheTurtle-card-buffers-min-kb-measured'
git rebase 'Main'
git switch 'Main'
git merge --no-ff 'TurboTheTurtle-card-buffers-min-kb-measured'
git switch 'Main'
git merge --squash 'TurboTheTurtle-card-buffers-min-kb-measured'
git switch 'Main'
git merge --ff-only 'TurboTheTurtle-card-buffers-min-kb-measured'
git switch 'Main'
git merge 'TurboTheTurtle-card-buffers-min-kb-measured'
git push origin 'Main'
Sign in to join this conversation.
No reviewers
No milestone
No project
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
TrustNo1/Darner!475
No description provided.