Powersave CPU governor instead of performance

When typing in terminal :

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

I’ve noticed that Clear Linux uses the powersave CPU governor instead of performance which is supposed to be the default.

I didn’t change anything on my computer.

Is it a change made by the Clear Linux developpers ?

2 Likes

The CPU governor is back to performance in Clear Linux 35390

1 Like

It’s back to powersave in Clear Linux 35860

Are you running Clear on a laptop ?

Yes I’m using a laptop. But I’ve been using Clear Linux for a year and it always has been on performance.

Except now.

There was a change in clr-power-tweaks that went in at the end of October to select the performance setting for servers, and powersave for everything else.
I don’t know why you saw it flip back to performance in December, although there was a brief period a couple of months ago when we had to fix a crashing bug in clr-power-tweaks.
If you want to permanently switch to performance despite the CPU identified, you can check out the man page

man 5 clr-power-tweaks

or just copy and paste the following line into /etc/clr-power-tweaks.conf

/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor performance

and that should ensure it is set the way you want after any reboots or updates.

2 Likes

I’ve just created the /etc/clr-power-tweaks.conf file and added /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor performance inside and rebooted but the powersave CPU governor remains

1 Like

This is what happens when I don’t test this out for myself :slight_smile: You may have found a bug.

1 Like

Looks like this has been fixed in 36020 (or if not then, in 36030). @erik Could you update to the latest and retry?

Thanks,
Chris

1 Like

I’ve upgraded to 36030, rebooted and the CPU governor is now performance like I wanted.

Thanks @pixelgeek .

1 Like

Good to hear - thanks for the feedback

1 Like

i created a systemd oneshot module to run at boot time which calls a bash script that runs…

for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo "performance" > $file; done

… to not have to think about what the default being set is.

I’m having trouble switching from performance to powersave on an AMD mini-pc.

phillip@amr5~ $ uname -a
Linux amr5 6.4.12-1350.native #1 SMP Wed Aug 23 08:56:31 PDT 2023 x86_64 GNU/Linux

phillip@amr5~ $ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         48 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  16
  On-line CPU(s) list:   0-15
Vendor ID:               AuthenticAMD
  Model name:            AMD Ryzen 7 5800U with Radeon Graphics
    CPU family:          25
    Model:               80
    Thread(s) per core:  2
    Core(s) per socket:  8
    Socket(s):           1
    Stepping:            0
    Frequency boost:     enabled
    CPU(s) scaling MHz:  44%
    CPU max MHz:         4505.0781
    CPU min MHz:         1600.0000
    BogoMIPS:            3792.95
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rd
                         tscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe 
                         popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce top
                         oext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep
                          bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm
                         _mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pa
                         usefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm

phillip@amr5~ $ cat /etc/clr-power-tweaks.conf
/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor powersave

phillip@amr5~ $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance

journalctl shows something odd going on.

phillip@amr5~ $ journalctl | grep clr_power
Aug 26 14:00:10 amr5 sudo[1050]:  phillip : TTY=pts/0 ; PWD=/home/phillip ; USER=root ; COMMAND=/usr/bin/clr_power --debug
Aug 26 14:06:34 amr5 sudo[629]:  phillip : TTY=pts/0 ; PWD=/home/phillip ; USER=root ; COMMAND=/usr/bin/clr_power -d --desktop
Aug 26 14:10:46 amr5 clr_power[545]: Writing "50" to /proc/sys/vm/dirty_ratio
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1" to /proc/sys/kernel/unprivileged_bpf_disabled
Aug 26 14:10:46 amr5 clr_power[545]: Writing "5" to /proc/sys/vm/dirty_background_ratio
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1500" to /proc/sys/vm/dirty_writeback_centisecs
Aug 26 14:10:46 amr5 clr_power[545]: Writing "10" to /proc/sys/vm/swappiness
Aug 26 14:10:46 amr5 clr_power[545]: Writing "30000" to /sys/kernel/mm/transparent_hugepage/khugepaged/scan_sleep_millisecs
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /sys/devices/virtual/graphics/fbcon/cursor_blink
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /sys/kernel/rcu_expedited
Aug 26 14:10:46 amr5 clr_power[545]: Writing "65536" to /proc/sys/vm/mmap_min_addr
Aug 26 14:10:46 amr5 clr_power[545]: Writing "100" to /proc/sys/vm/extfrag_threshold
Aug 26 14:10:46 amr5 clr_power[545]: Writing "4000" to /sys/kernel/mm/ksm/sleep_millisecs
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1000" to /sys/kernel/mm/ksm/pages_to_scan
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1703936" to /proc/sys/net/core/rmem_max
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1703936" to /proc/sys/net/core/wmem_max
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1" to /proc/sys/net/core/high_order_alloc_disable
Aug 26 14:10:46 amr5 clr_power[545]: No match for pattern "/proc/sys/kernel/sched_min_granularity_ns"
Aug 26 14:10:46 amr5 clr_power[545]: No match for pattern "/proc/sys/kernel/sched_migration_cost_ns"
Aug 26 14:10:46 amr5 clr_power[545]: No match for pattern "/proc/sys/kernel/sched_wakeup_granularity_ns"
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1" to /sys/module/snd_hda_intel/parameters/power_save
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu11/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu9/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu14/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu12/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu10/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu8/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu15/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu13/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "performance" to /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: No match for pattern "/sys/devices/system/cpu/intel_pstate/min_perf_pct"
Aug 26 14:10:46 amr5 clr_power[545]: Writing "fq" to /proc/sys/net/core/default_qdisc
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /proc/sys/net/ipv4/conf/all/accept_redirects
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /proc/sys/net/ipv6/conf/all/accept_redirects
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /proc/sys/net/ipv4/conf/default/accept_redirects
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /proc/sys/net/ipv6/conf/default/accept_redirects
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /proc/sys/net/ipv4/conf/all/send_redirects
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /proc/sys/net/ipv4/conf/default/send_redirects
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /proc/sys/net/ipv4/conf/all/secure_redirects
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /proc/sys/net/ipv4/conf/default/secure_redirects
Aug 26 14:10:46 amr5 clr_power[545]: Writing "med_power_with_dipm" to /sys/class/scsi_host/host1/link_power_management_policy
Aug 26 14:10:46 amr5 clr_power[545]: Writing "med_power_with_dipm" to /sys/class/scsi_host/host0/link_power_management_policy
Aug 26 14:10:46 amr5 clr_power[545]: Writing "bfq" to /sys/block/sda/queue/scheduler
Aug 26 14:10:46 amr5 clr_power[545]: Writing "4096" to /sys/block/sda/queue/nr_requests
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1024" to /sys/block/sda/queue/read_ahead_kb
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1" to /sys/block/sda/queue/add_random
Aug 26 14:10:46 amr5 clr_power[545]: Writing "bfq" to /sys/block/nvme0n1/queue/scheduler
Aug 26 14:10:46 amr5 clr_power[545]: Writing "bfq" to /sys/block/nvme1n1/queue/scheduler
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1" to /sys/block/nvme0n1/queue/iosched/low_latency
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1" to /sys/block/nvme1n1/queue/iosched/low_latency
Aug 26 14:10:46 amr5 clr_power[545]: Writing "2048" to /sys/block/nvme0n1/queue/nr_requests
Aug 26 14:10:46 amr5 clr_power[545]: Writing "2048" to /sys/block/nvme1n1/queue/nr_requests
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1024" to /sys/block/nvme0n1/queue/read_ahead_kb
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1024" to /sys/block/nvme1n1/queue/read_ahead_kb
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1" to /sys/block/nvme0n1/queue/add_random
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1" to /sys/block/nvme1n1/queue/add_random
Aug 26 14:10:46 amr5 clr_power[545]: No match for pattern "/proc/sys/kernel/sched_itmt_enabled"
Aug 26 14:10:46 amr5 clr_power[545]: Writing "1" to /sys/devices/system/cpu/microcode/reload
Aug 26 14:10:46 amr5 clr_power[545]: No match for pattern "/sys/devices/system/cpu/cpu0/power/energy_perf_bias"
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /proc/sys/kernel/nmi_watchdog
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /sys/block/sda/queue/iosched/slice_idle
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /sys/block/nvme0n1/queue/iosched/slice_idle
Aug 26 14:10:46 amr5 clr_power[545]: Writing "0" to /sys/block/nvme1n1/queue/iosched/slice_idle
Aug 26 14:10:46 amr5 clr_power[545]: No match for pattern "/sys/devices/system/cpu/intel_uncore_frequency/package_00_die_00/max_freq_khz"
Aug 26 14:10:46 amr5 clr_power[545]: No match for pattern "/sys/devices/system/cpu/intel_uncore_frequency/package_01_die_00/max_freq_khz"
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb3/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb3/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb3/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb1/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb1/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb1/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb4/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb4/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb4/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/4-1/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/4-1/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/4-1/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb2/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb2/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/usb2/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/3-3/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/3-3/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/3-1/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/3-1/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/usb/devices/3-1/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "auto" to /sys/bus/pci/devices/0000:02:00.0/power/control
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy11/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy8/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy6/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy4/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Cannot write "powersave" to /sys/devices/system/cpu/cpufreq/boost/scaling_governor: Not a directory
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy2/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy14/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy12/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy9/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy10/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy7/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy5/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy3/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy15/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy1/scaling_governor
Aug 26 14:10:46 amr5 clr_power[545]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy13/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "50" to /proc/sys/vm/dirty_ratio
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1" to /proc/sys/kernel/unprivileged_bpf_disabled
Aug 26 14:20:48 amr5 clr_power[546]: Writing "5" to /proc/sys/vm/dirty_background_ratio
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1500" to /proc/sys/vm/dirty_writeback_centisecs
Aug 26 14:20:48 amr5 clr_power[546]: Writing "10" to /proc/sys/vm/swappiness
Aug 26 14:20:48 amr5 clr_power[546]: Writing "30000" to /sys/kernel/mm/transparent_hugepage/khugepaged/scan_sleep_millisecs
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /sys/devices/virtual/graphics/fbcon/cursor_blink
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /sys/kernel/rcu_expedited
Aug 26 14:20:48 amr5 clr_power[546]: Writing "65536" to /proc/sys/vm/mmap_min_addr
Aug 26 14:20:48 amr5 clr_power[546]: Writing "100" to /proc/sys/vm/extfrag_threshold
Aug 26 14:20:48 amr5 clr_power[546]: Writing "4000" to /sys/kernel/mm/ksm/sleep_millisecs
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1000" to /sys/kernel/mm/ksm/pages_to_scan
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1703936" to /proc/sys/net/core/rmem_max
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1703936" to /proc/sys/net/core/wmem_max
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1" to /proc/sys/net/core/high_order_alloc_disable
Aug 26 14:20:48 amr5 clr_power[546]: No match for pattern "/proc/sys/kernel/sched_min_granularity_ns"
Aug 26 14:20:48 amr5 clr_power[546]: No match for pattern "/proc/sys/kernel/sched_migration_cost_ns"
Aug 26 14:20:48 amr5 clr_power[546]: No match for pattern "/proc/sys/kernel/sched_wakeup_granularity_ns"
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1" to /sys/module/snd_hda_intel/parameters/power_save
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu11/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu9/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu14/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu12/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu10/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu8/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu15/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu13/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "performance" to /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: No match for pattern "/sys/devices/system/cpu/intel_pstate/min_perf_pct"
Aug 26 14:20:48 amr5 clr_power[546]: Writing "fq" to /proc/sys/net/core/default_qdisc
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /proc/sys/net/ipv4/conf/all/accept_redirects
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /proc/sys/net/ipv6/conf/all/accept_redirects
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /proc/sys/net/ipv4/conf/default/accept_redirects
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /proc/sys/net/ipv6/conf/default/accept_redirects
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /proc/sys/net/ipv4/conf/all/send_redirects
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /proc/sys/net/ipv4/conf/default/send_redirects
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /proc/sys/net/ipv4/conf/all/secure_redirects
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /proc/sys/net/ipv4/conf/default/secure_redirects
Aug 26 14:20:48 amr5 clr_power[546]: Writing "med_power_with_dipm" to /sys/class/scsi_host/host1/link_power_management_policy
Aug 26 14:20:48 amr5 clr_power[546]: Writing "med_power_with_dipm" to /sys/class/scsi_host/host0/link_power_management_policy
Aug 26 14:20:48 amr5 clr_power[546]: Writing "bfq" to /sys/block/sda/queue/scheduler
Aug 26 14:20:48 amr5 clr_power[546]: Writing "4096" to /sys/block/sda/queue/nr_requests
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1024" to /sys/block/sda/queue/read_ahead_kb
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1" to /sys/block/sda/queue/add_random
Aug 26 14:20:48 amr5 clr_power[546]: Writing "bfq" to /sys/block/nvme0n1/queue/scheduler
Aug 26 14:20:48 amr5 clr_power[546]: Writing "bfq" to /sys/block/nvme1n1/queue/scheduler
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1" to /sys/block/nvme0n1/queue/iosched/low_latency
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1" to /sys/block/nvme1n1/queue/iosched/low_latency
Aug 26 14:20:48 amr5 clr_power[546]: Writing "2048" to /sys/block/nvme0n1/queue/nr_requests
Aug 26 14:20:48 amr5 clr_power[546]: Writing "2048" to /sys/block/nvme1n1/queue/nr_requests
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1024" to /sys/block/nvme0n1/queue/read_ahead_kb
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1024" to /sys/block/nvme1n1/queue/read_ahead_kb
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1" to /sys/block/nvme0n1/queue/add_random
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1" to /sys/block/nvme1n1/queue/add_random
Aug 26 14:20:48 amr5 clr_power[546]: No match for pattern "/proc/sys/kernel/sched_itmt_enabled"
Aug 26 14:20:48 amr5 clr_power[546]: Writing "1" to /sys/devices/system/cpu/microcode/reload
Aug 26 14:20:48 amr5 clr_power[546]: No match for pattern "/sys/devices/system/cpu/cpu0/power/energy_perf_bias"
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /proc/sys/kernel/nmi_watchdog
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /sys/block/sda/queue/iosched/slice_idle
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /sys/block/nvme0n1/queue/iosched/slice_idle
Aug 26 14:20:48 amr5 clr_power[546]: Writing "0" to /sys/block/nvme1n1/queue/iosched/slice_idle
Aug 26 14:20:48 amr5 clr_power[546]: No match for pattern "/sys/devices/system/cpu/intel_uncore_frequency/package_00_die_00/max_freq_khz"
Aug 26 14:20:48 amr5 clr_power[546]: No match for pattern "/sys/devices/system/cpu/intel_uncore_frequency/package_01_die_00/max_freq_khz"
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb3/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb3/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb3/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb1/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb1/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb1/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb4/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb4/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb4/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/4-1/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/4-1/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/4-1/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb2/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb2/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/usb2/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/3-3/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/3-3/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/3-1/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/3-1/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/usb/devices/3-1/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "auto" to /sys/bus/pci/devices/0000:02:00.0/power/control
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy11/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy8/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy6/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy4/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Cannot write "powersave" to /sys/devices/system/cpu/cpufreq/boost/scaling_governor: Not a directory
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy2/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy14/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy12/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy9/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy10/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy7/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy5/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy3/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy15/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy1/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpufreq/policy13/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu11/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu9/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu14/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu12/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu10/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu8/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu15/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu13/cpufreq/scaling_governor
Aug 26 14:20:48 amr5 clr_power[546]: Writing "powersave" to /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Aug 26 14:29:08 amr5 sudo[707]:  phillip : TTY=pts/0 ; PWD=/home/phillip ; USER=root ; COMMAND=/usr/bin/clr_power -d --desktop

phillip@amr5~ $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance

by replacing performance to powersave it should use powersave instead