Hugo Future Imperfect Slim

Adventures in Userland

Exploring the wonders of technology

Thomas Peters

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

Zenstates.

Recent Posts

categories

About

test