AMD Brings Ryzen Overclocking Driver to Linux (phoronix.com) 18
AMD has published Linux kernel patches for an official Ryzen overclocking driver that allows users to adjust CPU power and current limits through a firmware interface exposed via sysfs. Phoronix reports: AMD engineer Shyam Sundar S K posted the patches for the AMD Overclocking "AOD" WMI driver as an interface to the platform firmware for managing overclocking and power/current limits of modern Ryzen CPUs.
The driver in its initial form allows setting via sysfs a number of CPU tunables including the Package Power Tracking (PPT), Thermal Design Current (TDC), and Electrical Design Current (EDC) limits along with reading their supported range. SMT toggling can also be done via the interface as an alternative to the likes of Linux's "nosmt" option in disabling SMT at the platform level rather than kernel disabling. The current memory clocks can also be read via this AOD driver.
The power tunables aren't applied in real-time but go into effect at next reboot. The firmware does support many more commands compared to the few initially wired up and hopefully in time more of these controls will be enabled with this driver.
The driver in its initial form allows setting via sysfs a number of CPU tunables including the Package Power Tracking (PPT), Thermal Design Current (TDC), and Electrical Design Current (EDC) limits along with reading their supported range. SMT toggling can also be done via the interface as an alternative to the likes of Linux's "nosmt" option in disabling SMT at the platform level rather than kernel disabling. The current memory clocks can also be read via this AOD driver.
The power tunables aren't applied in real-time but go into effect at next reboot. The firmware does support many more commands compared to the few initially wired up and hopefully in time more of these controls will be enabled with this driver.
Just in time (Score:4, Funny)
Winter is coming. And I need to get the office space heater fired up.
Re: (Score:2)
I just disabled PBO on two motherboards because I didn't want a space heater or damage another cpu. One older cpu went flakey with "cpu errors" after two years and would only run at reduced load.
In the olden days you never ran hardware above 80 c. A linux utility for monitoring power is ok, but I'm done frying silicon for a few more mips.
Re: (Score:2)
- fired, see what I did there?
Re: (Score:3)
Re: (Score:2)
In the olden days you never ran hardware above 80 c.
In the olden days the chip in your CPU was made from different materials assembled in a different way than today. Not all silicon is the same, not all transistors are the same. There's a reason why some devices burn out at 75C junction temperature, and others can stand easily over 150C.
Also we don't measure temperature the same as we always did. That 80C in your "olden days" CPU... it probably is the same 100C as your current one. Multi-point precision on die temperature sensing is something from the past d
Re: (Score:2)
> One older cpu went flakey with "cpu errors"
That's often the thermal paste drying out. Clean the fan, repaste the chip, good for a few more years.
Usually.
Re: (Score:2)
It's called compewt now, not waste heat.
Seasonal GPU mining (Score:2)
Winter is coming. And I need to get the office space heater fired up.
A space heater? Did you perhaps mean the seasonal GPU mining? :-)
Re: (Score:2)
Re: (Score:1)
Erm, so what other than heat is this electrical energy transformed into?
Back to Physics 101.
Re: (Score:2)
Go check https://www.youtube.com/watch?... [youtube.com]
Re: (Score:2)
How about underclocking? (Score:2)
I'd like to be able to fine tune the CPU towards using *less* power not more. I have a separate heating system thank you very much.
Re: (Score:2)
Most Windows "overclockers" are using PBO with the curve optimizer on any recent AMD CPU to actually run undervolted.
Re: (Score:2)
it's called CPU frequency scaling and has been supported since about 20 years now
Re: (Score:2)
I'd like to be able to fine tune the CPU towards using *less* power not more. I have a separate heating system thank you very much.
As a guy who spends a lot of time just writing, it'd be great if there was an automated "set to normal" that kicks in when I send a task to one of the taxing queues for the processor, and keeps it hovering just above "noticeable lag in the editor" the rest of the time. Underclocking would be great as my daily driving range, with automated 'turn it up' when I kick on the local AI driven editing routines that spill out of the GPU at times.
Re: How about underclocking? (Score:2)
There are CPU governors which can help with that. It's gotten easier to play with them recently
Re: (Score:2)