[GH-ISSUE #5019] [Engine] dsv41: idea, spread routed experts over two NVMe drives (measured +50% decode on gfx1151) #2321

Open
opened 2026-11-04 01:58:25 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @xaler5 on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5019

Idea

When the experts don't fit in RAM, dsv41 decode is bound by SSD reads. A machine with two NVMe drives can read in parallel if each layer's routed experts are spread over both drives, so a token's expert reads hit both drives at once instead of one.

What we measured

Strix Halo (gfx1151, 128 GB UMA), two WD SN850X drives on separate file systems: ~6.4 GB/s and ~6.8 GB/s sequential reads, 13.2 GB/s together. Model: DeepSeek-V4.1-Flash UD-Q2_K_XL, 6 experts, DSpark on, GPU_GB 85, 6 GB RAM store, frozen expert profile.

We tried it locally by copying part of the expert data to the second drive and pointing the pack at it:

Workload (tok/s) One drive Experts over two drives
Chat decode (1.3k prompt) 9.9 14.7
Code decode 10.9 15.4
Prefill, 1.3k prompt 123 161
Decode at 17k context 7.6 9.6
  • Splitting every expert across both drives (part of its roles on each) gave another +7% decode over splitting by whole (layer, role) blocks.
  • Keeping all of an expert's roles on one drive was worse.
  • Scores are identical in every layout: the bytes don't change, only where they live.

Sharing this in case it's worth supporting natively, for example as a pack option for a second data directory. Happy to run tests on this machine.

Originally created by @xaler5 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5019 ### Idea When the experts don't fit in RAM, dsv41 decode is bound by SSD reads. A machine with two NVMe drives can read in parallel if each layer's routed experts are spread over both drives, so a token's expert reads hit both drives at once instead of one. ### What we measured Strix Halo (gfx1151, 128 GB UMA), two WD SN850X drives on separate file systems: ~6.4 GB/s and ~6.8 GB/s sequential reads, 13.2 GB/s together. Model: DeepSeek-V4.1-Flash UD-Q2_K_XL, 6 experts, DSpark on, `GPU_GB` 85, 6 GB RAM store, frozen expert profile. We tried it locally by copying part of the expert data to the second drive and pointing the pack at it: | Workload (tok/s) | One drive | Experts over two drives | |---|---|---| | Chat decode (1.3k prompt) | 9.9 | 14.7 | | Code decode | 10.9 | 15.4 | | Prefill, 1.3k prompt | 123 | 161 | | Decode at 17k context | 7.6 | 9.6 | - Splitting every expert across both drives (part of its roles on each) gave another +7% decode over splitting by whole (layer, role) blocks. - Keeping all of an expert's roles on one drive was worse. - Scores are identical in every layout: the bytes don't change, only where they live. Sharing this in case it's worth supporting natively, for example as a pack option for a second data directory. Happy to run tests on this machine.
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#2321
No description provided.