Sorry, just one more thermald debug log to attach, as I was able to reproduce the issue with the read-only sysfs attributes. After stopping thermald in debug mode at the previous session, I was unable to change pscale's max_perf_pct or any/all of my CPU's scaling_max_freq past a certain point.
But when I restarted thermald (in debug mode again, attaching log), it now correctly saw that my CPU was cool and turned up my performance all the way again.
pstate-frequency version 3.7.2
pstate::CPU_DRIVER -> intel_pstate
pstate::CPU_GOVERNOR -> performance
pstate::TURBO -> 0 [ON]
pstate::CPU_MIN -> 50% [1850000KHz]
pstate::CPU_MAX -> 100% [3700000KHz]
So I guess it's just rather fussy. If it was properly putting my performance back to max then I wouldn't really have too much cause to complain but as it is it can restrict me until it's restarted.
Sorry, just one more thermald debug log to attach, as I was able to reproduce the issue with the read-only sysfs attributes. After stopping thermald in debug mode at the previous session, I was unable to change pscale's max_perf_pct or any/all of my CPU's scaling_max_freq past a certain point.
root@ossy:~# echo 100 | tee /sys/devices/ system/ cpu/intel_ pstate/ max_perf_ pct system/ cpu/intel_ pstate/ * system/ cpu/intel_ pstate/ max_perf_ pct:50 system/ cpu/intel_ pstate/ min_perf_ pct:50 system/ cpu/intel_ pstate/ no_turbo: 0 system/ cpu/intel_ pstate/ num_pstates: 22 system/ cpu/intel_ pstate/ turbo_pct: 19
100
root@ossy:~# grep . /sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
root@ossy:~# for i in /sys/devices/ system/ cpu/cpu[ 0-3]/cpufreq/ ; do
> cat $i/cpuinfo_max_freq > $i/scaling_max_freq
> done
root@ossy:~# for i in /sys/devices/ system/ cpu/cpu[ 0-3]/cpufreq/ ; do grep . $i/*; done
/sys/devices/ system/ cpu/cpu0/ cpufreq/ /affected_ cpus:0 system/ cpu/cpu0/ cpufreq/ /cpuinfo_ cur_freq: 1799853 system/ cpu/cpu0/ cpufreq/ /cpuinfo_ max_freq: 3700000 system/ cpu/cpu0/ cpufreq/ /cpuinfo_ min_freq: 1600000 system/ cpu/cpu0/ cpufreq/ /cpuinfo_ transition_ latency: 4294967295 system/ cpu/cpu0/ cpufreq/ /related_ cpus:0 system/ cpu/cpu0/ cpufreq/ /scaling_ available_ governors: performance powersave system/ cpu/cpu0/ cpufreq/ /scaling_ cur_freq: 1799853 system/ cpu/cpu0/ cpufreq/ /scaling_ driver: intel_pstate system/ cpu/cpu0/ cpufreq/ /scaling_ governor: performance system/ cpu/cpu0/ cpufreq/ /scaling_ max_freq: 1850000 system/ cpu/cpu0/ cpufreq/ /scaling_ min_freq: 1850000 system/ cpu/cpu0/ cpufreq/ /scaling_ setspeed: <unsupported> system/ cpu/cpu1/ cpufreq/ /affected_ cpus:1 system/ cpu/cpu1/ cpufreq/ /cpuinfo_ cur_freq: 1799853 system/ cpu/cpu1/ cpufreq/ /cpuinfo_ max_freq: 3700000 system/ cpu/cpu1/ cpufreq/ /cpuinfo_ min_freq: 1600000 system/ cpu/cpu1/ cpufreq/ /cpuinfo_ transition_ latency: 4294967295 system/ cpu/cpu1/ cpufreq/ /related_ cpus:1 system/ cpu/cpu1/ cpufreq/ /scaling_ available_ governors: performance powersave system/ cpu/cpu1/ cpufreq/ /scaling_ cur_freq: 1799853 system/ cpu/cpu1/ cpufreq/ /scaling_ driver: intel_pstate system/ cpu/cpu1/ cpufreq/ /scaling_ governor: performance system/ cpu/cpu1/ cpufreq/ /scaling_ max_freq: 1850000 system/ cpu/cpu1/ cpufreq/ /scaling_ min_freq: 1850000 system/ cpu/cpu1/ cpufreq/ /scaling_ setspeed: <unsupported> system/ cpu/cpu2/ cpufreq/ /affected_ cpus:2 system/ cpu/cpu2/ cpufreq/ /cpuinfo_ cur_freq: 1799853 system/ cpu/cpu2/ cpufreq/ /cpuinfo_ max_freq: 3700000 system/ cpu/cpu2/ cpufreq/ /cpuinfo_ min_freq: 1600000 system/ cpu/cpu2/ cpufreq/ /cpuinfo_ transition_ latency: 4294967295 system/ cpu/cpu2/ cpufreq/ /related_ cpus:2 system/ cpu/cpu2/ cpufreq/ /scaling_ available_ governors: performance powersave system/ cpu/cpu2/ cpufreq/ /scaling_ cur_freq: 1799853 system/ cpu/cpu2/ cpufreq/ /scaling_ driver: intel_pstate system/ cpu/cpu2/ cpufreq/ /scaling_ governor: performance system/ cpu/cpu2/ cpufreq/ /scaling_ max_freq: 1850000 system/ cpu/cpu2/ cpufreq/ /scaling_ min_freq: 1850000 system/ cpu/cpu2/ cpufreq/ /scaling_ setspeed: <unsupported> system/ cpu/cpu3/ cpufreq/ /affected_ cpus:3 system/ cpu/cpu3/ cpufreq/ /cpuinfo_ cur_freq: 1799853 system/ cpu/cpu3/ cpufreq/ /cpuinfo_ max_freq: 3700000 system/ cpu/cpu3/ cpufreq/ /cpuinfo_ min_freq: 1600000 system/ cpu/cpu3/ cpufreq/ /cpuinfo_ transition_ latency: 4294967295 system/ cpu/cpu3/ cpufreq/ /related_ cpus:3 system/ cpu/cpu3/ cpufreq/ /scaling_ available_ governors: performance powersave system/ cpu/cpu3/ cpufreq/ /scaling_ cur_freq: 1799853 system/ cpu/cpu3/ cpufreq/ /scaling_ driver: intel_pstate system/ cpu/cpu3/ cpufreq/ /scaling_ governor: performance system/ cpu/cpu3/ cpufreq/ /scaling_ max_freq: 1850000 system/ cpu/cpu3/ cpufreq/ /scaling_ min_freq: 1850000 system/ cpu/cpu3/ cpufreq/ /scaling_ setspeed: <unsupported>
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
/sys/devices/
But when I restarted thermald (in debug mode again, attaching log), it now correctly saw that my CPU was cool and turned up my performance all the way again. :CPU_DRIVER -> intel_pstate :CPU_GOVERNOR -> performance
pstate-frequency version 3.7.2
pstate:
pstate:
pstate::TURBO -> 0 [ON]
pstate::CPU_MIN -> 50% [1850000KHz]
pstate::CPU_MAX -> 100% [3700000KHz]
So I guess it's just rather fussy. If it was properly putting my performance back to max then I wouldn't really have too much cause to complain but as it is it can restrict me until it's restarted.