Create clock.md

This commit is contained in:
Anthony Wang 2021-01-07 08:23:12 -06:00 committed by GitHub
parent e9c6cfb339
commit d316df8c70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
pages/linux/clock.md Normal file
View file

@ -0,0 +1,19 @@
# Clocking
> Change clock of various components
- Set CPU governor to performance:
`sudo cpupower frequency-set -g performance`
- Set CPU governor to powersave:
`sudo cpupower frequency-set -g powersave`
- Print dedicated GPU clocks
`sudo cpupower frequency-set -g performance`
- Reclock the dedicated GPU
`echo {{pstate}} | sudo tee /sys/kernel/debug/dri/1/pstate`