[PR #4212] [CLOSED] [Benchmark] RTX 4090: Strata 0.2.6 / engine 0.1.51 vs 0.1.48.1 - full test surface, standard protocol, long context, soak #4953

Closed
opened 2026-11-07 16:31:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4212
Author: @Dmitry-B
Created: 10/26/2026
Status: ❌ Closed

Base: main ← Head: bench/2026-10-26-rtx4090-update-check


📝 Commits (1)

  • 8614314 bench: RTX 4090, Qwen3.8-Flash-Next IQ3_XXS - 0.2.6 / engine 0.1.51 audit and standard protocol run

📊 Changes

16 files changed (+4060 additions, -0 deletions)

View changed files

➕ bench/results/2026-10-26-community-rtx4090-update-check/README.md (+304 -0)
➕ bench/results/2026-10-26-community-rtx4090-update-check/ab-long-context.json (+72 -0)
➕ bench/results/2026-10-26-community-rtx4090-update-check/config.json (+92 -0)
➕ bench/results/2026-10-26-community-rtx4090-update-check/env.json (+35 -0)
➕ bench/results/2026-10-26-community-rtx4090-update-check/live-model.json (+67 -0)
➕ bench/results/2026-10-26-community-rtx4090-update-check/needles.json (+83 -0)
➕ bench/results/2026-10-26-community-rtx4090-update-check/soak-load.py (+167 -0)
➕ bench/results/2026-10-26-community-rtx4090-update-check/soak.json (+71 -0)
➕ bench/results/2026-10-26-community-rtx4090-update-check/tests.json (+929 -0)
➕ bench/results/2026-10-26-standard-rtx-4090-e154a04b/README.md (+74 -0)
➕ bench/results/2026-10-26-standard-rtx-4090-e154a04b/config.json (+13 -0)
➕ bench/results/2026-10-26-standard-rtx-4090-e154a04b/outputs.jsonl (+22 -0)
➕ bench/results/2026-10-26-standard-rtx-4090-e154a04b/provenance/chat_template.jinja (+184 -0)
➕ bench/results/2026-10-26-standard-rtx-4090-e154a04b/provenance/corpus-build.json (+206 -0)
➕ bench/results/2026-10-26-standard-rtx-4090-e154a04b/provenance/corpus-manifest.sha256 (+35 -0)
➕ bench/results/2026-10-26-standard-rtx-4090-e154a04b/results.json (+1706 -0)

📄 Description

Problem and result

This PR adds two result folders from one check cycle on one machine: the full update audit
(bench/results/2026-10-26-community-rtx4090-update-check/) and the standard-protocol run written by
strata bench run (bench/results/2026-10-26-standard-rtx-4090-e154a04b/).

Measured the whole 0.2.6 / engine 0.1.51 release on one machine (RTX 4090 24 GB, Ryzen 9 7950X, 46 GB
RAM, Ubuntu 26.04.1, CUDA 13.4, source build for sm_89) against the previous 0.2.3.1 / engine 0.1.48.1
on the same machine, model and configuration (Qwen3.8-Flash-Next IQ3_XXS, 204800-token context,
--resident-experts, --spec 4, --kv int8). The report and all raw data are added as
bench/results/2026-10-26-community-rtx4090-update-check/.

Result: no regression found.

  • 5673 code tests across all six upstream groups: 86 not-passing, and nothing new in src/ or serve/;
    the new failures are test/documentation and test/behaviour desynchronisation in the installer tests.
  • The eight live-model correctness scripts from docs/BATCHING.md / docs/TEST_REQUESTS.md: 7 PASS. The
    eighth, batch_groups_cache_test, prints FAIL while the behaviour it guards is met - see issue 4.
  • strata doctor --live and strata connect pi|claude-code|codex --check: all clean.
  • Repository benchmark corpus A/B, alternating pairs (old,new | new,old): prompt throughput and TTFT
    unchanged within ±0.2 % from 4K to 191K tokens; decode differences point in opposite directions on the
    same pair of builds, so they are read as noise (agent_turns_bench puts the whole-session decode
    difference at ×1.017 with a 0.88-1.18 per-turn spread).
  • Long context up to 191428 tokens: prompt rate 3.47-3.55 k tok/s, TTFT changed by 0.0-0.1 %.
  • Recall: 9/9 needles at 32K, 128K and 190K across depths 10/50/90.
  • Soak, 75 minutes of continuous load, 267 requests: 0 errors, 0 dropped streams, 0 engine restarts,
    no TTFT drift (short 22.16 -> 22.20 s), RAM/VRAM stable.
  • Prompt chunk auto-tuning is identical in both engines (8192 tokens, a 96-slot ring), so the comparison
    is not confounded by segmentation.

The protocol run itself: status complete, 21 of 21 required requests, 12 of 12 sanity checks passed
(instruction 4/4, retrieval 4/4, tool calls 4/4) - that is the pilot data for
strata-qwen38-thinking-v1-draft.1 on this hardware, so its results.json, outputs.jsonl and
provenance are kept as the tool wrote them.

Two findings are filed as separate issues (wide-ISA guard, and the test's own log parser).

#3323 and #3324 were my previous reports on this machine (0.1.45 / 0.1.45.3 A/B, and the file-tier
result for #149). #3325, #3326 and #3327 are the test issues I filed earlier; the 48 failures of
tools.test_setup_golden in this run are the already-reported #3325, unchanged.

Why one pull request

Both folders come from one check cycle on one machine and one configuration: the audit answers
"did the update regress anything", and the protocol run is the same cycle's standard data, labelled with
the draft protocol ID strata-qwen38-thinking-v1-draft.1 as BENCHMARK_PROTOCOL.md asks during the draft
phase. They are kept in two folders so that the protocol artifacts stay exactly as the tool wrote them
(results.json, outputs.jsonl, provenance/) and can be checked by hash, while the audit folder holds
our own measurements and scripts. The two test defects found on the way are filed as separate issues, so
nothing but measurement files is proposed here.

Approach

One group at a time with the upstream runners: ctest from a separate build-tests tree configured with
-DSTRATA_BUILD_TESTS=ON (an update builds with it OFF, so the engine test binaries do not exist after
setup.py --update) and with the service stopped, then serve/, tools/, tests/terminal,
npm test in apps/host, and the remaining Python suites; every new failure reproduced in a clean
git worktree at tag v0.2.6. Speed A/B by swapping engine/strata between the two builds and
restarting the service, pairs in alternating order, with the installed binary restored afterwards. Extra
prompt lengths (65K-196K) were appended after the standard sequence of the same arm, so the standard part
stays comparable; they are marked in the report as a local extension.

Validation

Passed:

  • engine C++/CUDA: ctest --test-dir build-tests with the service stopped - 152 passed, 4 failed,
    3 skipped; native_expert_parity <our GGUF>, iq_avx2_parity, iq_avx1_parity,
    iq512_gather_parity, iq_parity, iq_multi_parity, expert_layout_test and
    pool_test --file <pack>/experts.bin all pass;
  • python -m unittest serve/test_*.py - 1023 tests, 1 racy failure;
  • python -m unittest tools/test_*.py - 1234 tests, 58 failures, all classified;
  • python -m pytest tests/terminal - 1794 tests, 21 failures; npm test in apps/host - 1119 tests,
    2 failures; tests/tuning 272, tests/time_skip 34, tests/sycl 5 pass;
  • tools/{batch,batch_interleave,parking,cancel_park,session_pressure,early_close,stop_resend}_test.py
    with STRATA_EXTRA_ARGS="--adapt-every 1000000" - all PASS;
  • strata bench run --url http://127.0.0.1:8080 - complete, 21/21 required requests, 12/12 sanity;
  • tools/strata_bench.py --runs 3 --long on both engines in alternating pairs, and
    tools/needle_bench.py --lengths 32k,128k,190k --depths 10,50,90 - 9/9;
  • tools/agent_turns_bench.py strata-<config>.json base old:exe=<previous binary> --rounds 2;
  • strata doctor --live --profile …, strata connect pi|claude-code|codex --check,
    tools/strata_inspect.py.

Failed (all classified in the report): isa_guard_check (filed as issue 3), batch_groups_cache_test
(issue 4), tools.test_setup_amd and tools.test_setup_dsv41 (4 cases) - both reproduce in a clean
worktree at v0.2.6, serve.test_keepawake (racy, passes on retry), and 21 tests/terminal failures
which also reproduce in a clean worktree.

Not run: serve/test_winjob.py (Windows), serve/test_lifecycle.py (needs the service stopped, was not
scheduled), expert_parity and ple_parity (need Q2_0 artifacts this machine does not have),
opt-out runs of the new 0.2.4-0.2.6 defaults, the --clients stage of the standard protocol, and the
docs/TEST_REQUESTS.md items that need other hardware.

Measured on Strata v0.2.6, commit 4b9e05a2a806a3fe24f7b2560d98626c37dade35, engine 0.1.51 built
from source on this machine (BUILD.json → "source": "local", archs [89]); the compared baseline is
engine 0.1.48.1 (33c9b8074f820080175679ce524d435e), built the same way.

Limits

One machine, one model, one quantization, one configuration. The noise band was not measured with a
separate control run of the same binary - that is the weakest point of this report; it is bounded instead
by the fact that the two decode measurements disagree in sign and that per-turn spread is ±12-18 %, so
anything below a few percent in the decode column is reported as "no measured change". The prompt and
TTFT columns are stable to ±0.2 % across four arms and are trusted at the 0.5 % level. Model and source
revisions are null in the protocol artifacts (a local fine-tune). The 65K-196K rows use our own prompt
generator and are explicitly a local extension, not comparable with other reports.



🔄 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/4212 **Author:** [@Dmitry-B](https://github.com/Dmitry-B) **Created:** 10/26/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bench/2026-10-26-rtx4090-update-check` --- ### 📝 Commits (1) - [`8614314`](https://github.com/Niko1221/Strata/commit/86143144e062be9add85e28d791d1eeb5ce8bd4e) bench: RTX 4090, Qwen3.8-Flash-Next IQ3_XXS - 0.2.6 / engine 0.1.51 audit and standard protocol run ### 📊 Changes **16 files changed** (+4060 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-10-26-community-rtx4090-update-check/README.md` (+304 -0) ➕ `bench/results/2026-10-26-community-rtx4090-update-check/ab-long-context.json` (+72 -0) ➕ `bench/results/2026-10-26-community-rtx4090-update-check/config.json` (+92 -0) ➕ `bench/results/2026-10-26-community-rtx4090-update-check/env.json` (+35 -0) ➕ `bench/results/2026-10-26-community-rtx4090-update-check/live-model.json` (+67 -0) ➕ `bench/results/2026-10-26-community-rtx4090-update-check/needles.json` (+83 -0) ➕ `bench/results/2026-10-26-community-rtx4090-update-check/soak-load.py` (+167 -0) ➕ `bench/results/2026-10-26-community-rtx4090-update-check/soak.json` (+71 -0) ➕ `bench/results/2026-10-26-community-rtx4090-update-check/tests.json` (+929 -0) ➕ `bench/results/2026-10-26-standard-rtx-4090-e154a04b/README.md` (+74 -0) ➕ `bench/results/2026-10-26-standard-rtx-4090-e154a04b/config.json` (+13 -0) ➕ `bench/results/2026-10-26-standard-rtx-4090-e154a04b/outputs.jsonl` (+22 -0) ➕ `bench/results/2026-10-26-standard-rtx-4090-e154a04b/provenance/chat_template.jinja` (+184 -0) ➕ `bench/results/2026-10-26-standard-rtx-4090-e154a04b/provenance/corpus-build.json` (+206 -0) ➕ `bench/results/2026-10-26-standard-rtx-4090-e154a04b/provenance/corpus-manifest.sha256` (+35 -0) ➕ `bench/results/2026-10-26-standard-rtx-4090-e154a04b/results.json` (+1706 -0) </details> ### 📄 Description ## Problem and result This PR adds two result folders from one check cycle on one machine: the full update audit (`bench/results/2026-10-26-community-rtx4090-update-check/`) and the standard-protocol run written by `strata bench run` (`bench/results/2026-10-26-standard-rtx-4090-e154a04b/`). Measured the whole 0.2.6 / engine 0.1.51 release on one machine (RTX 4090 24 GB, Ryzen 9 7950X, 46 GB RAM, Ubuntu 26.04.1, CUDA 13.4, source build for `sm_89`) against the previous 0.2.3.1 / engine 0.1.48.1 on the same machine, model and configuration (`Qwen3.8-Flash-Next IQ3_XXS`, 204800-token context, `--resident-experts`, `--spec 4`, `--kv int8`). The report and all raw data are added as `bench/results/2026-10-26-community-rtx4090-update-check/`. Result: **no regression found.** - 5673 code tests across all six upstream groups: 86 not-passing, and nothing new in `src/` or `serve/`; the new failures are test/documentation and test/behaviour desynchronisation in the installer tests. - The eight live-model correctness scripts from `docs/BATCHING.md` / `docs/TEST_REQUESTS.md`: 7 PASS. The eighth, `batch_groups_cache_test`, prints FAIL while the behaviour it guards is met - see issue 4. - `strata doctor --live` and `strata connect pi|claude-code|codex --check`: all clean. - Repository benchmark corpus A/B, alternating pairs (`old,new | new,old`): prompt throughput and TTFT unchanged within ±0.2 % from 4K to 191K tokens; decode differences point in opposite directions on the same pair of builds, so they are read as noise (`agent_turns_bench` puts the whole-session decode difference at ×1.017 with a 0.88-1.18 per-turn spread). - Long context up to 191428 tokens: prompt rate 3.47-3.55 k tok/s, TTFT changed by 0.0-0.1 %. - Recall: 9/9 needles at 32K, 128K and 190K across depths 10/50/90. - Soak, 75 minutes of continuous load, 267 requests: 0 errors, 0 dropped streams, 0 engine restarts, no TTFT drift (short 22.16 -> 22.20 s), RAM/VRAM stable. - Prompt chunk auto-tuning is identical in both engines (8192 tokens, a 96-slot ring), so the comparison is not confounded by segmentation. The protocol run itself: status complete, 21 of 21 required requests, 12 of 12 sanity checks passed (instruction 4/4, retrieval 4/4, tool calls 4/4) - that is the pilot data for `strata-qwen38-thinking-v1-draft.1` on this hardware, so its `results.json`, `outputs.jsonl` and provenance are kept as the tool wrote them. Two findings are filed as separate issues (wide-ISA guard, and the test's own log parser). ## Related discussion #3323 and #3324 were my previous reports on this machine (0.1.45 / 0.1.45.3 A/B, and the file-tier result for #149). #3325, #3326 and #3327 are the test issues I filed earlier; the 48 failures of `tools.test_setup_golden` in this run are the already-reported #3325, unchanged. ## Why one pull request Both folders come from one check cycle on one machine and one configuration: the audit answers "did the update regress anything", and the protocol run is the same cycle's standard data, labelled with the draft protocol ID `strata-qwen38-thinking-v1-draft.1` as `BENCHMARK_PROTOCOL.md` asks during the draft phase. They are kept in two folders so that the protocol artifacts stay exactly as the tool wrote them (`results.json`, `outputs.jsonl`, `provenance/`) and can be checked by hash, while the audit folder holds our own measurements and scripts. The two test defects found on the way are filed as separate issues, so nothing but measurement files is proposed here. ## Approach One group at a time with the upstream runners: `ctest` from a separate `build-tests` tree configured with `-DSTRATA_BUILD_TESTS=ON` (an update builds with it OFF, so the engine test binaries do not exist after `setup.py --update`) and with the service stopped, then `serve/`, `tools/`, `tests/terminal`, `npm test` in `apps/host`, and the remaining Python suites; every new failure reproduced in a clean `git worktree` at tag `v0.2.6`. Speed A/B by swapping `engine/strata` between the two builds and restarting the service, pairs in alternating order, with the installed binary restored afterwards. Extra prompt lengths (65K-196K) were appended after the standard sequence of the same arm, so the standard part stays comparable; they are marked in the report as a local extension. ## Validation Passed: - engine C++/CUDA: `ctest --test-dir build-tests` with the service stopped - 152 passed, 4 failed, 3 skipped; `native_expert_parity <our GGUF>`, `iq_avx2_parity`, `iq_avx1_parity`, `iq512_gather_parity`, `iq_parity`, `iq_multi_parity`, `expert_layout_test` and `pool_test --file <pack>/experts.bin` all pass; - `python -m unittest serve/test_*.py` - 1023 tests, 1 racy failure; - `python -m unittest tools/test_*.py` - 1234 tests, 58 failures, all classified; - `python -m pytest tests/terminal` - 1794 tests, 21 failures; `npm test` in `apps/host` - 1119 tests, 2 failures; `tests/tuning` 272, `tests/time_skip` 34, `tests/sycl` 5 pass; - `tools/{batch,batch_interleave,parking,cancel_park,session_pressure,early_close,stop_resend}_test.py` with `STRATA_EXTRA_ARGS="--adapt-every 1000000"` - all PASS; - `strata bench run --url http://127.0.0.1:8080` - complete, 21/21 required requests, 12/12 sanity; - `tools/strata_bench.py --runs 3 --long` on both engines in alternating pairs, and `tools/needle_bench.py --lengths 32k,128k,190k --depths 10,50,90` - 9/9; - `tools/agent_turns_bench.py strata-<config>.json base old:exe=<previous binary> --rounds 2`; - `strata doctor --live --profile …`, `strata connect pi|claude-code|codex --check`, `tools/strata_inspect.py`. Failed (all classified in the report): `isa_guard_check` (filed as issue 3), `batch_groups_cache_test` (issue 4), `tools.test_setup_amd` and `tools.test_setup_dsv41` (4 cases) - both reproduce in a clean worktree at `v0.2.6`, `serve.test_keepawake` (racy, passes on retry), and 21 `tests/terminal` failures which also reproduce in a clean worktree. Not run: `serve/test_winjob.py` (Windows), `serve/test_lifecycle.py` (needs the service stopped, was not scheduled), `expert_parity` and `ple_parity` (need Q2_0 artifacts this machine does not have), opt-out runs of the new 0.2.4-0.2.6 defaults, the `--clients` stage of the standard protocol, and the `docs/TEST_REQUESTS.md` items that need other hardware. Measured on Strata `v0.2.6`, commit `4b9e05a2a806a3fe24f7b2560d98626c37dade35`, engine 0.1.51 built from source on this machine (`BUILD.json` → `"source": "local"`, archs `[89]`); the compared baseline is engine 0.1.48.1 (`33c9b8074f820080175679ce524d435e`), built the same way. ## Limits One machine, one model, one quantization, one configuration. The noise band was not measured with a separate control run of the same binary - that is the weakest point of this report; it is bounded instead by the fact that the two decode measurements disagree in sign and that per-turn spread is ±12-18 %, so anything below a few percent in the decode column is reported as "no measured change". The prompt and TTFT columns are stable to ±0.2 % across four arms and are trusted at the 0.5 % level. Model and source revisions are `null` in the protocol artifacts (a local fine-tune). The 65K-196K rows use our own prompt generator and are explicitly a local extension, not comparable with other reports. --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:31:35 +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#4953
No description provided.