[GH-ISSUE #2426] Feature request: better aggregate speeds #984

Closed
opened 2026-11-04 01:47:30 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @bkutasi on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2426

I use quite a lot of parallel processing agent workloads (eg memory engine independent of the main agent that processes up to 10+ threads for storage and retrieval), and Starta would be perfect for batching. I know we already have --parallel, but the gains are not as much as in vllm/sglang/exllamav3. Is it possible to reach a higher aggregate speed give if you use a setup that doesn't completely saturate your memory bandwidth?

Originally created by @bkutasi on GitHub (Oct 14, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2426 I use quite a lot of parallel processing agent workloads (eg memory engine independent of the main agent that processes up to 10+ threads for storage and retrieval), and Starta would be perfect for batching. I know we already have --parallel, but the gains are not as much as in vllm/sglang/exllamav3. Is it possible to reach a higher aggregate speed give if you use a setup that doesn't completely saturate your memory bandwidth?
Author
Owner

@qiuzan2001 commented on GitHub (Oct 15, 2026):

The measured answer is in docs/BATCHING.md: the aggregate gain depends on how much of the model sits in VRAM.

  • One 12 GB card (most experts on the CPU): slots buy waiting time, not speed. 4 concurrent requests gave 63.1 tok/s total with "parallel": 4 against 70.7 tok/s one at a time, because a 4-row window reads about 3x as many CPU experts.
  • 4 x 16 GB layer split, --batch 8 --batch-groups 4 --trim-stage-weights: 120 tok/s alone, 205 at 4 requests, 360 at 8.
  • One card with --batch-mtp (Turning it on): RTX PRO 5000 owners measured +31% to +39% total at 2 to 4 clients.

So on a card that holds most experts (or with a layer split), "parallel": N plus --batch-mtp is the setting to try; the Limits section lists what is not batched yet (penalties, admissions one at a time).

<!-- gh-comment-id:6184138121 --> @qiuzan2001 commented on GitHub (Oct 15, 2026): The measured answer is in [docs/BATCHING.md](https://github.com/Niko1221/Strata/blob/main/docs/BATCHING.md#measured): the aggregate gain depends on how much of the model sits in VRAM. - One 12 GB card (most experts on the CPU): slots buy waiting time, not speed. 4 concurrent requests gave 63.1 tok/s total with `"parallel": 4` against 70.7 tok/s one at a time, because a 4-row window reads about 3x as many CPU experts. - 4 x 16 GB layer split, `--batch 8 --batch-groups 4 --trim-stage-weights`: 120 tok/s alone, 205 at 4 requests, 360 at 8. - One card with `--batch-mtp` ([Turning it on](https://github.com/Niko1221/Strata/blob/main/docs/BATCHING.md#turning-it-on)): RTX PRO 5000 owners measured +31% to +39% total at 2 to 4 clients. So on a card that holds most experts (or with a layer split), `"parallel": N` plus `--batch-mtp` is the setting to try; the [Limits](https://github.com/Niko1221/Strata/blob/main/docs/BATCHING.md#limits-for-now) section lists what is not batched yet (penalties, admissions one at a time).
Author
Owner

@bkutasi commented on GitHub (Oct 15, 2026):

Im aware of the gains using splts/more cards, currently batching is limited due to CPU experts being swapped way more times, so the expert fetch is the limit. So with the current setup serving more than 1 client at a time would yield negative results.
What could make this work is a shared kv between parallel reqs and resident experts in vram (but the number of slots would consume quite a lot of vram which goes to waste if only one is used) with continous prefill (like vllm) but thats a completely different path strata is currently on

<!-- gh-comment-id:6189566082 --> @bkutasi commented on GitHub (Oct 15, 2026): Im aware of the gains using splts/more cards, currently batching is limited due to CPU experts being swapped way more times, so the expert fetch is the limit. So with the current setup serving more than 1 client at a time would yield negative results. What could make this work is a shared kv between parallel reqs and resident experts in vram (but the number of slots would consume quite a lot of vram which goes to waste if only one is used) with continous prefill (like vllm) but thats a completely different path strata is currently on
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#984
No description provided.