v4.8-rc1: thinkpad x60: running at low frequency even during kernel build

From: Pavel Machek
Date: Fri Nov 04 2016 - 04:39:25 EST


Hi!

I'm debugging overheats on v4.9-rc1... which did not seem to happen in
v4.8-rc1. I'm running basically "nice make -j 3" on kernel... cpus are
fully loaded.

%Cpu(s): 7.5 us, 18.5 sy, 72.6 ni, 0.0 id, 0.0 wa, 0.0 hi, 1.5
si, 0.0 st
KiB Mem: 3087096 total, 2993076 used, 94020 free, 52900
buffers
KiB Swap: 1681428 total, 60900 used, 1620528 free. 1183664
cached Mem

Still, cpus don't stay on maximum frequency on v4.8-rc1. (I suspect
that may be why machine does not overheat).

pavel@duo:/data/l/linux$ sudo cat
/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq ; sudo cat
/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq ; sudo cat
/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq ; sudo cat
/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq ; sudo cat
/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq ; sudo cat
/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq
1833000
1833000
1000000
1000000
1000000
1000000
1833000
1833000
1833000
1833000
1000000
1000000
pavel@duo:/data/l/linux

pavel@duo:/data/l/linux$ grep -i
. /sys/devices/system/cpu/cpu0/cpufreq/*
/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus:0
/sys/devices/system/cpu/cpu0/cpufreq/bios_limit:1833000
grep: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq:
Permission denied
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq:1833000
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq:1000000
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency:10000
/sys/devices/system/cpu/cpu0/cpufreq/freqdomain_cpus:0 1
/sys/devices/system/cpu/cpu0/cpufreq/related_cpus:0
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies:1833000
1333000 1000000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:conservative
powersave schedutil ondemand performance
/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:1833000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:1833000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:1000000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed:<unsupported>
grep: /sys/devices/system/cpu/cpu0/cpufreq/stats: Is a directory

Is that expected behaviour? Any ideas?

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature