dietpi-config only has CPU Governor "performance" and "powersave" Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
mail2rst
Posts: 135
Joined: Fri Apr 13, 2018 4:53 pm

Re: dietpi-config only has CPU Governor "performance" and "powersave"

Post by mail2rst »

Given command give following result
`
root@DietPi:~# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_driver
intel_pstate
root@DietPi:~#

`
User avatar
MichaIng
Site Admin
Posts: 3105
Joined: Sat Nov 18, 2017 6:21 pm

Re: dietpi-config only has CPU Governor "performance" and "powersave"

Post by MichaIng »

So then all is perfectly fine and as expected. To decide whether powersave or performance is better, the statistics may help, e.g. check how long (aggregated) the CPU resides in which state:
cat /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state
and check long-term average CPU temperature and responsiveness of applications. If powersave serves sufficient responsiveness, then there is not reason to waste energy ;). Both do clock up to max frequencies, in case of high load, if I understood it correctly, it's just the question how quickly (intermediate steps or directly) and which CPU load breakpoint(s) are used. The stats in /sys/devices/system/cpu/cpufreq/policy0/stats/ after 1-2 days should give a hint.
mail2rst
Posts: 135
Joined: Fri Apr 13, 2018 4:53 pm

Re: dietpi-config only has CPU Governor "performance" and "powersave"

Post by mail2rst »

last command give this result

Code: Select all

root@DietPi:~# cat /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state
cat: /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state: No such file or directory
root@DietPi:~#

this folder contains only these files

Code: Select all

root@DietPi:/sys/devices/system/cpu/cpufreq/policy0# dir
affected_cpus     cpuinfo_min_freq            related_cpus                 scaling_cur_freq  scaling_governor  scaling_min_freq
cpuinfo_max_freq  cpuinfo_transition_latency  scaling_available_governors  scaling_driver    scaling_max_freq  scaling_setspeed
root@DietPi:/sys/devices/system/cpu/cpufreq/policy0#
User avatar
MichaIng
Site Admin
Posts: 3105
Joined: Sat Nov 18, 2017 6:21 pm

Re: dietpi-config only has CPU Governor "performance" and "powersave"

Post by MichaIng »

Dammit, no stats provided by intel_pstate driver then :(.
Post Reply