[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
Maintainer thường phản hồi trong vòng 4 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp
- Lĩnh vực
- backend, performance
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 11.6k
- Fork
- 1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Niko1221/Strata
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Niko1221/Strata#7365 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 4 ngày
-
[GUI] Engine chip: move the breathing status dot to the right end of the quant line, inside the chipĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 4 ngày
-
[GUI] The top horizontal stroke of 更 in the sidebar footer is never drawn (Windows, 125% scaling)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Niko1221/Strata#7276 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Niko1221/Strata#7230 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của Niko1221/Strata
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Quantinuum/tket#2282 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
Maintainer thường phản hồi trong vòng 10 ngày
-
Server crashes when a mob dies to poisonCó thể đã có người làm @joelstiller đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
DarkCastleMUD/DarkCastle#305 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Issue]: RAS status report lists the wrong pids for an outlier nodeCó thể đã có người làm @bhargavchintam đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 2 ngày