Ryzen P-State overclocking in Linux
Zenstates In linux
Creating a service that changes the default high performance clock speed of my first generation ryzen
Systemd Service
/etc/systemd/system/ryzen-overclock.service
[Unit]
Description=Ryzen Overclock
DefaultDependencies=no
After=sysinit.target local-fs.target
Before=basic.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/enable-pstates
[Install]
WantedBy=basic.target
Script
/usr/local/bin/enable-pstates
## P0 = 3.800GHz, 1.3750v
zenstates.py -p 0 -f 98 -d 8 -v 1c
## List the result.
zenstates.py -l