mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #127] Sharing a multi-GPU serving experiment: independent GPU lanes with a shared host expert arena #64
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rhgo1749 on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/127
Hi, I’ve been experimenting with a multi-GPU serving setup built around Strata.
Strata’s single-GPU engine was already very fast, so instead of changing the numerical path or splitting one request across GPUs, I tried keeping each Strata engine independent and parallelizing at the request/session level.
The basic layout is:
MAP_SHAREDbacking;This has worked surprisingly well on my 3 × RTX 5070 Ti 16 GB machine.
With Qwen3.8-Flash-Next IQ3_XXS and 262K context configured per lane, my current reference result is:
The 237.3 tok/s figure is only the sum of the three engine-reported lane TG values, not a synchronized wall-clock aggregate benchmark.
One thing I like about this structure is that a slower GPU only affects the request assigned to that lane instead of forcing every other GPU to synchronize with it. It also makes mixed-GPU setups fairly natural as long as each GPU can run one usable Strata lane.
I’m not necessarily suggesting that this exact implementation should be merged upstream. I mainly wanted to share the architecture and measurements because request-level parallelism seems to fit Strata particularly well without disturbing its very fast single-GPU path.
Implementation fork:
https://github.com/rhgo1749/Strata
Reproducible recipe / measurements:
https://github.com/rhgo1749/qwen3.8-flash-next-strata-gpu-per-lane-recipe
I’d be interested to hear what you think about this direction for multi-GPU serving.
@Niko1221 commented on GitHub (Sep 29, 2026):
Thanks for sharing this @rhgo1749 - a clean design, and the numbers are impressive. It is the natural way to use several GPUs for several independent requests: one engine per card, one shared read-only expert arena (the biggest memory cost), nothing synchronized between cards, and a slow card only slows its own requests. 0.1.22's layer split answers the other question (one request faster, or a model whose experts don't fit one card), so the two are complementary. Upstream, the pieces I'd consider are the shared arena (MAP_SHARED on Linux; a named file mapping would be the Windows counterpart) and a small request router in the server; I don't plan it for the next releases, but if you'd like to propose the shared-arena part as a PR against main, I'd review it. Keeping this open as a reference.
@rhgo1749 commented on GitHub (Sep 29, 2026):
Thanks — that matches exactly how I was thinking about the two modes: layer split for scaling a single request, and independent lanes for scaling concurrent requests.
I’ve opened #129 with just the shared-arena primitive, based on current main. I kept the router/supervisor out of scope and made the existing anonymous arena path unchanged unless the shared backing is explicitly requested.
For now it implements the Linux MAP_SHARED side only, with the backing kept explicit so a Windows named-file-mapping implementation can fit the same contract later.
Thanks for offering to review it.
@Niko1221 commented on GitHub (Sep 30, 2026):
Thanks! The shared-arena piece continues in #129, so closing this as a reference.