Skip to content

[Benchmark] RTX 5080 + RTX 4060 Ti (16 GB each, x16/x4): Stage order, balanced layer split, and #2644 clamp #6109

Closed

Description

@cobra91

Context & Environment

  • OS: Windows 11 Pro 64-bit (WDDM 3.2)
  • Primary GPU: NVIDIA GeForce RTX 5080 (16 GB VRAM, 813 GB/s bandwidth, PCIe Gen4 x16 direct CPU, ~28.9 GB/s bidirectional bus)
  • Secondary GPU: NVIDIA GeForce RTX 4060 Ti (16 GB VRAM, 288 GB/s bandwidth, PCIe Gen4 x4 via chipset, ~3.2 GB/s bidirectional bus)
  • CPU & RAM: AMD Ryzen 7 9800X3D, 32 GB DDR5 RAM
  • Model: Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS (~30 GB MoE, 48 transformer layers)
  • Strata Build: v0.1.61+ (with PR [Engine] Cap WDDM expert cache shrink step to 256 MiB to avoid VRAM over-reduction #6089)

Summary of the Problem

When running an asymmetric dual-GPU rig where both GPUs share the same VRAM capacity (16 GB) but drastically differ in Compute Capability and PCIe bus bandwidth (RTX 5080 vs RTX 4060 Ti), Strata's default auto-configuration heuristics introduce two cascading bottlenecks:

  1. Rule layer-split auto gives an asymmetric pair 3 of 48 layers (12 GB idle, -44% prefill) #2644 (share_floors) Clamping:
    Because vram_0 == vram_1 == 16 GB, the allocator treats both GPUs as homogeneous and forces a 50/50 layer split (K = 24 layers per GPU).

    • In practice, the 4060 Ti takes ~40.2 ms to evaluate its 24 layers.
    • The RTX 5080 takes only ~16.0 ms to evaluate its 24 layers.
    • The faster card spends over 60% of its cycle idling in pipeline bubble stalls waiting for cross-bus activation tensor handoffs over the 3.2 GB/s PCIe x4 link.
  2. Default GPU Ordering (CUDA0 vs CUDA1 Placement):
    In natural device enumeration ("gpu": [0, 1]), GPU 0 (the 5080) is assigned as Stage 0 (early layers), while GPU 1 (the 4060 Ti) is assigned as CUDA1 (last stage).

    • In Strata's pipeline architecture, the last stage executes the final LM Head and the speculative draft layer (MTP).
    • Forcing the card with 288 GB/s bandwidth and a choked 3.2 GB/s bus to compute the LM Head and speculative drafts severely degrades token generation latency.

Empirical Benchmark Results (Standardized Protocol)

We conducted comprehensive benchmarks comparing the default configuration against the optimized configuration on identical hardware and prompts:

Metric Strata Default ("gpu": [0, 1], Auto K=24) Strata Optimized ("gpu": [1, 0], --layer-split 19) Delta / Speedup
Comptage chaud (3 runs) 109.8 / 132.1 / 123.5 tok/s 167.6 / 177.9 / 183.7 tok/s +48.7%
Real Long (12,000 tokens CoT) 111.3 tok/s (107.8s) 186.8 tok/s (65.0s) +67.8%
Peak Thinking Rate ~120 - 130 tok/s 248.6 tok/s +91.2%
Pipeline Stage Latency 40.2 ms / token 15.9 ms / token -60.4% stage delay
SSD Paging / Swapping 0 MB 0 MB Identical footprint
Expert Cache Hit Rate 98.2% - 98.8% 98.4% - 98.8% Equivalent

Log Excerpts Showing the Speedup

With "gpu": [1, 0] and balanced latency split (--layer-split 19):

[strata] cards in stage order: GPU 1, then GPU 0 (as nvidia-smi numbers them); the engine's log calls them CUDA0, CUDA1 - the first runs the first layers and the picture reader, the last runs the head and the draft layer
...
[strata] thinking: 6182 of budget 9000 (max 12000) tokens, 248.6 tok/s, 25 s
...
[strata] done: 12000 tokens in 65 s (186.8 tok/s) (length, cancel=False), expert cache 98.8% hit

Why --layer-split 19 is the Optimum Balance

On this 48-layer model:

  • Stage 0 (4060 Ti, 19 layers): Processing time = ~15.96 ms
  • Stage 1 (RTX 5080, 29 layers + LM Head + MTP Drafter): Processing time = ~13.57 ms
  • Both stages complete in ~15 ms, almost completely eliminating the pipeline bubble.
  • Assigning 30 layers to the 5080 (K=18) would exceed its 16 GB VRAM budget. Thus, $K=19$ is the physical Pareto optimum.

Corroborating Community Evidence (#6104 / #6084)

This Windows observation directly aligns with independent Linux field findings reported by @Burntgogi in #6104 and #6084:
On an asymmetric Ampere rig (RTX 3070 PCIe 3.0 x4 → RTX 3070 Ti PCIe 4.0 x16), an asymmetric stage order and manual fixed layer split (14/34) were also required to balance pipeline windows and avoid bus saturation.
This demonstrates that the need for topology-aware stage balancing across asymmetric PCIe/compute pairs is a universal multi-GPU reality, not an edge case.


Potential Approaches / Questions for the Maintainers

We would love your guidance on how you would prefer this to be handled upstream:

  1. Compute / Bandwidth Aware Heuristic in setup.py / serve/server.py:
  2. Topology Warning Banner:
    • When identical VRAM is detected alongside asymmetric compute or PCIe bus width, output an informational log recommending --layer-split and explicit GPU order.
  3. Explicit CLI/Config Override Parameter:
    • Add a --layer-ratio (e.g. 0.40:0.60) or --fast-card-last flag to allow users to easily optimize asymmetric setups without guessing layer counts.

We have full reproducible logs and test harnesses ready and would be happy to contribute a focused PR based on your preferred design direction!

Activity

  1. Niko1221 commented on Nov 18, 2026

    @Niko1221
    Owner

    Thank you for the benchmark. The results are saved in our benchmark records, so I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions