From 04b22b8318a3884318c21932283585697b70462f Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Tue, 3 Oct 2023 12:06:34 +0200 Subject: [PATCH] fix(system-upgrade): Rollout fix for CPU boost disabling Reference: https://shivering-isles.com/power-efficency-problems-amd-cpus-linux-6.5.5 --- .../system-upgrades/fedora-temperature-management.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/system-upgrades/fedora-temperature-management.yaml b/infrastructure/system-upgrades/fedora-temperature-management.yaml index ac8fa9f6c..37e26db2b 100644 --- a/infrastructure/system-upgrades/fedora-temperature-management.yaml +++ b/infrastructure/system-upgrades/fedora-temperature-management.yaml @@ -12,7 +12,7 @@ stringData: [Service] Type=oneshot - ExecStart=/bin/sh -c "echo 0 > /sys/devices/system/cpu/cpufreq/boost" + ExecStart=/bin/sh -c "echo passive > /sys/devices/system/cpu/amd_pstate/status; echo 0 > /sys/devices/system/cpu/cpufreq/boost" cpu-boost-disable.timer: | [Unit] Description=Disable overclocking on CPU on boot after 5 minutes @@ -63,6 +63,6 @@ spec: path: /host/run/system-upgrade/secrets/fedora version: 1.0.0 upgrade: - image: quay.io/fedora/fedora:36 + image: quay.io/fedora/fedora:38 command: ["chroot", "/host"] args: ["sh", "/run/system-upgrade/secrets/fedora/install.sh"] -- GitLab