Undervolting a 4090 for 24/7 inference duty
My 4090 has been running llama-server around the clock since March, and after two thermal shutdowns in the summer I finally did the undervolt properly instead of just raising the fan curve. Results after six weeks of stable 24/7 duty:
core clock voltage power draw mem temp tg128
stock (default) 2775MHz 1.100V 430W peak 88°C 34.1 tok/s
undervolted 2610MHz 0.975V 295W peak 71°C 33.6 tok/s
That is a 1.5% performance loss for a 31% power cut and 17°C off the memory temperature. The method, for anyone who has not done this on Ada:
- Open Afterburner, hit Ctrl+F for the voltage/frequency curve.
- Find the 0.975V point, drag it to 2610MHz, then flatten everything to the right of it so the card cannot boost past your point.
- Stress-test with your actual workload — inference is a different thermal profile from gaming or FurMark, and llama.cpp's all-bandwidth-all-the-time pattern is what cooks VRAM, not the core.
The important number is the memory junction temperature, not core temp. GDDR6X on the 4090 is the thing that dies, and it is throttling well before your core gets uncomfortable. Mine idled at 88°C under stock inference load, which is squarely in the "this card has months to live" range.
For people who find curve editing fiddly: sudo nvidia-smi -pl 280 gets you 80% of the benefit in one command. It will not fix the voltage-per-clock curve, but the card drops to a more efficient boost point under a power cap, and for a headless inference box that is usually good enough. My 3090 at 280W versus 350W stock loses 3% decode and 14°C.
One caveat specific to inference: do not touch the memory clock to save power. Decode on llama.cpp is almost purely memory-bandwidth-bound, so any memory undervolt/underclock hits your tok/s one-to-one while the core undervolt is nearly free. Core voltage, memory clocks untouched.
Six weeks is a good data point — most undervolt threads die right after the stress test passes and nobody reports back at month two. Two questions for the long-duration angle: did you log VRAM temps over the whole period, and did you touch the fan curve at all? My experience is that 24/7 duty kills fans before it kills cards, and a 40% fan ceiling that is fine for gaming turns into a dust-caked 92°C memory cooker by month four.
My 24/7 box now runs a fixed 55% fan with a monthly dust ritual, and the undervolt you describe is the missing piece — at 295W peak my intake air stops being the limiting factor. Adding it to the maintenance wiki page if nobody objects.