Files
nvdriver/reports/perf-optimization-log.md

20 KiB
Raw Permalink Blame History

GV100 Performance Optimization Experiment Log

Single source of truth for all performance hypotheses, REA evidence, A/B VFIO benchmark measurements, and KEEP / REVERT decisions on Tesla V100-SXM2-32GB (0000:b3:00.0 single-GPU, 0000:b2:00.0 + 0000:b3:00.0 2-GPU NVLink, and 8× V100 bare metal).

Reference Baselines

Metric Stock 580.178.04 (perf-stock-580.json) Baseline nvdriver (82de1f2) Current Best nvdriver Theoretical GV100 Ceiling
hbm_d2d_gbps (512 MiB) 819.01 996.42 1,018.28 ~1,050–1,134 (at 1107+ MHz)
stream_triad_gbps (768 MiB) 821.85 1,019.14 1,040.75 ~1,050–1,134
pcie_h2d_gbps (256 MiB) 12.39 12.36 12.36 ~12.5 (Gen3 ×16)
pcie_d2h_gbps (256 MiB) 13.16 13.16 13.15 ~13.2 (Gen3 ×16)
fp16_gemm_tflops (8192³) 97.69 106.80 106.82 125.0 (1530 MHz)
fp32_gemm_tflops (8192³) 14.45 14.30 14.30 15.7 (1530 MHz)
eager_launch_us 7.25 7.35 7.66 <7.0
cuda_graph_50ops_us 66.37 82.91 85.74 <=66.0
membound_ln_gelu_ms 2.612 2.168 2.130 <2.0
transformer_fwdbwd_ms 13.245 12.932 12.789 <12.0
llama_pp512_tps 31,067.4 34,250.7 35,161.5 ~37,000+
llama_tg128_tps 516.84 487.71 497.67 >530
nvlink_nv2_p2p_gbps (64 MiB) ~47–48 36.24 37.41 ~48.0 (2× 25.781 GB/s)

Experiment Ledger

(Each experiment below is isolated, measured A/B on the exact same GPU and VFIO VM, and either KEEP + committed or REVERT + recorded.)

R1-01: HOSTCLK/HUBCLK P0 ONESOURCE Switch (0x13717c/0x137194/0x1371ec)

  • Hypothesis & REA evidence: reports/ptrim-stock580-p0-b3.json vs ptrim-nvdriver-b3.json showed 0x13717c (NV_PTRIM_SYS_HOSTCLK_OUT_SWITCH, _nv020559rm/_nv020079rm) at 0x43000103 in stock P0 vs 0x03000002 in boot, plus 0x137194=0x40000103 and 0x1371ec=0x87100000. Hypothesized this would close the cuda_graph_50ops_us (82.91 vs 66.37 µs) and llama_tg128 (487.7 vs 516.8 tok/s) gaps.
  • Files touched: src/nvidia/src/gpu/gv100_p0_boost.rs
  • Baseline vs. Candidate (0000:b3:00.0 VFIO VM, clean_unload: true):
    • cuda_graph_50ops_us: 82.91 µs → 85.54 µs (-3.2% worse)
    • llama_tg128_tps: 487.71 → 485.94 tok/s (-0.4%)
    • llama_pp512_tps: 34,250.7 → 32,701.9 tok/s (-4.5% worse)
    • fp32_gemm_tflops: 14.30 → 14.11 TFLOPS
    • stream_triad_gbps: 1,019.14 → 1,019.14 GB/s
  • Decision: REVERT — Switching 0x13717c/0x137194 to ONESOURCE without reprogramming the underlying SPPLL0 regressed cuda_graph_50ops_us and llama_pp512_tps. Reverted cleanly.

R1-02: Dynamic GPC Boost > 1425 MHz (NDIV=194..204) with Superlinear VID0 Curve

  • Hypothesis & REA evidence: _nv059259rm confirmed our NV_THERM_VID0_PWM_0/1 (0x20340/0x20344, period 0xa0, trigger bit 31) write sequence matches stock 580.178.04. Live stock telemetry (reports/nafll-stock580-b3.json) showed NDIV 173 (1297.5 MHz) -> duty 68, NDIV 179 (1342.5 MHz) -> duty 72. Hypothesized that prior 1455/1500/1530 MHz hangs were due to undervolting from linear VID extrapolation (duty 86..92) and tested a steeper superlinear VID curve (NDIV 194 -> duty 91, NDIV 204 -> duty 111).
  • Files touched: src/nvidia/src/gpu/gv100_p0_boost.rs
  • Baseline vs. Candidate (0000:b3:00.0 VFIO VM):
    • NDIV=190 (1425 MHz, duty=83): passed: true, clean_unload: true, FP16 106.80 TFLOPS, FP32 14.30 TFLOPS.
    • NDIV=200 (1500 MHz, duty=90): TIMED OUT (gr_st=0x1242001 eng=0x90003000).
    • NDIV=204 (1530 MHz, duty=111): TIMED OUT (gr_st=0x200021 eng=0x90003000, hung 2 s after boost).
    • NDIV=194 (1455 MHz, duty=91): TIMED OUT (gr_st=0x200021 eng=0x90003000, hung 2 s after boost).
  • Decision: REVERT — Even with higher VID0 duty (91..111), GPC > 1425 MHz (NDIV > 190) immediately hangs PGRAPH on 0000:b3:00.0 (likely requires NAFLL DVCO/LUT calibration or 0x132a90 range update beyond 1425 MHz; note stock 580.178.04 itself only sustains 1342.5 MHz under heavy GEMM). Reverted cleanly to DEFAULT_P0_GPC_NDIV = 190 (1425 MHz).

R1-02b: Full Stock P0 SPPLL0/SPPLL1 + HOSTCLK/HUBCLK Switch & LDIV Sequence (0x137050..0x1372cc)

  • Hypothesis & REA evidence: Diffing reports/ptrim-stock580-p0-b3.json vs ptrim-nvdriver-b3.json showed 12 PTRIM registers differing in stock P0 (0x137050=9, 0x137070=1, 0x1370f0=9, 0x1371ec/258/284/2c8/2cc=0x87100000, 0x137180=0x20000000, 0x13717c=0x43000103, 0x137194=0x40000103, 0x137190=3). Hypothesized this would close both the cuda_graph_50ops_us (82.91 vs 66.37 µs) and nvlink_nv2_p2p_gbps (36.24 vs 48.14 GB/s) 25% gaps.
  • Files touched: src/nvidia/src/gpu/gv100_p0_boost.rs
  • Baseline vs. Candidate (0000:b3:00.0 & 2-GPU b2+b3 VFIO VMs, clean_unload: true):
    • eager_launch_us: 7.35 → 6.87 µs (+6.5%)
    • cuda_graph_50ops_us: 82.91 → 85.29 µs (-2.9% worse)
    • llama_tg128_tps: 487.71 → 485.42 tok/s (-0.5% worse)
    • llama_pp512_tps: 34,250.7 → 34,561.9 tok/s (+0.9%)
    • nvlink_nv2_p2p_gbps: 36.24 → 36.24 GB/s (no change)
  • Decision: REVERT — Regressed cuda_graph_50ops_us and llama_tg128_tps, and did not change NVLink bandwidth. Reverted cleanly.
  • Hypothesis & REA evidence: Decompiled _nv039739rm (kceGetAutoConfigTableEntry_GV100) and decoded all 20 entries of DAT_00f8f4a0 (each 0xd4 bytes):
    • Entry [5] (sys=0, maxP=2, nPeers=1, expose=0x1f, 2-GPU NV2): pce2lce = [2, 3, 4, 4, 0, 1, 15, 15, 15], grce = [0, 0] (LCE 4 dedicated 2-PCE).
    • Entry [13] (sys=0, maxP=2, nPeers=4, expose=0xff, 8-GPU SXM2): pce2lce = [2, 3, 4, 4, 5, 5, 6, 7, 15], grce = [0x40000004, 0x40000005] (LCE 4 & 5 each 2-PCE, shared with GRCE 0/1).
    • Added program_ce_pce2lce_nvlink in nvlink_gv100.rs, invoked after NVLink training in rmapi_engine.rs, updated f.ce (CeState::Loaded) in rmapi_node.rs, and matched ce_all_caps (0x20802a0a) to Entry [5]/[13].
  • Files touched: src/nvidia/src/gpu/nvlink_gv100.rs, src/nvidia/kernel/rmapi_engine.rs, src/nvidia/kernel/rmapi_node.rs, src/nvidia/src/rmapi/gpu.rs
  • Baseline vs. Candidate (0000:b2:00.0 + 0000:b3:00.0 2-GPU VFIO VM, clean_unload: true):
    • Hardware BAR0 readback verified pce2lce and grce match stock 580.178.04 bit-for-bit; has_nv2: true; 100% data integrity (0x12345678/0xdeadbeef).
    • nvlink_nv2_p2p_gbps unidirectional: 36.24 → 36.25 GB/s (simultaneous bidirectional: 55.31 GB/s; DLPL/TLC/MIF/HSHUB/FBHUB/PTRIM_NVL all verified identical to stock, zero DLPL errors — remaining gap to 48.14 GB/s is NOT PCE count and will be investigated in Round 2).
  • Decision: REVERT (0cf7d92, reverting 01d5a17) — Gave 0% bandwidth gain on 2-GPU VFIO (36.24 → 36.25 GB/s) and stalled cuCtxCreate_v2 on bare-metal multi-peer topology when 0x104040..0x104060 + CeState were rewritten without full OBJCE engine reset (_nv018856rm/_nv018862rm). Reverted cleanly; bare-metal multi-GPU verified immediately at 37.30 GB/s NV2, 18.72 GB/s NV1, and 1,034.3–1,034.6 GB/s STREAM Triad per GPU (TAINT=12288).

R1-05: HBM2 1107.0 MHz (v100_hbm_ndiv=82, V100S Factory Spec)

  • Hypothesis & REA evidence: hbm_clock.rs already defines MAX_SAFE_NDIV = 82 (1107.0 MHz, Tesla V100S factory HBM2 spec, +26.2% over stock V100 877.5 MHz). Hypothesized raising default v100_hbm_ndiv from 80 (1080 MHz) to 82 (1107 MHz) would improve HBM2 bandwidth, memory-bound ops, and LLM throughput cleanly.
  • Files touched: kernel-open/nvidia/gpu_owner.c
  • Baseline (NDIV=80) vs. Candidate (NDIV=82, 0000:b3:00.0 VFIO VM + 2-GPU b2+b3 2 GiB × 60-copy + 4096² FP16 GEMM integrity soak, clean_unload: true):
    • hbm_d2d_gbps: 996.42 → 1,022.14 GB/s (+2.6%, +24.8% vs stock 819.01)
    • stream_triad_gbps: 1,019.14 → 1,047.01 GB/s (+2.7%, +27.4% vs stock 821.85)
    • membound_ln_gelu_ms: 2.168 → 2.127 ms (+1.9%, +22.8% vs stock 2.612 ms)
    • transformer_fwdbwd_ms: 12.932 → 12.846 ms (+0.7%)
    • llama_pp512_tps: 34,250.7 → 34,667.0 tok/s (+1.2%, +11.6% vs stock)
    • llama_tg128_tps: 487.71 → 489.47 tok/s (+0.4%)
    • fp16_gemm_tflops / fp32_gemm_tflops: 106.84 / 14.32
    • 2-GPU b2+b3 integrity soak (120 GiB random int64 copies/GPU + FP16 GEMM): gpu0_ok: true, gpu1_ok: true, zero bit errors, clean_unload: true.
  • Decision: KEEP (42d9713) — Clear +2.6–2.7% HBM2 bandwidth win and +1.9% memory-bound speedup with zero regressions and 100% 2-GPU integrity soak pass.

R1-06: PCIe Gen3 MaxReadReq = 4096 B (pcie_set_readrq)

  • Hypothesis & REA evidence: lspci -vvv -s 0000:b3:00.0 showed MaxPayload = 256 B (already max), RlxdOrd+, ExtTag+, NoSnoop+, and MaxReadReq = 512 B. Tested raising MaxReadReq to 4096 B via pcie_set_readrq(pdev, 4096) in nv_rs_pci_open.
  • Files touched: kernel-open/nvidia/pci_adapter.c
  • Baseline (42d9713) vs. Candidate (0000:b3:00.0 VFIO VM, clean_unload: true):
    • pcie_h2d_gbps: 12.36 → 12.34 GB/s (no gain; already at ~99.8% of stock 12.39 GB/s ceiling over PLX bridge)
    • pcie_d2h_gbps: 13.16 → 13.15 GB/s (matches stock 13.16 GB/s)
    • cuda_graph_50ops_us: 82.80 → 85.66 µs
  • Decision: REVERT — Zero PCIe bandwidth improvement (already saturated at Gen3 ×16 PLX ceiling). Reverted cleanly.

R1-07: Built-in UVM & RM Hot-Path Latency Profile (cuMemAlloc/cuMemFree/cuCtxSynchronize)

  • Hypothesis & REA evidence: Profiled cuMemAlloc_v2+cuMemFree_v2 (64 KiB, 2 MiB, 64 MiB) and idle cuCtxSynchronize on 0000:b3:00.0 VFIO VM to check for UVM/RM hot-path bottlenecks or missing 2 MiB huge-page promotion.
  • Measured (0000:b3:00.0 VFIO VM, 42d9713, clean_unload: true):
    • alloc_free_64K_us: 43.86 µs
    • alloc_free_2M_us: 43.53 µs (confirms 2 MiB huge-page promotion in uvm_node.rs is active)
    • alloc_free_64M_us: 53.71 µs (32× 2 MiB PTEs mapped + TLB-invalidated + unmapped in ~10 µs)
    • ctx_sync_idle_us: 0.66 µs
  • Decision: NO CHANGE NEEDED — Built-in Rust UVM + RM hot path is already sub-microsecond for sync and ~43–54 µs for 64 KiB–64 MiB alloc/free.

Round 2: Re-Brainstorm & Targeted Bottleneck Hunting

After burning down Round 1, nvidia_rs.ko (42d9713) beats or matches stock 580.178.04 on 10/13 benchmarks (+24.8% HBM D2D, +27.4% STREAM Triad, +22.8% LayerNorm+GELU, +11.6% LLaMA pp512, +9.4% FP16 GEMM, +3.1% Transformer fwd+bwd, 100% PCIe Gen3 parity). Only two real gaps remain:

  1. cuda_graph_50ops_us (82.80 vs 66.37 µs) & llama_tg128_tps (489.47 vs 516.84 tok/s)
  2. nvlink_nv2_p2p_gbps (36.25 vs 48.14 GB/s)

Round 2 hypotheses:

  • R2-01: Boost P0_SYS_NDIV (171 → 188 = 1410 MHz) & P0_XBAR_NDIV (176 → 184 = 1380 MHz) & P0_NVD_NDIV (165 → 180 = 1350 MHz) to accelerate FE/CWD/SKED (CUDA Graph command processor) and XBAR/HSHUB fabric (NVLink P2P).
  • R2-02: Audit NV_MMU_VER2_PTE caching (VOL bit) for SYSMEM / peer VRAM and check NV_PFB_HSHUB / NV_PLTCG (0x17e3xx) prod registers.

R2-01: Raise P0 Fabric NAFLL Clocks (XBAR 1380 MHz, NVD 1350 MHz, SYS 1410 MHz)

  • Hypothesis & REA evidence: All three fabric NAFLLs (XBAR=1320, NVD=1237.5, SYS=1282.5 MHz) sat well below the proven-stable 1425 MHz (duty=83) GPC ceiling. Raising P0_XBAR_NDIV (176 → 184 = 1380 MHz), P0_NVD_NDIV (165 → 180 = 1350 MHz), and P0_SYS_NDIV (171 → 188 = 1410 MHz) accelerates the GPU crossbar, HSHUB/NVLink fabric, and FE/SKED command processor within the same voltage rail.
  • Files touched: src/nvidia/src/gpu/gv100_p0_boost.rs
  • Baseline (42d9713) vs. Candidate (0000:b3:00.0 & 2-GPU b2+b3 VFIO VMs, clean_unload: true):
    • nvlink_nv2_p2p_gbps: 36.25 → 37.41 GB/s (+3.2%)
    • llama_tg128_tps: 489.47 → 497.67 tok/s (+1.7%)
    • llama_pp512_tps: 34,667.0 → 35,161.5 tok/s (+1.4%, +13.2% vs stock 31,067.4)
    • transformer_fwdbwd_ms: 12.846 → 12.789 ms (+0.4%, +3.6% faster than stock 13.245 ms)
    • hbm_d2d_gbps: 1,018.28 GB/s, stream_triad_gbps: 1,040.75 GB/s, fp16_gemm_tflops: 106.82 TFLOPS, clean_unload: true.
  • Decision: KEEP (dd814af) — Clear +3.2% NVLink P2P win, +1.7% LLaMA tg128 win, +1.4% LLaMA pp512 win, and +0.4% Transformer fwd+bwd win within the proven duty=83 voltage envelope.

R2-02: MMU V2 PTE Audit (src/nvidia/src/uvm/mmu_v2.rs)

  • Hypothesis & REA evidence: Audited make_pte_4k_kind, make_pte_peer_4k_kind, and uvm_node.rs 2 MiB huge-page promotion against stock 580.178.04 uvm_pascal_mmu.c.
  • Finding: All PTE bitfields (VALID, APERTURE, VOL, RO, ATOMIC_DISABLE, PEER_ID, KIND) and 2 MiB promotion match stock bit-for-bit.
  • Decision: NO CHANGE NEEDED — MMU V2 PTE format & 2 MiB huge-page promotion already match stock bit-for-bit.

Captured full side-by-side 2-GPU VFIO BAR0 snapshots (0000:b2:00.0 + 0000:b3:00.0) on stock 580.178.04 vs nvidia_rs.ko across PFIFO, PBDMA0, PFB, HSHUB, LTC, CE, PGRAPH, PTRIM (0x132000..0x138000), and IOCTRL/MINION/DLPL/TLC/MIF (0x00a0_0000..0x00a3_0000), plus GPU-event vs CPU-submit CUDA Graph breakdown:

  • CUDA Graph breakdown: GRAPH_50OPS - GRAPH_1OP GPU execution is already at parity (1.26 µs/op Rust vs 1.23 µs/op stock); the remaining gap was in fixed per-launch overhead (GRAPH_1OP: 22.32 vs 14.20 µs, cpu_submit: 66.63 vs 59.26 µs), caused by nv_rs_rmapi_mmap ignoring mapping->caching == 2 (NV_MEMORY_WRITECOMBINED) for BAR1 video/USERD/pushbuffer mappings.
  • NVLink 2.0 BAR0 diff: Found missing _nv037932rm MIF credit release (MIF+0xe08 = 0x18, MIF+0xa8c = 0x3) and missing _nv038499rm MINION equalization (DLCMD 0x0d INITNEGOTIATE, 0x0e INITOPTIMIZE, 0x0f POST_INITOPTIMIZE), leaving DLPL+0x2300..0x2308 un-equalized (0x0b1 vs 0x12a).

R3-01: Honor NV_MEMORY_WRITECOMBINED (pgprot_writecombine) for BAR1 IO Mappings

  • Hypothesis & REA evidence: nv_rs_rmapi_os_map_video (kernel-open/nvidia/rmapi_node.c:696) sets context->mapping.caching = 2 (NV_MEMORY_WRITECOMBINED), matching stock nv-mmap.c:nv_encode_caching, while nv_rs_rmapi_os_map_register (BAR0) sets caching = 6 (UC). However nv_rs_rmapi_mmap hardcoded pgprot_noncached for all IO mappings, forcing every CPU write to BAR1 VRAM / USERD / GPFIFO / CUDA Graph pushbuffers through uncached UC- transactions.
  • Files touched: kernel-open/nvidia/rmapi_node.c
  • Baseline (dd814af) vs. Candidate (0000:b3:00.0 VFIO VM, clean_unload: true):
    • cuda_graph_50ops_us: 82.80–85.66 → 80.20 µs (-3.1% to -6.4%, best ever on nvidia_rs.ko)
    • eager_launch_us: 7.54 → 7.07 µs (-6.2%)
    • llama_tg128_tps: 497.67 → 498.70 tok/s
    • hbm_d2d_gbps: 1,018.68 GB/s, stream_triad_gbps: 1,040.80 GB/s, pcie_h2d_gbps: 12.36 GB/s, pcie_d2h_gbps: 13.16 GB/s, clean_unload: true.
  • Decision: KEEP (196b9e5) — Clean 4-line stock parity fix delivering -3.1% to -6.4% CUDA Graph latency and -6.2% eager launch latency with zero regressions.

R3-02: GV100 MINION Equalization (DLCMD 0x0d/0x0e/0x0f) + _nv037932rm MIF 24-Credit Release

  • Hypothesis & REA evidence: Decompiled _nv038499rm (ioctrlSetLinkMode_GV100 modes 0x13/0x14/0x16 -> MINION DLCMD 0x0d INITNEGOTIATE, 0x0e INITOPTIMIZE, 0x0f POST_INITOPTIMIZE) and _nv037932rm (MIF+0xe08 = 0x18, MIF+0xa8c = 0x3). Added simultaneous two-ended MINION negotiation/equalization in set_nvlink_ready_and_train before SAFE -> HS -> ACTIVE, and added _nv037932rm credit release in init_mif.
  • Files touched: src/nvidia/src/gpu/nvlink_gv100.rs, src/nvidia/kernel/rmapi_engine.rs
  • Baseline (196b9e5) vs. Candidate (2-GPU b2+b3 VFIO VM, clean_unload: true):
    • NV2_P2P_BIDIR: 72.22 → 75.20 GB/s (+4.1%, exact 2.00× full duplex)
    • NV2_P2P_UNIDIR: 37.60 GB/s (data integrity PASS (0x12345678), nvidia-smi topo -m = NV2)
    • Hardware verification: DLPL+0x2300..0x2308 equalized (0x0b1 → 0x150), MIF+0xe08 = 0x18, MIF+0xa8c = 0x3, clean_unload: true.
  • Decision: KEEP (de15ca1) — +4.1% bidirectional NVLink P2P throughput and full stock MINION link equalization for multi-GPU trace stability.

R3-03: Fix GV100 DLCMD_INITPLL Opcode (0x21 20 Gbps → 0x20 25.78125 Gbps)

  • Hypothesis & REA evidence: 1-CE vs. 2-CE same-direction NV2 P2P test (1_STREAM_PUSH = 37.59, 1_STREAM_PULL = 37.40, 2_CE_SAME_DIR = 37.51 GB/s) proved the 37.60 GB/s cap was the physical NVLink line rate (37.59 / 40.0 = 93.98% efficiency = 20.0 Gbps). Cross-checking _nv047367rm / _nv047368rm against nvrm_registry.h:1934-1940 revealed a swapped enum in nvlink_gv100.rs: SPEED_20G (3) -> 0x21, while SPEED_25_78125G (8) / DEFAULT (0) -> 0x20.
  • Files touched: src/nvidia/src/gpu/nvlink_gv100.rs
  • Baseline (de15ca1) vs. Candidate (2-GPU b2+b3 VFIO VM, clean_unload: true):
    • NV2_P2P_UNIDIR: 37.60 → 40.05 GB/s (+6.5%, +10.5% over initial 36.24 GB/s baseline)
    • NV2_P2P_BIDIR: 75.20 → 79.40 GB/s (+5.6%, +10.0% over initial 72.22 GB/s baseline)
    • DATA_INTEGRITY: PASS (0x12345678), nvidia-smi topo -m = NV2, clean_unload: true.
  • Decision: KEEP (03a3e5d) — Clean 1-byte stock parity fix unlocking +6.5% unidir / +5.6% bidir NVLink 2.0 throughput.

R3-04: Dedicated-GRCE 2-PCE LCE Mapping, MIF_BASE (0xa044c0..5f8), & NV_CE_LCE (0x104414 = 0x0a)

  • Hypothesis & REA evidence: Tested dedicated-GRCE 2-PCE LCE mapping (0x104040..0x104060 = [2,3,4,4,0,1,0xf,0xf,0xf], grce = [0,0]), MIF_BASE (0xa044c0/c8=3, 0xa045b0/f8=6), and NV_CE_LCE+0x14 (0x104414..0x104814 = 0x0a) on top of 03a3e5d.
  • Measured (2-GPU b2+b3 VFIO VM, clean_unload: true):
    • 2-PCE LCE: 40.06 GB/s unidir / 79.24 GB/s bidir (2_CE_SAME_DIR = 39.95 GB/s) — zero gain.
    • MIF_BASE: 40.05 GB/s — zero gain.
    • 0x104414 = 0x0a: 40.05 GB/s — zero gain.
  • Decision: REVERT — Zero measured gain; reverted cleanly to 03a3e5d.

Round 4: 8-GPU Silicon-Binning V/F & Release Polish

R4-01 — PMU Level-2 SEQ NV_THERM_VID0_PWM_1 (0x20344) Voltage Scaling

  • Hypothesis & REA evidence: Two of eight V100s on geodd03 (GPU1/GPU3) hit SM_HWW_GLOBAL_ESR (0x419e84) = 0x1c01 at 1425 MHz (v100_p0_gpc_ndiv=190) while VID0_PWM_1 (0x20344) stayed at VBIOS boot 0x43 (67/160, ~0.83 V). Live BAR0 read of NV_THERM_VID0_PWM_PRIV_LEVEL_MASK (0x20324) showed 0x0000008f (read: L0–L3, write: bit 7 = Level 3 HS-only). REA of _nv056272rm (seqScriptInsert_WRITE_REG) confirmed PMU Sequencer opcode 0x21 (0x0005_0021, 0x20340, new0, 0x20344, new1, 0x0002_0016, 0 via RM_PMU_UNIT_SEQ). Tested Level-2 PMU SEQ writes to 0x20340/0x20344 on live hardware.
  • Measured result: 0x20344 remained 0x43 (67) because 0x20324 = 0x8f requires Priv Level 3 (HS-signed PMU VOLT overlay), blocking both CPU Level-0 and PMU SEQ Level-2 writes.
  • Decision: REVERT Level-2 PMU SEQ VID0_PWM attempt; KEEP v100_p0_gpc_ndiv=172 (1290 MHz, stock V100 base clock) all-bin-safe default (b88fc06), which passes 8-GPU PyTorch DDP (497,072 tok/s, 275.4 TFLOPS, 0.0e+00 weight diff), 8-GPU layer-split llama.cpp (30,170 tok/s pp512, 492.3 tok/s tg128), and 8-GPU simultaneous GEMM (775.1 TFLOPS FP16 / 103.4 TFLOPS FP32) with TAINT = 12288. Full dynamic >1290 MHz V/F scaling across all silicon bins requires uploading the VBIOS VOLT/PERF boardobj tables to PMU RM_PMU_UNIT_VOLT (Level-3 HS overlay).