[PR #1496] [CLOSED] [Benchmark] RTX 3070 Ti 8 GB, IQ2_XS at 32K and 128K: re-measured on 0.2.0-beta #3489

Closed
opened 2026-11-07 14:41:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1496
Author: @gbwzzy218
Created: 10/8/2026
Status: ❌ Closed

Base: main ← Head: bench-rtx3070ti-8gb


📝 Commits (6)

  • 1e94e23 Add community benchmark: RTX 3070 Ti 8 GB, Ryzen 9 5900X, 64 GB (Windows 11)
  • d154332 Add per-block engine configs for the RTX 3070 Ti benchmark
  • 27b6c65 Add supplementary checks (scripts, records, scorer outputs) for the RTX 3070 Ti benchmark
  • 4ae193f Merge Niko1221/Strata main into bench-rtx3070ti-8gb
  • 56e6ae5 [Benchmark] RTX 3070 Ti 8 GB re-measured on 0.2.0-beta
  • 4698a5f [Benchmark] 0.2.0-beta report: state inferences as inferences, add the launch command

📊 Changes

74 files changed (+12523 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-07-community-rtx3070ti-8gb/README.md (+286 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/bench_orchestrator.py (+200 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/1-A.json (+30 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/10-B.json (+32 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/2-B.json (+32 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/3-C.json (+32 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/4-D.json (+32 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/5-B.json (+32 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/6-C.json (+32 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/7-E1.json (+32 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/8-E2.json (+35 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/configs/9-C.json (+32 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/engine-start.txt (+154 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/needles.json (+56 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/orchestrator-session1.log (+37 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/orchestrator-session2.log (+22 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/quality/check_results.py (+70 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/quality/parking-and-long-context-B.json (+110 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/quality/parking-and-long-context-C.json (+110 -0)
➕ bench/results/2026-10-07-community-rtx3070ti-8gb/quality/parking_and_long_context.py (+88 -0)

...and 54 more files

📄 Description

Problem and result

A results-only PR: measurements, no code. Its first version carried the 0.1.40.3 report (bench/results/2026-10-07-community-rtx3070ti-8gb/), which found that on this 8 GB card setup's 128K k8v4 configuration (--kv-resident 32768) read prompts about 40% slower than the same configuration with --kv-resident 20480, because the planner could only afford 768-token prompt chunks instead of 1,024. The tracker reset asked for the checks to be re-run on 0.2.0-beta; this adds that re-run as bench/results/2026-10-19-community-rtx3070ti-8gb-0.2.0-beta/, on the same PC, model files and setup-written arguments.

Result on v0.2.0-beta (3d1fb48, release engine 0.1.45.3):

  • The gap is gone. C (--kv-resident 20480) against B (setup's 32,768) was -2.8% to +2.7% in prompt throughput over three within-session comparisons at 4,096 / 16,384 tokens; on 0.1.40.3 the same comparisons measured +38.8% to +41.4%.
  • The cause is the CPU prefill share, on by default since 0.1.41 for prompt chunks under 1,024 tokens on one CUDA GPU. With STRATA_PREFILL_CPU_SHARE=0, B read 424.7 / 442.8 tok/s against 586.6 / 602.8 with the share on (same session): +38.1% / +36.1% from the share. The engine still plans 768-token chunks for B and 512 for D.
  • Against the 0.1.40.3 report (session 1 of each, different days): B +33.6% / +31.2%, D (int8) +44.3% / +43.2%; A and C read 4K prompts at about the same rate and 16K prompts 8-9% slower (not isolated).
  • The new README withdraws the 0.1.40.3 report's suggestion to pick a smaller window on cards under 10 GB.

none: a results-only PR (closed in the 0.2.0-beta tracker reset, reopened with the re-run).

Approach

  • Repeats the 0.1.40.3 method: the community harness bench/results/2026-09-30-community-rtx-5090/benchmark.py (the same file), configs written by 0.2.0-beta's own setup plus the same hand-added conversation cache, one server start per block, five runs per length (three at 128,000), tools/needle_bench.py and the 13-prompt task check.
  • Adds an arm with STRATA_PREFILL_CPU_SHARE=0 to show what the share changed, and a monitor that samples the GPU and the other processes' CPU about every 3 s so disturbed requests are flagged (28 of 98; the comparisons do not change without them).
  • Measured with the current community guide (docs/COMMUNITY_BENCHMARKS.md), not the draft standard protocol.
  • Keeps the 0.1.40.3 folder unchanged; adds one entry for the new report under "Community reports" in docs/COMMUNITY_BENCHMARKS.md.

Validation

Passed:

  • Environment: Windows 11 Pro build 26200, RTX 3070 Ti 8 GB (driver 617.42, also drives the display), Ryzen 9 5900X, 64 GB DDR4-3600, NVMe. Revision: git clone --branch v0.2.0-beta -> 3d1fb48090e8 (tag v0.2.0-beta); engine = the release asset strata-engine-0.1.45.3-windows-x86_64-cuda-cuda13.tar.gz (SHA-256 as in the release's SHA256SUMS.txt; BUILD.json 0.1.45.3, commit f6d65cb584c0); hashes in system.txt.
  • Harness check: benchmark.py --targets 1024 --runs 1 on arm A read the engine's /metrics counters (1,023 prompt tokens, 0 reused, prompt_ms 1,787.6, decode_ms 4,179.5): harness-check.json.
  • Per block: python bench/results/2026-09-30-community-rtx-5090/benchmark.py --root <repo> --pack <data-dir>\packs\iq2_xs --url http://127.0.0.1:8080 --targets 4096,16384 --runs 5 (block 6 also 32768 x 5 and 128000 x 3): 98 measured requests, every one 256 generated tokens, finish_reason "length", 0 reused prompt tokens. Medians and ranges in the README table, every request in results.json, timestamps in orchestrator-session*.txt.
  • python tools/needle_bench.py --url http://127.0.0.1:8080 --lengths 32k,128k --depths 10,50,90 --out needles.json on C: 6 of 6 found (32,045-32,046 and 124,125-124,127 prompt tokens).
  • Task check quality/strata_eval.py on C, scored by quality/check_results.py: 15/15 expressions, 4/4 malformed inputs rejected, JSON parsed and schema-checked, poem 4 x 7 characters, tool call get_weather, 24/7, both logic answers 1, needle exact, lo = mid + 1 (quality/task-check-C.scored.txt).
  • The engine arguments 0.2.0-beta's setup wrote for A, B and D are identical to the 0.1.40.3 report's (configs/setup-diff.md); the plan lines of every start are in engine-start.txt.
  • Relative links in the README checked; the folder scanned for local paths and user names (none).

Failed:

  • No measured request failed: all 98 measured requests, the six needle checks and the task check completed.
  • The first START-HERE.bat --yes on the clean v0.2.0-beta clone found no ready-made engine (HTTP 404 for the pre-0.2 asset name strata-windows-x64.zip) and started installing build tools to compile; the release engine was placed in engine\ by hand instead (README, "Notes for the maintainers").

Not run:

  • The E1 / E2 isolation arms of the 0.1.40.3 report: planned only if C stayed clearly faster than B.
  • A controlled display-on / display-off test: session 2 ran, by inference, with the display off and was 18.7-20.8% faster in prompt throughput and 38.1-48.1% in decode than session 1; reported as an inferred observation, and the comparisons are made within a session.
  • The 0.2.0-beta installer (install.ps1 / the Windows .exe), a source build, revisions after 0.2.0-beta, other --kv-resident values, q4_0, vision, "parallel", the draft standard protocol (strata bench run).

Limits

  • One machine and one model; configurations measured as blocks, not interleaved per request; by inference the display was on in session 1 and off in session 2.
  • The 0.1.40.3 and 0.2.0-beta numbers come from different days.
  • The engine binary is the release asset (built from f6d65cb584c0), not compiled from the 3d1fb48 tree.
  • The cause of the A / C slowdown at 16K against 0.1.40.3 was not isolated.

Prepared with an AI assistant; every number above comes from the raw data in the report folder.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1496 **Author:** [@gbwzzy218](https://github.com/gbwzzy218) **Created:** 10/8/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench-rtx3070ti-8gb` --- ### 📝 Commits (6) - [`1e94e23`](https://github.com/Niko1221/Strata/commit/1e94e234bfa398b29166fbc78ac7378d09df4aaa) Add community benchmark: RTX 3070 Ti 8 GB, Ryzen 9 5900X, 64 GB (Windows 11) - [`d154332`](https://github.com/Niko1221/Strata/commit/d154332f9c273620d07cc6698bbb26c67b93598e) Add per-block engine configs for the RTX 3070 Ti benchmark - [`27b6c65`](https://github.com/Niko1221/Strata/commit/27b6c65ceb017a58cabc05bfde22028f8d39df74) Add supplementary checks (scripts, records, scorer outputs) for the RTX 3070 Ti benchmark - [`4ae193f`](https://github.com/Niko1221/Strata/commit/4ae193f2f633a50762512973c55c737466e58cfe) Merge Niko1221/Strata main into bench-rtx3070ti-8gb - [`56e6ae5`](https://github.com/Niko1221/Strata/commit/56e6ae52dfaf11d4b409e3656e4be898fe2b4ed6) [Benchmark] RTX 3070 Ti 8 GB re-measured on 0.2.0-beta - [`4698a5f`](https://github.com/Niko1221/Strata/commit/4698a5f8777e674e9bd442e6078d279648d328d8) [Benchmark] 0.2.0-beta report: state inferences as inferences, add the launch command ### 📊 Changes **74 files changed** (+12523 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/README.md` (+286 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/bench_orchestrator.py` (+200 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/1-A.json` (+30 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/10-B.json` (+32 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/2-B.json` (+32 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/3-C.json` (+32 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/4-D.json` (+32 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/5-B.json` (+32 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/6-C.json` (+32 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/7-E1.json` (+32 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/8-E2.json` (+35 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/configs/9-C.json` (+32 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/engine-start.txt` (+154 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/needles.json` (+56 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/orchestrator-session1.log` (+37 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/orchestrator-session2.log` (+22 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/quality/check_results.py` (+70 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/quality/parking-and-long-context-B.json` (+110 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/quality/parking-and-long-context-C.json` (+110 -0) ➕ `bench/results/2026-10-07-community-rtx3070ti-8gb/quality/parking_and_long_context.py` (+88 -0) _...and 54 more files_ </details> ### 📄 Description ## Problem and result A results-only PR: measurements, no code. Its first version carried the 0.1.40.3 report (`bench/results/2026-10-07-community-rtx3070ti-8gb/`), which found that on this 8 GB card setup's 128K k8v4 configuration (`--kv-resident 32768`) read prompts about 40% slower than the same configuration with `--kv-resident 20480`, because the planner could only afford 768-token prompt chunks instead of 1,024. The tracker reset asked for the checks to be re-run on 0.2.0-beta; this adds that re-run as `bench/results/2026-10-19-community-rtx3070ti-8gb-0.2.0-beta/`, on the same PC, model files and setup-written arguments. Result on v0.2.0-beta (`3d1fb48`, release engine 0.1.45.3): - The gap is gone. C (`--kv-resident 20480`) against B (setup's 32,768) was -2.8% to +2.7% in prompt throughput over three within-session comparisons at 4,096 / 16,384 tokens; on 0.1.40.3 the same comparisons measured +38.8% to +41.4%. - The cause is the CPU prefill share, on by default since 0.1.41 for prompt chunks under 1,024 tokens on one CUDA GPU. With `STRATA_PREFILL_CPU_SHARE=0`, B read 424.7 / 442.8 tok/s against 586.6 / 602.8 with the share on (same session): +38.1% / +36.1% from the share. The engine still plans 768-token chunks for B and 512 for D. - Against the 0.1.40.3 report (session 1 of each, different days): B +33.6% / +31.2%, D (int8) +44.3% / +43.2%; A and C read 4K prompts at about the same rate and 16K prompts 8-9% slower (not isolated). - The new README withdraws the 0.1.40.3 report's suggestion to pick a smaller window on cards under 10 GB. ## Related discussion none: a results-only PR (closed in the 0.2.0-beta tracker reset, reopened with the re-run). ## Approach - Repeats the 0.1.40.3 method: the community harness `bench/results/2026-09-30-community-rtx-5090/benchmark.py` (the same file), configs written by 0.2.0-beta's own setup plus the same hand-added conversation cache, one server start per block, five runs per length (three at 128,000), `tools/needle_bench.py` and the 13-prompt task check. - Adds an arm with `STRATA_PREFILL_CPU_SHARE=0` to show what the share changed, and a monitor that samples the GPU and the other processes' CPU about every 3 s so disturbed requests are flagged (28 of 98; the comparisons do not change without them). - Measured with the current community guide (`docs/COMMUNITY_BENCHMARKS.md`), not the draft standard protocol. - Keeps the 0.1.40.3 folder unchanged; adds one entry for the new report under "Community reports" in `docs/COMMUNITY_BENCHMARKS.md`. ## Validation **Passed:** - Environment: Windows 11 Pro build 26200, RTX 3070 Ti 8 GB (driver 617.42, also drives the display), Ryzen 9 5900X, 64 GB DDR4-3600, NVMe. Revision: `git clone --branch v0.2.0-beta` -> `3d1fb48090e8` (tag v0.2.0-beta); engine = the release asset `strata-engine-0.1.45.3-windows-x86_64-cuda-cuda13.tar.gz` (SHA-256 as in the release's `SHA256SUMS.txt`; `BUILD.json` 0.1.45.3, commit `f6d65cb584c0`); hashes in `system.txt`. - Harness check: `benchmark.py --targets 1024 --runs 1` on arm A read the engine's `/metrics` counters (1,023 prompt tokens, 0 reused, `prompt_ms` 1,787.6, `decode_ms` 4,179.5): `harness-check.json`. - Per block: `python bench/results/2026-09-30-community-rtx-5090/benchmark.py --root <repo> --pack <data-dir>\packs\iq2_xs --url http://127.0.0.1:8080 --targets 4096,16384 --runs 5` (block 6 also 32768 x 5 and 128000 x 3): 98 measured requests, every one 256 generated tokens, `finish_reason "length"`, 0 reused prompt tokens. Medians and ranges in the README table, every request in `results.json`, timestamps in `orchestrator-session*.txt`. - `python tools/needle_bench.py --url http://127.0.0.1:8080 --lengths 32k,128k --depths 10,50,90 --out needles.json` on C: 6 of 6 found (32,045-32,046 and 124,125-124,127 prompt tokens). - Task check `quality/strata_eval.py` on C, scored by `quality/check_results.py`: 15/15 expressions, 4/4 malformed inputs rejected, JSON parsed and schema-checked, poem 4 x 7 characters, tool call `get_weather`, 24/7, both logic answers 1, needle exact, `lo = mid + 1` (`quality/task-check-C.scored.txt`). - The engine arguments 0.2.0-beta's setup wrote for A, B and D are identical to the 0.1.40.3 report's (`configs/setup-diff.md`); the plan lines of every start are in `engine-start.txt`. - Relative links in the README checked; the folder scanned for local paths and user names (none). **Failed:** - No measured request failed: all 98 measured requests, the six needle checks and the task check completed. - The first `START-HERE.bat --yes` on the clean v0.2.0-beta clone found no ready-made engine (HTTP 404 for the pre-0.2 asset name `strata-windows-x64.zip`) and started installing build tools to compile; the release engine was placed in `engine\` by hand instead (README, "Notes for the maintainers"). **Not run:** - The E1 / E2 isolation arms of the 0.1.40.3 report: planned only if C stayed clearly faster than B. - A controlled display-on / display-off test: session 2 ran, by inference, with the display off and was 18.7-20.8% faster in prompt throughput and 38.1-48.1% in decode than session 1; reported as an inferred observation, and the comparisons are made within a session. - The 0.2.0-beta installer (`install.ps1` / the Windows `.exe`), a source build, revisions after 0.2.0-beta, other `--kv-resident` values, q4_0, vision, `"parallel"`, the draft standard protocol (`strata bench run`). ## Limits - One machine and one model; configurations measured as blocks, not interleaved per request; by inference the display was on in session 1 and off in session 2. - The 0.1.40.3 and 0.2.0-beta numbers come from different days. - The engine binary is the release asset (built from `f6d65cb584c0`), not compiled from the `3d1fb48` tree. - The cause of the A / C slowdown at 16K against 0.1.40.3 was not isolated. Prepared with an AI assistant; every number above comes from the raw data in the report folder. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:41:50 +07:00
Sign in to join this conversation.
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
Niko1221/Strata#3489
No description provided.