[GH-ISSUE #75] Capability report: 4x RTX 3090 (GA102) — LLM Inference vs. LoRA Training benchmarks (240W vs 350W) #56

Closed
opened 2026-10-26 16:39:55 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @foureight84 on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/75

Environment & Hardware Setup

  • Host: Ubuntu 24.04 LTS (Linux 6.8, open kmod 610.57.04)
  • GPUs: 4x GeForce RTX 3090 24GB (GA102-300-A1, 10de:2204) on PCIe 4.0 x16 (PLX switch, P2P active across all 4x4 pairs)
  • Rig Configuration: Open-air test frame, dual PSUs:
    • 850W PSU: Motherboard, Xeon CPU, RAM, NVMe, fans
    • 1,650W PSU: Dedicated exclusively to 4x RTX 3090 GPUs and PCIe PLX switch
  • Unlock Mechanism: Zagitta/gpu-unlock via pre-driver initramfs (SS0=0x88888888, SS1=0x8 full 1:1 FMA dispatch rate)
  • Electrical Safety: Power capped to 237W–250W per card for 4-GPU 24/7 soak (keeping continuous rig wall draw at ~1,328W / 10.9A on a standard 120V 15A circuit).

1. Workload Profiles: Inference vs. LoRA Training

Because the unlock doubles tensor core FMA dispatch, dynamic switching capacitance (C_eff) doubles, which pins core voltage at the hardware floor (V_min ~ 710 mV) under power caps.

We found that optimal performance requires workload-dependent clock profiles:

  1. Inference Profile (vLLM TP4, 27B / 31B BF16):

    • Clocks: Core +150 MHz, Memory +1,750 MHz (10,376 MHz GDDR6X).
    • Decode (Batch = 1): 0% gain (flat within noise). Token-by-token generation is strictly GDDR6X bandwidth-bound (~936 GB/s ceiling; arithmetic intensity < 1 FLOP/byte). Unlocked tensor cores sit idle waiting for weights.
    • Prefill (GEMM): 1,500 -> 1,640 tok/s (+9.3%). Effective prefill compute increased from ~23.3 TFLOPS -> ~25.4 TFLOPS per GPU (~101.7 TFLOPS across 4 cards).
  2. LoRA Fine-Tuning Profile (Unsloth, 1.7B Backbone, LoRA r16, Echo layout, BF16):

    • Clocks: Core +150 MHz, Memory +0 MHz (stock 9,501 MHz GDDR6X).
    • Training performs dense GEMMs across forward and backward passes (attention projections + LoRA A x B updates), making it compute-bound rather than memory-bandwidth bound.
    • Reverting the memory overclock to stock reclaims ~15W of board power from the 24 GDDR6X chips, diverting it directly into the GA102 core. Core clocks immediately jump from ~940 MHz to 1,050–1,125 MHz (+100–180 MHz boost) with 0W increase in wall draw.

2. LoRA Training Benchmark Results (Step Times & TFLOPS)

Per-step time on 16 samples * 512 tokens (~8,192 tokens/step, ~85.5 TFLOPs/step):

Configuration Power Cap / Draw Core Clock Iteration Time Sustained Compute / GPU Speedup vs. Stock
Stock (Locked 1:2 dispatch) 240W / 240W ~950 MHz 10.80s / step ~7.9 TFLOPS Baseline (1.00x)
Unlocked @ 240W (Inference profile) 240W / 240W ~950 MHz 9.00s / step ~9.5 TFLOPS 1.20x (+20%)
Unlocked @ 240W (Training profile: stock mem) 240W / 240W ~1,050–1,125 MHz 8.71s / step ~9.8 TFLOPS 1.24x (+24%)
Unlocked @ 350W (Single active card test) 350W / ~314W 1,620–1,650 MHz 7.24s / step ~11.8 TFLOPS 1.49x (+49%)

3. The 350W Power Scaling Test

When 3 of our GPUs completed their 1-epoch runs and idled (~39W each), we had massive wall power headroom. We raised GPU 3's power limit live from 250W to 350W during active training:

  • Clock Surge: The core jumped from ~1,100 MHz to 1,620–1,650 MHz (+550 MHz boost).
  • Power & Thermal: Card drew ~314W continuous at 70°C open-air.
  • Throughput: Step time dropped straight to 7.24s / step (a 33% wall-clock time reduction over locked stock).

Key Takeaway

  • For Inference: Memory clock is king; compute unlock provides no benefit for autoregressive generation, and modest ~9–10% on prefill GEMM.
  • For Training: Core clock is king. Reverting memory overclock to stock gives an easy +100–180 MHz core boost within fixed power limits. Released to 350W, the unlock delivers a massive ~49% throughput gain (1.49x speedup) over stock.
Originally created by @foureight84 on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/75 ### Environment & Hardware Setup * **Host**: Ubuntu 24.04 LTS (Linux 6.8, open kmod 610.57.04) * **GPUs**: 4x GeForce RTX 3090 24GB (GA102-300-A1, 10de:2204) on PCIe 4.0 x16 (PLX switch, P2P active across all 4x4 pairs) * **Rig Configuration**: Open-air test frame, dual PSUs: * 850W PSU: Motherboard, Xeon CPU, RAM, NVMe, fans * 1,650W PSU: Dedicated exclusively to 4x RTX 3090 GPUs and PCIe PLX switch * **Unlock Mechanism**: `Zagitta/gpu-unlock` via pre-driver initramfs (`SS0=0x88888888`, `SS1=0x8` full 1:1 FMA dispatch rate) * **Electrical Safety**: Power capped to 237W–250W per card for 4-GPU 24/7 soak (keeping continuous rig wall draw at ~1,328W / 10.9A on a standard 120V 15A circuit). --- ### 1. Workload Profiles: Inference vs. LoRA Training Because the unlock doubles tensor core FMA dispatch, dynamic switching capacitance (C_eff) doubles, which pins core voltage at the hardware floor (V_min ~ 710 mV) under power caps. We found that optimal performance requires workload-dependent clock profiles: 1. **Inference Profile (vLLM TP4, 27B / 31B BF16)**: * **Clocks**: Core +150 MHz, Memory +1,750 MHz (10,376 MHz GDDR6X). * **Decode (Batch = 1)**: **0% gain (flat within noise)**. Token-by-token generation is strictly GDDR6X bandwidth-bound (~936 GB/s ceiling; arithmetic intensity < 1 FLOP/byte). Unlocked tensor cores sit idle waiting for weights. * **Prefill (GEMM)**: **1,500 -> 1,640 tok/s (+9.3%)**. Effective prefill compute increased from ~23.3 TFLOPS -> ~25.4 TFLOPS per GPU (~101.7 TFLOPS across 4 cards). 2. **LoRA Fine-Tuning Profile (Unsloth, 1.7B Backbone, LoRA r16, Echo layout, BF16)**: * **Clocks**: Core +150 MHz, Memory +0 MHz (stock 9,501 MHz GDDR6X). * Training performs dense GEMMs across forward and backward passes (attention projections + LoRA A x B updates), making it compute-bound rather than memory-bandwidth bound. * Reverting the memory overclock to stock reclaims ~15W of board power from the 24 GDDR6X chips, diverting it directly into the GA102 core. Core clocks immediately jump from ~940 MHz to **1,050–1,125 MHz** (+100–180 MHz boost) with 0W increase in wall draw. --- ### 2. LoRA Training Benchmark Results (Step Times & TFLOPS) *Per-step time on 16 samples * 512 tokens (~8,192 tokens/step, ~85.5 TFLOPs/step):* | Configuration | Power Cap / Draw | Core Clock | Iteration Time | Sustained Compute / GPU | Speedup vs. Stock | | :--- | :---: | :---: | :---: | :---: | :---: | | **Stock (Locked 1:2 dispatch)** | 240W / 240W | ~950 MHz | **10.80s / step** | ~7.9 TFLOPS | Baseline (1.00x) | | **Unlocked @ 240W (Inference profile)** | 240W / 240W | ~950 MHz | **9.00s / step** | ~9.5 TFLOPS | **1.20x (+20%)** | | **Unlocked @ 240W (Training profile: stock mem)** | 240W / 240W | ~1,050–1,125 MHz | **8.71s / step** | ~9.8 TFLOPS | **1.24x (+24%)** | | **Unlocked @ 350W (Single active card test)** | 350W / ~314W | **1,620–1,650 MHz** | **7.24s / step** | **~11.8 TFLOPS** | **1.49x (+49%)** | --- ### 3. The 350W Power Scaling Test When 3 of our GPUs completed their 1-epoch runs and idled (~39W each), we had massive wall power headroom. We raised GPU 3's power limit live from 250W to 350W during active training: * **Clock Surge**: The core jumped from ~1,100 MHz to **1,620–1,650 MHz** (+550 MHz boost). * **Power & Thermal**: Card drew ~314W continuous at 70°C open-air. * **Throughput**: Step time dropped straight to **7.24s / step** (a **33% wall-clock time reduction** over locked stock). --- ### Key Takeaway * For **Inference**: Memory clock is king; compute unlock provides no benefit for autoregressive generation, and modest ~9–10% on prefill GEMM. * For **Training**: Core clock is king. Reverting memory overclock to stock gives an easy +100–180 MHz core boost within fixed power limits. Released to 350W, the unlock delivers a massive **~49% throughput gain (1.49x speedup)** over stock.
bsakaguchi 2026-10-30 04:54:42 +07:00
Author
Owner

@Zagitta commented on GitHub (Oct 27, 2026):

Thanks for the report! Success reports now live in one place: https://github.com/Zagitta/gpu-unlock/discussions/238. Closing this so the issue tracker stays focused on cards where the unlock fails. Your numbers stay searchable here under the success-report label. If something stops working later, please open an unlock failure issue.

<!-- gh-comment-id:6454905190 --> @Zagitta commented on GitHub (Oct 27, 2026): Thanks for the report! Success reports now live in one place: https://github.com/Zagitta/gpu-unlock/discussions/238. Closing this so the issue tracker stays focused on cards where the unlock fails. Your numbers stay searchable here under the `success-report` label. If something stops working later, please open an unlock failure issue.
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
Zagitta/gpu-unlock#56
No description provided.