[GH-ISSUE #2052] Default multi-GPU recommendation not ideal for asymmetrical GPUs #819

Closed
opened 2026-11-04 01:46:11 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @MaKla89 on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2052

While really providing superior inference speed, the default recommended settings for dual-GPU systems was of (by quite a bit) in my case. So I guess, the recommendation flag should either be simply removed or be explained a bit more detailed.

Details: I run a setup with Ryzen 7 9800X3D, 128 GB DDR5 (6000) , 1 x GeForce 4080 (16 GB) and 1 x GeForce 3060 (12 GB), both GPUs at PCIe 4.0 x8. During the setup process of Strata, I'm being told to use both GPUs as the recommended setting. Yet, processing drops from roughly 1000 tps to rather 250-300tps and decode drops from 70 tps to roughly 40-45 tps when using both GPUs, compared to using the 4080 only.

I've tried several other settings (using the 3060 as expert-cache only, etc.), but the significantly best choice still is NOT to use the second GPU.

I guess the setup-recommendation only holds true for symmetrical / identical multi-GPU setups? If that is the case, I'd simply add this detail to the recommendation-explanation in setup. If the second GPU even in asymmetrical should gain speed, I'd need some help for correct setup / config :)

Originally created by @MaKla89 on GitHub (Oct 12, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2052 While really providing superior inference speed, the default recommended settings for dual-GPU systems was of (by quite a bit) in my case. So I guess, the recommendation flag should either be simply removed or be explained a bit more detailed. Details: I run a setup with Ryzen 7 9800X3D, 128 GB DDR5 (6000) , 1 x GeForce 4080 (16 GB) and 1 x GeForce 3060 (12 GB), both GPUs at PCIe 4.0 x8. During the setup process of Strata, I'm being told to use both GPUs as the recommended setting. Yet, processing drops from roughly 1000 tps to rather 250-300tps and decode drops from 70 tps to roughly 40-45 tps when using both GPUs, compared to using the 4080 only. I've tried several other settings (using the 3060 as expert-cache only, etc.), but the significantly best choice still is NOT to use the second GPU. I guess the setup-recommendation only holds true for symmetrical / identical multi-GPU setups? If that is the case, I'd simply add this detail to the recommendation-explanation in setup. If the second GPU even in asymmetrical should gain speed, I'd need some help for correct setup / config :)
Author
Owner

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

Thank you for measuring this, it is exactly the case the text is wrong about. The recommendation ("both GPUs") comes from setup treating any two supported cards as a pair, and the sentence about about 20% faster prompts was measured on two cards of similar speed. Only a small second card is excluded today (under 12 GB, #448). A 4080 beside a 3060 is not small enough to trigger that, but the 3060 has about half the memory bandwidth and far fewer multiprocessors, and in a layer split every token waits for the slow stage, so a drop like yours (1000 to 250-300 tok/s prompts, 70 to 40-45 decode) is plausible and is not something a setting of yours caused. Using the 4080 alone is right for your PC: START-HERE.bat --gpu 0 (or ./setup.sh --gpu 0; use the number nvidia-smi gives the 4080), or set "gpu": 0 in your strata config.

What we will do: make setup recommend the faster card alone when the second card is much slower (by multiprocessors times clock, the same score the layer order already uses), still offering both, and say in the text that the gain is for comparable cards. We want a threshold from measurements rather than a guess, so if you can run --gpus 0,1 with --layer-split giving the 3060 fewer layers (docs/MULTI_GPU.md, "layer_split": "<first layer of the second card>", for example a later split point so the 3060 gets only a few layers), and tell us whether any split beats the 4080 alone, that is the data point we are missing. Leaving this open until the setup text and rule are changed.

<!-- gh-comment-id:6129337925 --> @Niko1221 commented on GitHub (Oct 12, 2026): Thank you for measuring this, it is exactly the case the text is wrong about. The recommendation ("both GPUs") comes from setup treating any two supported cards as a pair, and the sentence about about 20% faster prompts was measured on two cards of similar speed. Only a small second card is excluded today (under 12 GB, #448). A 4080 beside a 3060 is not small enough to trigger that, but the 3060 has about half the memory bandwidth and far fewer multiprocessors, and in a layer split every token waits for the slow stage, so a drop like yours (1000 to 250-300 tok/s prompts, 70 to 40-45 decode) is plausible and is not something a setting of yours caused. Using the 4080 alone is right for your PC: `START-HERE.bat --gpu 0` (or `./setup.sh --gpu 0`; use the number `nvidia-smi` gives the 4080), or set `"gpu": 0` in your strata config. What we will do: make setup recommend the faster card alone when the second card is much slower (by multiprocessors times clock, the same score the layer order already uses), still offering both, and say in the text that the gain is for comparable cards. We want a threshold from measurements rather than a guess, so if you can run `--gpus 0,1` with `--layer-split` giving the 3060 fewer layers (docs/MULTI_GPU.md, `"layer_split": "<first layer of the second card>"`, for example a later split point so the 3060 gets only a few layers), and tell us whether any split beats the 4080 alone, that is the data point we are missing. Leaving this open until the setup text and rule are changed.
Author
Owner

@MarsLuay commented on GitHub (Oct 13, 2026):

I ran a closely related Windows/CUDA 12 experiment on an RTX 3080 Ti 12 GB + Tesla V100-PCIE-32GB pair with Qwen3.8 Flash Next IQ3_S (48 layers, 131072 context, INT8 KV, MTP). The V100 required the experimental CUDA 12 engine.

Two cold, streamed ~10K-token prompts per arm (temperature 0, max 128 output tokens) produced:

setup prompt tok/s decode tok/s TTFT HTTP time
RTX 3080 Ti only (CUDA 13) 433.5 28.4 23.3 s 27.8 s
dual, layer_split auto (auto selected K=18) 838.7 69.1 12.1 s 13.9 s
dual, K=28 + --trim-stage-weights 1495.3 69.3 6.8 s 8.6 s
dual, K=29 + trim 1531.4 66.8 6.7 s 8.5 s
dual, K=30 + trim 1515.2 62.4 6.7 s 8.8 s
dual, K=31 + trim 1535.7 63.1 6.6 s 8.6 s
dual, K=32 + trim 1483.5 58.3 6.9 s 9.1 s

For an alternating controller/worker test, K=28 + trim + --conversation-cache-mib 4096 --conversation-cache-slots 2 measured 1453.7 prompt tok/s, 70.2 decode tok/s, 7.0 s TTFT and 8.8 s first-turn time. The parent follow-up reused 2462 cached tokens; prompt work fell to 26 tokens and follow-up latency was 0.73 s. The engine log confirmed multi-GPU parking/restoration, including a 41 ms restore.

So this pair confirms the issue's concern: automatic dual-GPU selection was much better than the 3080 Ti alone for decode, but manual placement was materially better for prompt latency and interactive response time. The best balanced interactive config for this workload is K=28 with stage trimming and a bounded two-slot conversation cache. I have applied that config locally, preserving a backup; no BIOS, driver, or model changes were made.

The result seems covered by #509 and this issue, so I am adding data here rather than opening a duplicate. #747's feature is now implemented; this Windows/CUDA 12 run also confirms conversation parking works with a layer split. Benchmark artifacts are available if useful.

<!-- gh-comment-id:6136129748 --> @MarsLuay commented on GitHub (Oct 13, 2026): I ran a closely related Windows/CUDA 12 experiment on an RTX 3080 Ti 12 GB + Tesla V100-PCIE-32GB pair with Qwen3.8 Flash Next IQ3_S (48 layers, 131072 context, INT8 KV, MTP). The V100 required the experimental CUDA 12 engine. Two cold, streamed ~10K-token prompts per arm (temperature 0, max 128 output tokens) produced: | setup | prompt tok/s | decode tok/s | TTFT | HTTP time | |---|---:|---:|---:|---:| | RTX 3080 Ti only (CUDA 13) | 433.5 | 28.4 | 23.3 s | 27.8 s | | dual, `layer_split auto` (auto selected K=18) | 838.7 | 69.1 | 12.1 s | 13.9 s | | dual, K=28 + `--trim-stage-weights` | 1495.3 | 69.3 | 6.8 s | 8.6 s | | dual, K=29 + trim | 1531.4 | 66.8 | 6.7 s | 8.5 s | | dual, K=30 + trim | 1515.2 | 62.4 | 6.7 s | 8.8 s | | dual, K=31 + trim | 1535.7 | 63.1 | 6.6 s | 8.6 s | | dual, K=32 + trim | 1483.5 | 58.3 | 6.9 s | 9.1 s | For an alternating controller/worker test, K=28 + trim + `--conversation-cache-mib 4096 --conversation-cache-slots 2` measured 1453.7 prompt tok/s, 70.2 decode tok/s, 7.0 s TTFT and 8.8 s first-turn time. The parent follow-up reused 2462 cached tokens; prompt work fell to 26 tokens and follow-up latency was 0.73 s. The engine log confirmed multi-GPU parking/restoration, including a 41 ms restore. So this pair confirms the issue's concern: automatic dual-GPU selection was much better than the 3080 Ti alone for decode, but manual placement was materially better for prompt latency and interactive response time. The best balanced interactive config for this workload is K=28 with stage trimming and a bounded two-slot conversation cache. I have applied that config locally, preserving a backup; no BIOS, driver, or model changes were made. The result seems covered by #509 and this issue, so I am adding data here rather than opening a duplicate. #747's feature is now implemented; this Windows/CUDA 12 run also confirms conversation parking works with a layer split. Benchmark artifacts are available if useful.
Author
Owner

@MarsLuay commented on GitHub (Oct 13, 2026):

Explicitly answering the requested "give the slower second card fewer layers" data point: yes, the manual sweep did that. With the RTX 3080 Ti first and the slower V100 second, K means the V100 receives layers K-47:

  • K=28: V100 gets 20 layers; 1495.3 prompt / 69.3 decode tok/s.
  • K=29: V100 gets 19 layers; 1531.4 / 66.8.
  • K=30: V100 gets 18 layers; 1515.2 / 62.4.
  • K=31: V100 gets 17 layers; 1535.7 / 63.1.
  • K=32: V100 gets 16 layers; 1483.5 / 58.3.

The RTX 3080 Ti alone was 433.5 prompt / 28.4 decode tok/s, so every tested later split beat the faster card alone on this workload. K=28 was the best balanced interactive result after adding stage trimming and bounded conversation parking.

I did not extend the sweep to extreme K values where the V100 would receive only a handful of layers, so I am not claiming a universal threshold from this one machine; the measurements support the requested direction and the need for a prompt-weighted/asymmetry-aware setup recommendation.

<!-- gh-comment-id:6137693308 --> @MarsLuay commented on GitHub (Oct 13, 2026): Explicitly answering the requested "give the slower second card fewer layers" data point: yes, the manual sweep did that. With the RTX 3080 Ti first and the slower V100 second, K means the V100 receives layers K-47: - K=28: V100 gets 20 layers; 1495.3 prompt / 69.3 decode tok/s. - K=29: V100 gets 19 layers; 1531.4 / 66.8. - K=30: V100 gets 18 layers; 1515.2 / 62.4. - K=31: V100 gets 17 layers; 1535.7 / 63.1. - K=32: V100 gets 16 layers; 1483.5 / 58.3. The RTX 3080 Ti alone was 433.5 prompt / 28.4 decode tok/s, so every tested later split beat the faster card alone on this workload. K=28 was the best balanced interactive result after adding stage trimming and bounded conversation parking. I did not extend the sweep to extreme K values where the V100 would receive only a handful of layers, so I am not claiming a universal threshold from this one machine; the measurements support the requested direction and the need for a prompt-weighted/asymmetry-aware setup recommendation.
Author
Owner

@MarsLuay commented on GitHub (Oct 13, 2026):

I completed the previously untested extreme-split sweep as requested. These runs used the same Windows/CUDA 12 RTX 3080 Ti + Tesla V100 setup, IQ3_S 48-layer model, ~10K-token cold prompts, temperature 0, two runs per arm, and --trim-stage-weights.

Here K is the first V100 layer, so the V100 receives only a handful of layers at the high end:

split V100 layers prompt tok/s decode tok/s TTFT HTTP time
K=36 12 1163.1 45.7 8.7 s 11.5 s
K=40 8 1064.3 42.2 9.6 s 12.6 s
K=44 4 1003.0 36.6 10.1 s 13.6 s

The RTX 3080 Ti alone measured 433.5 prompt / 28.4 decode tok/s and 27.8 s HTTP time, so even the extreme K=44 split still beat the faster card alone for this workload. However, it was substantially worse than the balanced K=28 result (1453.7 prompt / 70.2 decode tok/s and 8.8 s with trimming and bounded conversation cache).

All three extreme split engines reached session is up; both GPUs reached roughly 99-100% utilization during the measured requests, with no V100 driver or inference-fatal errors. This supports an asymmetry-aware recommendation and shows why “give the slower card only a few layers” can remain useful, but these measurements are still from one machine and are not a universal threshold.

<!-- gh-comment-id:6137802209 --> @MarsLuay commented on GitHub (Oct 13, 2026): I completed the previously untested extreme-split sweep as requested. These runs used the same Windows/CUDA 12 RTX 3080 Ti + Tesla V100 setup, IQ3_S 48-layer model, ~10K-token cold prompts, temperature 0, two runs per arm, and `--trim-stage-weights`. Here K is the first V100 layer, so the V100 receives only a handful of layers at the high end: | split | V100 layers | prompt tok/s | decode tok/s | TTFT | HTTP time | |---:|---:|---:|---:|---:|---:| | K=36 | 12 | 1163.1 | 45.7 | 8.7 s | 11.5 s | | K=40 | 8 | 1064.3 | 42.2 | 9.6 s | 12.6 s | | K=44 | 4 | 1003.0 | 36.6 | 10.1 s | 13.6 s | The RTX 3080 Ti alone measured 433.5 prompt / 28.4 decode tok/s and 27.8 s HTTP time, so even the extreme K=44 split still beat the faster card alone for this workload. However, it was substantially worse than the balanced K=28 result (1453.7 prompt / 70.2 decode tok/s and 8.8 s with trimming and bounded conversation cache). All three extreme split engines reached `session is up`; both GPUs reached roughly 99-100% utilization during the measured requests, with no V100 driver or inference-fatal errors. This supports an asymmetry-aware recommendation and shows why “give the slower card only a few layers” can remain useful, but these measurements are still from one machine and are not a universal threshold.
Author
Owner

@MaKla89 commented on GitHub (Oct 13, 2026):

   ... so if you can run `--gpus 0,1` with `--layer-split` giving the 3060 fewer layers (docs/MULTI_GPU.md, `"layer_split": "<first layer of the second card>"`, for example a later split point so the 3060 gets only a few layers), and tell us whether any split beats the 4080 alone, that is the data point we are missing. Leaving this open until the setup text and rule are changed.

Hey there, thanks for engaging :) I was only able to do a quick test due to limited time. I ran several '--layer-split' configs and then asked via chat 'Why is the sun round?' 4-5 times for each config. I know this is no good for promp-processing, but fairly representative on decode for low context. Here's my results:

Configuration Decode Cold Decode Warm Notes
Status Quo: --gpu 0 / only 4080 67 tps 76 tps Fastest overall
Split-layer: auto 46 tps 55 tps Auto split
Split-layer: 28 49 tps 58 tps Roughly VRAM ratio 16:12 across 48 layers
Split-layer: 35 47 tps 60 tps —
Split-layer: 40 46 tps 59 tps —
Split-layer: 45 56 tps 62 tps Best split-layer result
Split-layer: 48 46 tps 60 tps Should be all layers on 4080

Not sure whether this is sufficient for any improvement on default-recommendations, but it's the best I can do for now, sorry.

<!-- gh-comment-id:6139467119 --> @MaKla89 commented on GitHub (Oct 13, 2026): > ... so if you can run `--gpus 0,1` with `--layer-split` giving the 3060 fewer layers (docs/MULTI_GPU.md, `"layer_split": "<first layer of the second card>"`, for example a later split point so the 3060 gets only a few layers), and tell us whether any split beats the 4080 alone, that is the data point we are missing. Leaving this open until the setup text and rule are changed. Hey there, thanks for engaging :) I was only able to do a quick test due to limited time. I ran several '--layer-split' configs and then asked via chat 'Why is the sun round?' 4-5 times for each config. I know this is no good for promp-processing, but fairly representative on decode for low context. Here's my results: | Configuration | Decode Cold | Decode Warm | Notes | |---|---:|---:|---| | Status Quo: `--gpu 0` / only 4080 | 67 tps | 76 tps | Fastest overall | | Split-layer: auto | 46 tps | 55 tps | Auto split | | Split-layer: 28 | 49 tps | 58 tps | Roughly VRAM ratio 16:12 across 48 layers | | Split-layer: 35 | 47 tps | 60 tps | — | | Split-layer: 40 | 46 tps | 59 tps | — | | Split-layer: 45 | 56 tps | 62 tps | Best split-layer result | | Split-layer: 48 | 46 tps | 60 tps | Should be all layers on 4080 | Not sure whether this is sufficient for any improvement on default-recommendations, but it's the best I can do for now, sorry.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659246449 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
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#819
No description provided.