aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-01-07 08:23:12 -0600
committerGitHub2021-01-07 08:23:12 -0600
commitd316df8c70867735fd031a6eb412c5a315632d9f (patch)
tree9f86050a1fcf1c3af30fb6207264a9b77432f6b2
parente9c6cfb339f322f87efeed02a8ffa320d421649d (diff)
Create clock.md
-rw-r--r--pages/linux/clock.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/pages/linux/clock.md b/pages/linux/clock.md
new file mode 100644
index 0000000..9fbda3d
--- /dev/null
+++ b/pages/linux/clock.md
@@ -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`