Skip to content

m1max set: turn on quick heap sync (measured in game) - #736

Open
aronsz26 wants to merge 1 commit into
pragyaangaur:mainfrom
aronsz26:m1max-quick-sync
Open

aronsz26 wants to merge 1 commit into
pragyaangaur:mainfrom
aronsz26:m1max-quick-sync

Conversation

@aronsz26

Copy link
Copy Markdown

Adds VICTORY_QUICK_SYNC=1, VICTORY_DISJOINT_SPANS=1 and VICTORY_CENSUS_FAST=1 to the m1max set. #689 measured them on synthetic submissions only; this is the in-game number.

Mac: M1 Max 32 GB (MacBookPro18,2), macOS 27.2.1, High Power Mode. ./setup.sh on 2738044, D3DMetal 4.0 beta 3, Series X, dump 1.0.2.1. Set: m1max plus RAM_LOW=0.15 RAM_FREE=0.20 EVICT_HEAP_UAV=1 SPILL_SHADERS=1 GPU_BUDGET_MB=8192.

Bench: still input replay in the prison cell, VICTORY_BENCH_WARMUP=400, 240 frames, ~5,000 draws in every run (with the default 60-frame warm-up the scene was still streaming, see #730).

runs median ms p95 ms preparing ms
without 5 487, 493, 504, 509, 514 514–650 143–148
with 4 459, 461, 465, 475 483–512 124–127

Two of the control runs were interleaved (without, with, without, with). GPU time on this Mac jumps between two levels from run to run (~235 or ~310 ms) whatever the switches; at the same level the gain is still ~30 ms (493/487 against 459). In the frame log, heap views synced went from ~58 to ~51 ms and "noting it" from 27 to 21 ms. No black frames or device removals. I did not compare captures side by side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant