Thread (34 messages) 34 messages, 6 authors, 2016-11-14

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

From: Pandruvada, Srinivas <hidden>
Date: 2016-11-04 14:07:36
Also in: linux-acpi, lkml

On Fri, 2016-11-04 at 09:58 +0100, Pavel Machek wrote:
On Fri 2016-11-04 09:38:49, Pavel Machek wrote:
quoted
[...]
quoted
What is worse, they go to low frequency even with "performance"
governor on v4.8-rc1?!

pavel@duo:/sys/devices/system/cpu/cpu0/cpufreq$ 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
1000000
1000000
1000000
1000000
1833000
1833000
1000000
1000000
1833000
1833000
1000000
1000000
pavel@duo:/sys/devices/system/cpu/cpu0/cpufreq$ 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:1000000
You are having thermal issue, so the BIOS is forcing to lowest possible
freq. Just for a test only, boot by adding to your kernel command line
during boot 
processor.ignore_ppc=1 


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:18
33000
1333000 1000000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors:cons
ervative
powersave schedutil ondemand performance
/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq:1000000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:performance
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:1000000
/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
pavel@duo:/sys/devices/system/cpu/cpu0/cpufreq$
Let me try v4.9-rc2... that works ok (cpus at the high frequency
during the kernel build). Unfortunately that sends my cpus to 99C
temperature range (and eventually forces emergency shutdown).
This we have to debug. Do you see same line like 
"
/sys/devices/system/cpu/cpu0/cpufreq/bios_limit:1000000
"
If not we need
to find out why.

I suggest enter kernel bugzilla. I will add couple of more suggestion to debug.


Thanks,
Srinivas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help