[Benchmark] RTX 3090 24 GB (sm_86), Windows + CUDA 13: 0.1.66 decodes 4-5 % slower than 0.1.62 and gives up 358 resident expert slots
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp
- 領域
- backend, performance
調査の方向性
Start by comparing the engine 0.1.62 and 0.1.66 startup logs and planner output for expert cache reservation and actual allocation; the report says the raw run files are available locally but does not identify repository files or tests. Then trace the cache sizing and reservation entry points and reproduce the RTX 3090 measurements. Done means explaining or correcting the reduced cache allocation and planner estimate while checking decode performance.
索引モデルが issue の本文から書いたものです。
説明
Area
[Benchmark] - measured numbers on one specific machine
Desktop app, Terminal or source?
Terminal (strata / serve/server.py)
What happened
The 24 GB case is missing from the tracker: #7106 is a 12 GB 3080 Ti, #6976 is a 4090 on Linux, and the sm_86 reports so far are all crash reports. This is a four-arm interleaved speed comparison of 0.1.62 vs 0.1.66 on the same box, same pack, same config.
Engine 0.1.66 is 4-5 % slower on decode and has no prefill gain. The startup lines show why: it reserves more after the expert cache and more of the card was already gone before it started — together 0.82 GiB less cache, which on 24 GB costs 358 resident expert slots.
Environment
| GPU | RTX 3090 24 GB (sm_86), driver 610.88 |
| OS / backend | Windows 11, CUDA 13 engine packages |
| CPU / RAM | i5-12600KF / 128 GB DDR4 |
| Model | Qwen3.8-Flash-Next Unsloth UD-IQ4_XS v31, iq_pack.py --compat-bf16 |
| Flags | --max-context 262144 --kv int8 --kv-resident 20480 --parallel 1, STRATA_ROUTE_TAIL_SKIP=5 |
| Engines | 0.1.62 (build 1d295787b365) vs 0.1.66 (build 2e87c08db18a) |
--max-context 262144 is what both arms ran; this deployment runs 393216 today, so nothing here is specific to 256K.
The 0.1.66 arm ran with STRATA_HC_Q8=0. Without it every request dies at the first verify window (layer 0 never rang) - the auto-enabled Q8_0 hyper-connection path of #6713 / #6714, which UD-* packs hit. Ten variants of that failure were checked separately (kv-resident, adapt-async, reserve, context, device-hits, SM86_PERF, HC_SPLIT, HC_Q8_TC): all ten reproduce, so it is not a knob.
Method
Four arms interleaved A-B-A-B, two rounds per arm, conv_cache: false in every run, identical run config except engine\, engine stopped between arms, both on port 8097.
- 4K cell: n = 10 per arm
- 16K cell: n = 4 per arm
- Single-run decode spread is 91-128 tok/s, so a single run cannot resolve 4 % - hence the interleave and two rounds.
Prefill (tok/s, median)
| Cell | 0.1.62 r1 | 0.1.66 r1 | 0.1.62 r2 | 0.1.66 r2 | Mean delta |
|---|---|---|---|---|---|
| 4K | 1787.0 | 1763.2 | 1794.4 | 1755.0 | -1.8 % |
| 16K | 2700.0 | 2882.7 | 2974.6 | 3153.4 | +6.4 % (arm-to-arm spread is itself +/-10 %, so: noise) |
Decode (tok/s, median)
| Cell | 0.1.62 r1 | 0.1.66 r1 | 0.1.62 r2 | 0.1.66 r2 | Mean delta |
|---|---|---|---|---|---|
| 4K | 117.7 | 107.8 | 113.2 | 111.5 | -5.0 % |
| 16K | 103.2 | 103.2 | 123.9 | 114.1 | -4.3 % |
Both rounds and both cells point the same way: decode is lower, prefill is not better.
Expert cache - two inputs moved, not one
| 0.1.62 | 0.1.66 | |
|---|---|---|
| Free VRAM at start | 16.70 GiB | 16.12 GiB (-0.58) |
| Reserved, +draft | +220 MiB | +220 MiB |
| Reserved, after cache | +256 MiB | +384 MiB (+128) |
| Planner's printed estimate | 5,563 slots | 6,186 slots |
| Actual allocation | 6,508 slots, 14.85 GiB | 6,150 slots, 14.03 GiB |
prompt chunk auto |
32768 tokens, 512-slot ring | 32768 tokens, 512-slot ring |
| Load time | 25.2 s | 25.2 s |
0.1.66 had 0.82 GiB less for the expert cache in total - 358 slots at ~2.3 MiB. Decode on a MoE model is expert-cache hit-rate bound, so a 5.5 % smaller cache yielding a 4-5 % slower decode is the expected direction, not a coincidence. Same direction as #7106 (12 GB 3080 Ti: 2363 -> 2087 slots, -32 % decode) and #6976 (4090, same UD-IQ4_XS-v31: 6615 -> 5973 slots). On 24 GB the loss is smaller than on 12 GB but it does not disappear.
Two things are worth a look. The reserve step (256 -> 384 MiB) accounts for only 128 MiB of the 0.82 GiB; the other 0.58 GiB was less free VRAM at start on the same boot sequence, which I did not isolate. And the planner's estimate moved the opposite way (5,563 -> 6,186) while the actual allocation moved down (6,508 -> 6,150), so the printed estimate is not what the allocation follows.
Why 0.1.67 is not in this table
0.1.67 could not be measured here. On Windows + CUDA 13 it matches #7131 exactly: 1K and 8K prompts pass, long prompts die with 0xC0000005. This deployment runs 384K context and lives on 64K+ prompts, so an A/B on 0.1.67 would only produce crashes. A Linux 0.1.67 run with the same four-arm interleave on a 24 GB sm_86 card would close the gap - that data point does not exist in the tracker.
Reproduction status
Reproduced locally (2026-11-23), re-analysed from the stored run files (2026-11-25). Nothing was re-run for this report.
Strata version
0.2.1 / engine 0.1.62 vs 0.2.20 / engine 0.1.66. Not affected by 0.1.67 yet (see above).
Raw data
Four files per arm per round (cfg-*.json, result-*.json, serve-*.log, stdout-*.log), kept locally; every number above is a median over the per-cell samples listed under Method. The result files carry engine_version, build_id, conv_cache and load_s per arm, so the pairing is checkable. Happy to attach either round's json if that helps.
Suggestion
Size the post-cache reserve from the card instead of a flat 384 MiB (or keep the 256 MiB 0.1.62 used), and make the planner's printed estimate agree with the allocation it actually makes - between 0.1.62 and 0.1.66 the two move in opposite directions. Until then 0.1.62 remains the fastest engine for this configuration.
- 主要言語
- C++
- スター
- 11.6k
- フォーク
- 1k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Niko1221/Strata のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Niko1221/Strata#7365 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 4 日以内に返信
-
[GUI] Engine chip: move the breathing status dot to the right end of the quant line, inside the chipオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 4 日以内に返信
-
[GUI] The top horizontal stroke of 更 in the sidebar footer is never drawn (Windows, 125% scaling)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Niko1221/Strata#7276 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Niko1221/Strata#7230 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
Niko1221/Strata の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Quantinuum/tket#2282 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
メンテナーはふだん 10 日以内に返信
-
Server crashes when a mob dies to poison対応中かも @joelstiller が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DarkCastleMUD/DarkCastle#305 ·
メンテナーはふだん 1 日以内に返信
-
[Issue]: RAS status report lists the wrong pids for an outlier node対応中かも @bhargavchintam が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信