aboutsummaryrefslogtreecommitdiff
path: root/pages/linux/clock.md
diff options
context:
space:
mode:
Diffstat (limited to 'pages/linux/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`