Files
infrastructure/llm-server/host/ansible/roles/gpu_fan_control/defaults/main.yml
T
spektr ed446d4b17 GNAI-010 v0.19: Luefterkurven-Service gpu_fan_control als Dauerloesung (10.10)
Rolle gpu_fan_control im Host-Projekt: Systemdienst gnai-gpu-fan-control
steuert beide Karten PCI-stabil aus der Junction-Temperatur (Anker
50/58/66/72/76C -> 0/80/140/200/255 PWM, 5s-Zyklus, fallende Hysterese,
EXIT-Failsafe auf Werksteuerung, Re-Assert je Zyklus). Preview, Deploy,
Idempotenz und Kurzlastsanity bestanden. BFCL-Restserie laeuft wieder
unter Luefterschutz.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-05 13:36:00 +01:00

35 lines
1.5 KiB
YAML

# GPU fan curve control (GNAI-010 section 10.10, decision of 2026-11-05).
# The factory fan curves of the amdgpu cards ramp far too slowly for the
# cramped dual-GPU layout (SW CTF incident 2026-11-03). This role installs a
# small system service that drives the fan PWM of the configured cards from
# their junction temperature and restores factory control on exit.
gpu_fan_control_install_dir: /usr/local/lib/ghostnet-ai
gpu_fan_control_script: gnai-gpu-fan-control.sh
gpu_fan_control_service: gnai-gpu-fan-control
# PCI addresses of the amdgpu cards to control. PCI addressing is stable
# across DRM renumbering; the slot layout (card sandwich) is the thermal
# constraint, not the specific card.
gpu_fan_control_pci_addresses:
- "0000:03:00.0"
- "0000:07:00.0"
# Junction temperature (celsius) to PWM (0..255) curve anchors. The
# controller interpolates linearly between anchors. Below the first anchor
# the fans rest at PWM 0 (idle zero-RPM), by 76 celsius they reach full
# duty, matching the verified PWM override plateau (GNAI-010 10.10).
gpu_fan_control_curve:
- { temp_c: 50, pwm: 0 }
- { temp_c: 58, pwm: 80 }
- { temp_c: 66, pwm: 140 }
- { temp_c: 72, pwm: 200 }
- { temp_c: 76, pwm: 255 }
# Control behaviour: the PWM target is raised immediately but lowered only
# after the target falls at least pwm_step * 2 below the current value
# (falling hysteresis against oscillation). Targets are quantized to
# pwm_step to avoid constant micro changes.
gpu_fan_control_pwm_step: 16
gpu_fan_control_interval_seconds: 5