Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1515524

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

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: v4.8-rc1: thinkpad x60: running at low frequency even during kernel build
Date 2016-11-05 09:50 +0100
Message-ID <sA4PL-5CQ-3@gated-at.bofh.it> (permalink)
References <szIcx-7IN-1@gated-at.bofh.it> <szIvU-7Ph-15@gated-at.bofh.it> <szNlT-2Hd-9@gated-at.bofh.it> <szTAZ-6Ct-13@gated-at.bofh.it> <szU42-71A-57@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi!

> > 4.9-rc2 has bios_limit:
> > 
> > pavel@duo:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/bios_limit
> > 1833000
> > 
> > and it has thermal zones:
> > 
> > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp 127000
> > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_type critical
> > /sys/devices/virtual/thermal/thermal_zone1/trip_point_0_temp 97000
> > /sys/devices/virtual/thermal/thermal_zone1/trip_point_0_type critical
> > /sys/devices/virtual/thermal/thermal_zone1/trip_point_1_temp 92500
> > /sys/devices/virtual/thermal/thermal_zone1/trip_point_1_type passive
> > 
> It will not act if there is no binding information. Do you have more
> files in this folder?
> 
> grep -r . * in /sys/class/thermal will be helpful.

Yes, I do. Here you go:

pavel@duo:/data/l/linux$ sudo grep -ri . /sys/class/thermal/*
/sys/class/thermal/cooling_device0/cur_state:0
/sys/class/thermal/cooling_device0/power/runtime_active_kids:0
/sys/class/thermal/cooling_device0/power/runtime_suspended_time:0
grep: /sys/class/thermal/cooling_device0/power/autosuspend_delay_ms:
Input/output error
/sys/class/thermal/cooling_device0/power/runtime_enabled:disabled
/sys/class/thermal/cooling_device0/power/runtime_active_time:0
/sys/class/thermal/cooling_device0/power/control:auto
/sys/class/thermal/cooling_device0/power/async:disabled
/sys/class/thermal/cooling_device0/power/runtime_usage:0
/sys/class/thermal/cooling_device0/power/runtime_status:unsupported
/sys/class/thermal/cooling_device0/type:LCD
/sys/class/thermal/cooling_device0/max_state:7
/sys/class/thermal/cooling_device1/cur_state:0
/sys/class/thermal/cooling_device1/power/runtime_active_kids:0
/sys/class/thermal/cooling_device1/power/runtime_suspended_time:0
grep: /sys/class/thermal/cooling_device1/power/autosuspend_delay_ms:
Input/output error
/sys/class/thermal/cooling_device1/power/runtime_enabled:disabled
/sys/class/thermal/cooling_device1/power/runtime_active_time:0
/sys/class/thermal/cooling_device1/power/control:auto
/sys/class/thermal/cooling_device1/power/async:disabled
/sys/class/thermal/cooling_device1/power/runtime_usage:0
/sys/class/thermal/cooling_device1/power/runtime_status:unsupported
/sys/class/thermal/cooling_device1/type:Processor
/sys/class/thermal/cooling_device1/max_state:10
/sys/class/thermal/cooling_device2/cur_state:0
/sys/class/thermal/cooling_device2/power/runtime_active_kids:0
/sys/class/thermal/cooling_device2/power/runtime_suspended_time:0
grep: /sys/class/thermal/cooling_device2/power/autosuspend_delay_ms:
Input/output error
/sys/class/thermal/cooling_device2/power/runtime_enabled:disabled
/sys/class/thermal/cooling_device2/power/runtime_active_time:0
/sys/class/thermal/cooling_device2/power/control:auto
/sys/class/thermal/cooling_device2/power/async:disabled
/sys/class/thermal/cooling_device2/power/runtime_usage:0
/sys/class/thermal/cooling_device2/power/runtime_status:unsupported
/sys/class/thermal/cooling_device2/type:Processor
/sys/class/thermal/cooling_device2/max_state:10
/sys/class/thermal/thermal_zone0/passive:0
/sys/class/thermal/thermal_zone0/available_policies:step_wise
/sys/class/thermal/thermal_zone0/policy:step_wise
/sys/class/thermal/thermal_zone0/mode:enabled
grep: /sys/class/thermal/thermal_zone0/offset: Input/output error
grep: /sys/class/thermal/thermal_zone0/integral_cutoff: Input/output
error
/sys/class/thermal/thermal_zone0/power/runtime_active_kids:0
/sys/class/thermal/thermal_zone0/power/runtime_suspended_time:0
grep: /sys/class/thermal/thermal_zone0/power/autosuspend_delay_ms:
Input/output error
/sys/class/thermal/thermal_zone0/power/runtime_enabled:disabled
/sys/class/thermal/thermal_zone0/power/runtime_active_time:0
/sys/class/thermal/thermal_zone0/power/control:auto
/sys/class/thermal/thermal_zone0/power/async:disabled
/sys/class/thermal/thermal_zone0/power/runtime_usage:0
/sys/class/thermal/thermal_zone0/power/runtime_status:unsupported
grep: /sys/class/thermal/thermal_zone0/k_d: Input/output error
/sys/class/thermal/thermal_zone0/trip_point_0_type:critical
/sys/class/thermal/thermal_zone0/type:acpitz
grep: /sys/class/thermal/thermal_zone0/slope: Input/output error
grep: /sys/class/thermal/thermal_zone0/k_po: Input/output error
grep: /sys/class/thermal/thermal_zone0/k_i: Input/output error
grep: /sys/class/thermal/thermal_zone0/sustainable_power: Input/output
error
/sys/class/thermal/thermal_zone0/trip_point_0_temp:127000
grep: /sys/class/thermal/thermal_zone0/k_pu: Input/output error
/sys/class/thermal/thermal_zone0/temp:58000
/sys/class/thermal/thermal_zone1/available_policies:step_wise
/sys/class/thermal/thermal_zone1/policy:step_wise
/sys/class/thermal/thermal_zone1/mode:enabled
/sys/class/thermal/thermal_zone1/trip_point_1_type:passive
grep: /sys/class/thermal/thermal_zone1/offset: Input/output error
grep: /sys/class/thermal/thermal_zone1/integral_cutoff: Input/output
error
/sys/class/thermal/thermal_zone1/power/runtime_active_kids:0
/sys/class/thermal/thermal_zone1/power/runtime_suspended_time:0
grep: /sys/class/thermal/thermal_zone1/power/autosuspend_delay_ms:
Input/output error
/sys/class/thermal/thermal_zone1/power/runtime_enabled:disabled
/sys/class/thermal/thermal_zone1/power/runtime_active_time:0
/sys/class/thermal/thermal_zone1/power/control:auto
/sys/class/thermal/thermal_zone1/power/async:disabled
/sys/class/thermal/thermal_zone1/power/runtime_usage:0
/sys/class/thermal/thermal_zone1/power/runtime_status:unsupported
grep: /sys/class/thermal/thermal_zone1/k_d: Input/output error
/sys/class/thermal/thermal_zone1/trip_point_0_type:critical
/sys/class/thermal/thermal_zone1/type:acpitz
/sys/class/thermal/thermal_zone1/cdev1_weight:0
/sys/class/thermal/thermal_zone1/trip_point_1_temp:92500
grep: /sys/class/thermal/thermal_zone1/slope: Input/output error
grep: /sys/class/thermal/thermal_zone1/k_po: Input/output error
grep: /sys/class/thermal/thermal_zone1/k_i: Input/output error
/sys/class/thermal/thermal_zone1/cdev0_weight:0
grep: /sys/class/thermal/thermal_zone1/sustainable_power: Input/output
error
/sys/class/thermal/thermal_zone1/trip_point_0_temp:97000
/sys/class/thermal/thermal_zone1/cdev0_trip_point:1
grep: /sys/class/thermal/thermal_zone1/k_pu: Input/output error
/sys/class/thermal/thermal_zone1/temp:80000
/sys/class/thermal/thermal_zone1/cdev1_trip_point:1


> > Hmm. bios_limit does not seem to change, even when the temperature is
> > clearly above the trip point. (It is also interestng that acpi/ibm
> > reports bigger temperatures than
> > /sys/devices/virtual/thermal/thermal_zone1/temp . I have seen 103C
> > there.)
> Probably they are showing package and core temperature or have a
> different sampling interval.
> 
> Try enabling thermald service in Debian. it has access to more knobs to
> control thermals.

Hmm, thanks for the pointer. But it seems like I'll have to build my
own, as /proc/acpi/ibm does not follow the usual infrastructure...

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

v4.8-rc1: thinkpad x60: running at low frequency even during kernel  build Pavel Machek <pavel@ucw.cz> - 2016-11-04 09:40 +0100
  Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-04 10:00 +0100
    Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Viresh Kumar <viresh.kumar@linaro.org> - 2016-11-04 10:20 +0100
      Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-04 10:30 +0100
        Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Viresh Kumar <viresh.kumar@linaro.org> - 2016-11-04 10:40 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-11-05 19:30 +0100
            Thinkpad power management (was Re: v4.8-rc1: thinkpad x60: running  at low frequency even during kernel build) Pavel Machek <pavel@ucw.cz> - 2016-11-05 20:30 +0100
    Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-04 15:10 +0100
      Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-04 21:50 +0100
        Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-04 22:20 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 09:50 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-11-05 18:50 +0100
              Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 20:40 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-11-06 04:50 +0100
        Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-04 23:20 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-05 00:30 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 14:30 +0100
              Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-05 14:40 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 15:00 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 15:10 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-05 15:20 +0100
                Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 16:40 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build "Pandruvada, Srinivas" <srinivas.pandruvada@intel.com> - 2016-11-05 15:00 +0100
              Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 21:40 +0100
              thinkpad x60, T40p: overheat with v4.9-rc4 (was Re: v4.8-rc1:  thinkpad x60: running at low frequency even during kernel build) Pavel Machek <pavel@ucw.cz> - 2016-11-09 12:40 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Henrique de Moraes Holschuh <hmh@hmh.eng.br> - 2016-11-05 19:10 +0100
              Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 21:00 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Zhang Rui <rui.zhang@intel.com> - 2016-11-05 12:30 +0100
            Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 14:20 +0100
          Re: v4.8-rc1: thinkpad x60: running at low frequency even during  kernel build Pavel Machek <pavel@ucw.cz> - 2016-11-05 13:30 +0100

csiph-web