[GH #145] Build, suite and benchmarks on Ryzen 7 5800X with RTX 3070 #145

Open
opened 2026-11-25 15:08:42 +00:00 by lozatto · 3 comments
lozatto commented 2026-11-25 15:08:42 +00:00 (Migrated from github.com)

Imported from Zettrox/ztrx. Originally posted by lozatto on 2026-11-25T14:19:59Z.


Platform-side results for the RTX 3070, in case they are useful for the Status table. Covers the build, full test suite, and benchmarks on hardware without game files.

Machine

Item Details
CPU AMD Ryzen 7 5800X (8 cores, 16 threads, AVX2)
GPU NVIDIA GeForce RTX 3070, 8 GB (Driver: 621.40 / 32.0.16.2140)
RAM 32 GB
OS Windows 11 Pro (build 26320)
Toolchain Rust 1.98.1 MSVC
Commit 90b529f878a470fec9bf07b7be316bc769a12232

Checks

Check Result
cargo xtask policy 171 files ok
cargo test --workspace 496 passed, 0 failed, 7 ignored
cargo test -p victory-shader 210 passed, 0 failed, 2 ignored
cargo test -p victory-gpu 110 passed, 0 failed, 1 ignored

All 210 shader tests (including hardware vs WARP DXIL intersection checks) matched the reference bit for bit with zero ULP divergence on the RTX 3070.

Benchmarks

texture_checks_per_submission (victory-gpu)

12 lists sampling 48 textures of 4 MiB: before 576 hashes in 516.78ms, after 48 in 43.3541ms (11.9x)

bcpack_throughput (victory-formats, release)

BC1: 16384 blocks, 62.2 MB out/s, 128.6 ns/block
BC4: 16384 blocks, 61.3 MB out/s, 130.6 ns/block
BC7: 16384 blocks, 35.0 MB out/s, 457.1 ns/block

bench_write (victory-shader bitcode)

write 64 regs x 64 stages (4417 insts): 2.11776ms, 38916 bytes, fnv 0x9586730cf9534a45
write 128 regs x 256 stages (33569 insts): 17.631ms, 295952 bytes, fnv 0x89e5de2d64f08785
write 256 regs x 512 stages (132865 insts): 72.86982ms, 1232692 bytes, fnv 0xc9415ac1e61d7030
<!-- greyfinch-sync:Zettrox/ztrx:issue:6606606417 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/145). Originally posted by [lozatto](https://github.com/lozatto) on 2026-11-25T14:19:59Z. --- Platform-side results for the RTX 3070, in case they are useful for the Status table. Covers the build, full test suite, and benchmarks on hardware without game files. ## Machine | Item | Details | |---|---| | CPU | AMD Ryzen 7 5800X (8 cores, 16 threads, AVX2) | | GPU | NVIDIA GeForce RTX 3070, 8 GB (Driver: 621.40 / 32.0.16.2140) | | RAM | 32 GB | | OS | Windows 11 Pro (build 26320) | | Toolchain | Rust 1.98.1 MSVC | | Commit | `90b529f878a470fec9bf07b7be316bc769a12232` | ## Checks | Check | Result | |---|---| | `cargo xtask policy` | 171 files ok | | `cargo test --workspace` | 496 passed, 0 failed, 7 ignored | | `cargo test -p victory-shader` | 210 passed, 0 failed, 2 ignored | | `cargo test -p victory-gpu` | 110 passed, 0 failed, 1 ignored | All 210 shader tests (including hardware vs WARP DXIL intersection checks) matched the reference bit for bit with zero ULP divergence on the RTX 3070. ## Benchmarks ### `texture_checks_per_submission` (victory-gpu) ``` 12 lists sampling 48 textures of 4 MiB: before 576 hashes in 516.78ms, after 48 in 43.3541ms (11.9x) ``` ### `bcpack_throughput` (victory-formats, release) ``` BC1: 16384 blocks, 62.2 MB out/s, 128.6 ns/block BC4: 16384 blocks, 61.3 MB out/s, 130.6 ns/block BC7: 16384 blocks, 35.0 MB out/s, 457.1 ns/block ``` ### `bench_write` (victory-shader bitcode) ``` write 64 regs x 64 stages (4417 insts): 2.11776ms, 38916 bytes, fnv 0x9586730cf9534a45 write 128 regs x 256 stages (33569 insts): 17.631ms, 295952 bytes, fnv 0x89e5de2d64f08785 write 256 regs x 512 stages (132865 insts): 72.86982ms, 1232692 bytes, fnv 0xc9415ac1e61d7030 ```
xiaotu030202 commented 2026-11-25 15:08:46 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by xiaotu030202 on 2026-11-25T14:44:46Z.


Useful data — the texture_checks_per_submission speed-up is the kind of number that is hard to get from a title run, and it replicates.

Here is the same set on a different machine, because a second data point either confirms a baseline or shows that the first one was measuring something else. RTX 5070 Ti 8 GB-less (12 GB), Ryzen 7 9800X3D, Windows 11 22631, Rust 1.98.1 MSVC, commit 90b529f + my open branches — the branches add tests, not benchmark code, so the numbers below are comparable.

texture_checks_per_submission (victory-gpu)

12 lists sampling 48 textures of 4 MiB: before 576 hashes in 220.07ms, after 48 in 18.32ms (12.0x)

12.0× against your 11.9×. That is the most interesting line in either report: the ratio is the property of the change, and it reproduces to within a rounding error on different silicon. The absolute times differ by ~2.4×, which is roughly what 9800X3D against 5800X should be for a hash loop.

bcpack_throughput (victory-formats, release)

BC1: 16384 blocks, 117.4 MB out/s,  68.2 ns/block     (yours: 62.2 MB/s, 128.6)
BC4: 16384 blocks, 112.0 MB out/s,  71.5 ns/block     (yours: 61.3 MB/s, 130.6)
BC7: 16384 blocks,  65.4 MB out/s, 244.5 ns/block     (yours: 35.0 MB/s, 457.1)

Consistent 1.8–1.9× across all three, which is the CPU delta and not a code difference. The BC7/BC1 ratio is 3.6× on both machines, so the per-format cost profile matches too.

bench_write — this one is not comparable, and I think it is a profile

                                     yours (5800X)     mine, release    mine, debug
write  4417 insts                     2.11776 ms        0.12946 ms      1.0919 ms
write 33569 insts                    17.631   ms        1.07496 ms      8.2265 ms
write 132865 insts                   72.86982 ms        4.34218 ms     36.27876 ms

Your numbers are ~16× my release run — but only ~2× my debug run, and 16× is far more than any CPU difference can explain. My guess is bench_write was run without --release.

The way to tell without trusting either of us: the fnv hashes match exactly in all three rows (0x9586730c…, 0x89e5de2d…, 0xc9415ac1…), so the bytes written are identical and only the speed differs. That rules out a correctness difference and leaves the build profile.

If that is right, the victory-shader row is the one line of your table that would change; the other two stand. Worth re-running with cargo test --release -p victory-shader bench_write -- --ignored --nocapture before it goes into a status table, because a 16× outlier invites a hunt for a bug that is not there.

On the test counts

Your cargo test --workspace is 496 passed / 7 ignored at 90b529f. Mine reads 218 shader / 114 gpu / 37 formats — higher because the open branches add the tests; at plain 90b529f I get your numbers, which is a second check that we are on the same base.

What I cannot contribute

Same limit as yours, in reverse: no game files, so nothing here about title behaviour. But between your 5800X/3070 and my 9800X3D/5070 Ti there are now two hardware points for every asset-free benchmark in the tree, which makes a regression easier to tell from a machine difference — which I think is the point of your report.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7165748937 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/145#issuecomment-7165748937). Originally posted by [xiaotu030202](https://github.com/xiaotu030202) on 2026-11-25T14:44:46Z. --- Useful data — the `texture_checks_per_submission` speed-up is the kind of number that is hard to get from a title run, and it replicates. Here is the same set on a different machine, because a second data point either confirms a baseline or shows that the first one was measuring something else. **RTX 5070 Ti 8 GB-less (12 GB), Ryzen 7 9800X3D, Windows 11 22631, Rust 1.98.1 MSVC, commit `90b529f` + my open branches** — the branches add tests, not benchmark code, so the numbers below are comparable. ## `texture_checks_per_submission` (victory-gpu) ``` 12 lists sampling 48 textures of 4 MiB: before 576 hashes in 220.07ms, after 48 in 18.32ms (12.0x) ``` **12.0× against your 11.9×.** That is the most interesting line in either report: the *ratio* is the property of the change, and it reproduces to within a rounding error on different silicon. The absolute times differ by ~2.4×, which is roughly what 9800X3D against 5800X should be for a hash loop. ## `bcpack_throughput` (victory-formats, release) ``` BC1: 16384 blocks, 117.4 MB out/s, 68.2 ns/block (yours: 62.2 MB/s, 128.6) BC4: 16384 blocks, 112.0 MB out/s, 71.5 ns/block (yours: 61.3 MB/s, 130.6) BC7: 16384 blocks, 65.4 MB out/s, 244.5 ns/block (yours: 35.0 MB/s, 457.1) ``` Consistent 1.8–1.9× across all three, which is the CPU delta and not a code difference. The BC7/BC1 ratio is 3.6× on both machines, so the per-format cost profile matches too. ## `bench_write` — this one is not comparable, and I think it is a profile ``` yours (5800X) mine, release mine, debug write 4417 insts 2.11776 ms 0.12946 ms 1.0919 ms write 33569 insts 17.631 ms 1.07496 ms 8.2265 ms write 132865 insts 72.86982 ms 4.34218 ms 36.27876 ms ``` Your numbers are ~16× my release run — but only ~2× my **debug** run, and 16× is far more than any CPU difference can explain. My guess is `bench_write` was run without `--release`. The way to tell without trusting either of us: **the fnv hashes match exactly** in all three rows (`0x9586730c…`, `0x89e5de2d…`, `0xc9415ac1…`), so the bytes written are identical and only the speed differs. That rules out a correctness difference and leaves the build profile. If that is right, the `victory-shader` row is the one line of your table that would change; the other two stand. Worth re-running with `cargo test --release -p victory-shader bench_write -- --ignored --nocapture` before it goes into a status table, because a 16× outlier invites a hunt for a bug that is not there. ## On the test counts Your `cargo test --workspace` is 496 passed / 7 ignored at `90b529f`. Mine reads 218 shader / 114 gpu / 37 formats — higher because the open branches add the tests; at plain `90b529f` I get your numbers, which is a second check that we are on the same base. ## What I cannot contribute Same limit as yours, in reverse: **no game files**, so nothing here about title behaviour. But between your 5800X/3070 and my 9800X3D/5070 Ti there are now two hardware points for every asset-free benchmark in the tree, which makes a regression easier to tell from a machine difference — which I think is the point of your report.
lozatto commented 2026-11-25 15:08:47 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by lozatto on 2026-11-25T15:01:42Z.


Platform-side results for the RTX 3070, in case they are useful for the Status table. Covers the build, full test suite, and benchmarks on hardware without game files.

Machine

Item Details
CPU AMD Ryzen 7 5800X (8 cores, 16 threads, AVX2)
GPU NVIDIA GeForce RTX 3070, 8 GB (Driver: 621.40 / 32.0.16.2140)
RAM 32 GB
OS Windows 11 Pro (build 26320)
Toolchain Rust 1.98.1 MSVC
Commit 90b529f878a470fec9bf07b7be316bc769a12232

Checks

Check Result
cargo xtask policy 171 files ok
cargo test --workspace 496 passed, 0 failed, 7 ignored
cargo test -p victory-shader 210 passed, 0 failed, 2 ignored
cargo test -p victory-gpu 110 passed, 0 failed, 1 ignored

All 210 shader tests (including hardware vs WARP DXIL intersection checks) matched the reference bit for bit with zero ULP divergence on the RTX 3070.

Benchmarks

texture_checks_per_submission (victory-gpu)

12 lists sampling 48 textures of 4 MiB: before 576 hashes in 516.78ms, after 48 in 43.3541ms (11.9x)

bcpack_throughput (victory-formats, release)

BC1: 16384 blocks, 62.2 MB out/s, 128.6 ns/block
BC4: 16384 blocks, 61.3 MB out/s, 130.6 ns/block
BC7: 16384 blocks, 35.0 MB out/s, 457.1 ns/block

bench_write (victory-shader bitcode, release)

write 64 regs x 64 stages (4417 insts): 235.48µs, 38916 bytes, fnv 0x9586730cf9534a45
write 128 regs x 256 stages (33569 insts): 1.79828ms, 295952 bytes, fnv 0x89e5de2d64f08785
write 256 regs x 512 stages (132865 insts): 15.45294ms, 1232692 bytes, fnv 0xc9415ac1e61d7030
<!-- greyfinch-sync:Zettrox/ztrx:comment:7166189009 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/145#issuecomment-7166189009). Originally posted by [lozatto](https://github.com/lozatto) on 2026-11-25T15:01:42Z. --- Platform-side results for the RTX 3070, in case they are useful for the Status table. Covers the build, full test suite, and benchmarks on hardware without game files. ## Machine | Item | Details | |---|---| | CPU | AMD Ryzen 7 5800X (8 cores, 16 threads, AVX2) | | GPU | NVIDIA GeForce RTX 3070, 8 GB (Driver: 621.40 / 32.0.16.2140) | | RAM | 32 GB | | OS | Windows 11 Pro (build 26320) | | Toolchain | Rust 1.98.1 MSVC | | Commit | `90b529f878a470fec9bf07b7be316bc769a12232` | ## Checks | Check | Result | |---|---| | `cargo xtask policy` | 171 files ok | | `cargo test --workspace` | 496 passed, 0 failed, 7 ignored | | `cargo test -p victory-shader` | 210 passed, 0 failed, 2 ignored | | `cargo test -p victory-gpu` | 110 passed, 0 failed, 1 ignored | All 210 shader tests (including hardware vs WARP DXIL intersection checks) matched the reference bit for bit with zero ULP divergence on the RTX 3070. ## Benchmarks ### `texture_checks_per_submission` (victory-gpu) ``` 12 lists sampling 48 textures of 4 MiB: before 576 hashes in 516.78ms, after 48 in 43.3541ms (11.9x) ``` ### `bcpack_throughput` (victory-formats, release) ``` BC1: 16384 blocks, 62.2 MB out/s, 128.6 ns/block BC4: 16384 blocks, 61.3 MB out/s, 130.6 ns/block BC7: 16384 blocks, 35.0 MB out/s, 457.1 ns/block ``` ### `bench_write` (victory-shader bitcode, release) ``` write 64 regs x 64 stages (4417 insts): 235.48µs, 38916 bytes, fnv 0x9586730cf9534a45 write 128 regs x 256 stages (33569 insts): 1.79828ms, 295952 bytes, fnv 0x89e5de2d64f08785 write 256 regs x 512 stages (132865 insts): 15.45294ms, 1232692 bytes, fnv 0xc9415ac1e61d7030 ```
lozatto commented 2026-11-25 16:13:09 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by lozatto on 2026-11-25T15:50:25Z.


Tks @xiaotu030202

<!-- greyfinch-sync:Zettrox/ztrx:comment:7167358711 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/145#issuecomment-7167358711). Originally posted by [lozatto](https://github.com/lozatto) on 2026-11-25T15:50:25Z. --- Tks @xiaotu030202
Sign in to join this conversation.
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
Zettrox/ztrx#145
No description provided.