[GH-ISSUE #4655] [Other] pcie_frac=0.55 at 106K context on 3090/64GB: expert cache sizing question #2113

Open
opened 2026-11-04 01:56:48 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @l473n79c618e on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4655

Area

Engine — expert cache sizing / PCIe traffic. Data point and sizing question, not a bug report.

Desktop app, Terminal or source?

Terminal (managed runtime; values read from the live instance over HTTP).

What happened

This is a working system, not a failure report. Question: is --expert-cache auto optimal for a 24GB card with a 48GB expert arena? 55 percent of expert traffic crosses PCIe. A --expert-cache N (explicit count) flag would allow tuning for specific context length and KV format.

Smallest steps or command that reproduce it

GET http://127.0.0.1:8080/metrics on the live instance.

Reproduction status

Measured from a live Strata instance; pcie_frac 0.55 stable across 3 samples, 3s apart.

Strata version

Engine 0.1.50, control 0.1.51, app 0.2.6.

Graphics card, memory and system

RTX 3090 24GB, 64GB DDR5 CL26, Ryzen 7 7800X3D, CachyOS, kernel 7.3.0-5-cachyos.

Model, size and settings

Qwen3.8-Flash-Next IQ3_S GGUF, 128K context. Profile: --expert-cache auto, --kv int8, --kv-resident 32768.

Logs

From GET 127.0.0.1:8080/metrics:
pcie_frac: 0.55 (stable across 3 samples, 3s apart).
expert_slots: 6401. expert_cache_mib: 12440 (12.16 GiB VRAM).
Decode: 73-96 tok/s at 103-106K context. MTP active, draft_n=6, 50 percent acceptance.
Expert RAM: 46.84 GiB at 6.31-6.50 GiB/s load rate.

Originally created by @l473n79c618e on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4655 ### Area Engine — expert cache sizing / PCIe traffic. Data point and sizing question, not a bug report. ### Desktop app, Terminal or source? Terminal (managed runtime; values read from the live instance over HTTP). ### What happened This is a working system, not a failure report. Question: is --expert-cache auto optimal for a 24GB card with a 48GB expert arena? 55 percent of expert traffic crosses PCIe. A --expert-cache N (explicit count) flag would allow tuning for specific context length and KV format. ### Smallest steps or command that reproduce it GET http://127.0.0.1:8080/metrics on the live instance. ### Reproduction status Measured from a live Strata instance; pcie_frac 0.55 stable across 3 samples, 3s apart. ### Strata version Engine 0.1.50, control 0.1.51, app 0.2.6. ### Graphics card, memory and system RTX 3090 24GB, 64GB DDR5 CL26, Ryzen 7 7800X3D, CachyOS, kernel 7.3.0-5-cachyos. ### Model, size and settings Qwen3.8-Flash-Next IQ3_S GGUF, 128K context. Profile: --expert-cache auto, --kv int8, --kv-resident 32768. ### Logs From GET 127.0.0.1:8080/metrics: pcie_frac: 0.55 (stable across 3 samples, 3s apart). expert_slots: 6401. expert_cache_mib: 12440 (12.16 GiB VRAM). Decode: 73-96 tok/s at 103-106K context. MTP active, draft_n=6, 50 percent acceptance. Expert RAM: 46.84 GiB at 6.31-6.50 GiB/s load rate.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 30, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6512010976 --> @github-actions[bot] commented on GitHub (Oct 30, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 30, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6512029175 --> @github-actions[bot] commented on GitHub (Oct 30, 2026): Thanks, this follows the format now.
Author
Owner

@Niko1221 commented on GitHub (Oct 31, 2026):

This looks normal. Your 6,401 slots hold about a quarter of the experts, and the int8 KV cache takes VRAM too, so more than half of the expert lookups need the host. Automatic sizing gives the cache what is free after the model, the KV cache and the reserve. To get more cache you can lower --kv-resident or --vram-reserve-mib, or set --expert-cache N yourself; a bigger cache lowers the PCIe share. We did not find a sizing mistake.

<!-- gh-comment-id:6547915649 --> @Niko1221 commented on GitHub (Oct 31, 2026): This looks normal. Your 6,401 slots hold about a quarter of the experts, and the int8 KV cache takes VRAM too, so more than half of the expert lookups need the host. Automatic sizing gives the cache what is free after the model, the KV cache and the reserve. To get more cache you can lower `--kv-resident` or `--vram-reserve-mib`, or set `--expert-cache N` yourself; a bigger cache lowers the PCIe share. We did not find a sizing mistake.
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#2113
No description provided.