intel / thermal_daemon

Thermal daemon for IA
GNU General Public License v2.0
540 stars 117 forks source link

thermald working or not, how to be sure? #373

Closed cemunal closed 7 months ago

cemunal commented 2 years ago

Hi, I installed the latest version (2.5) of thermald on Arch Linux and I wanted to use it with 0-configuration, if possible. Details:


$ systemctl status thermald.service ● thermald.service - Thermal Daemon Service Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; preset: disabled) Active: active (running) since Tue 2022-09-06 10:02:09 +03; 1min 44s ago Main PID: 592 (thermald) Tasks: 3 (limit: 9370) Memory: 3.4M CPU: 38ms CGroup: /system.slice/thermald.service └─592 /usr/bin/thermald --systemd --dbus-enable --adaptive

Sep 06 10:02:09 ahertery systemd[1]: Started Thermal Daemon Service. Sep 06 10:02:09 ahertery thermald[592]: 22 CPUID levels; family:model:stepping 0x6:8e:9 (6:142:9) Sep 06 10:02:09 ahertery thermald[592]: 22 CPUID levels; family:model:stepping 0x6:8e:9 (6:142:9) Sep 06 10:02:09 ahertery thermald[592]: sensor id 10 : No temp sysfs for reading raw temp Sep 06 10:02:09 ahertery thermald[592]: sensor id 10 : No temp sysfs for reading raw temp Sep 06 10:02:09 ahertery thermald[592]: sensor id 10 : No temp sysfs for reading raw temp Sep 06 10:02:09 ahertery thermald[592]: Config file /etc/thermald/thermal-conf.xml does not exist Sep 06 10:02:09 ahertery thermald[592]: Config file /etc/thermald/thermal-conf.xml does not exist Sep 06 10:02:09 ahertery thermald[592]: Config file /etc/thermald/thermal-conf.xml does not exist Sep 06 10:02:09 ahertery thermald[592]: Polling mode is enabled: 4


$ sudo thermald --no-daemon --loglevel=info [1662448546][INFO]RAPL domain count 1 [1662448546][INFO]RAPL domain count 1 [1662448546][MSG]22 CPUID levels; family:model:stepping 0x6:8e:9 (6:142:9) [1662448546][INFO]sensor_update: type SEN1 [1662448546][INFO]sensor_update: type acpitz [1662448546][INFO]sensor_update: type B0D4 [1662448546][INFO]sensor_update: type SEN2 [1662448546][INFO]sensor_update: type INT3400 [1662448546][INFO]sensor_update: type x86_pkg_temp [1662448546][INFO]sensor_update: type pch_skylake [1662448546][INFO]thd_read_default_thermal_sensors loaded 7 sensors [1662448546][INFO]dts /sys/devices/platform/coretemp.0/name doesn't exist [1662448546][MSG]sensor id 10 : No temp sysfs for reading raw temp [1662448546][MSG]sensor id 10 : No temp sysfs for reading raw temp [1662448546][MSG]sensor id 10 : No temp sysfs for reading raw temp [1662448546][INFO]INT3400 Base path is /sys/bus/acpi/devices/INT3400:00/physical_node/uuids/ [1662448546][INFO] failed to GET COUNT on /dev/acpi_thermal_rel [1662448546][INFO]Passive 1 UUID is not present, hence ignore _TRT, as it may have junk!! [1662448546][MSG]Config file /etc/thermald/thermal-conf.xml does not exist [1662448546][INFO]sensor index:2 SEN1 /sys/class/thermal/thermal_zone2/ Async:0 [1662448546][INFO]sensor index:0 acpitz /sys/class/thermal/thermal_zone0/ Async:0 [1662448546][INFO]sensor index:5 B0D4 /sys/class/thermal/thermal_zone5/ Async:0 [1662448546][INFO]sensor index:3 SEN2 /sys/class/thermal/thermal_zone3/ Async:0 [1662448546][INFO]sensor index:1 INT3400 /sys/class/thermal/thermal_zone1/ Async:0 [1662448546][INFO]sensor index:6 x86_pkg_temp /sys/class/thermal/thermal_zone6/ Async:1 [1662448546][INFO]sensor index:4 pch_skylake /sys/class/thermal/thermal_zone4/ Async:0 [1662448546][INFO]sensor index:7 hwmon /sys/class/hwmon/hwmon5/temp3_input Async:0 [1662448546][INFO]sensor index:8 hwmon /sys/class/hwmon/hwmon5/temp1_input Async:0 [1662448546][INFO]sensor index:9 hwmon /sys/class/hwmon/hwmon5/temp2_input Async:0 [1662448546][INFO]thd_read_default_cooling devices loaded 6 cdevs [1662448546][INFO]ppcc limits max:15000000 min:125000 min_win:28000000 step:500000 [1662448546][INFO]set_pid_param 6 [-1000.100,10] [1662448546][INFO]intel pstate is not in active mode [1662448546][INFO]name = package-0 [1662448546][INFO]name = dram [1662448546][INFO]sysfs read failed /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/constraint_0_max_power_uw [1662448546][INFO]:powercap RAPL invalid max power limit range [1662448546][INFO]Calculate dynamically phy_max [1662448546][INFO]INT3400 Base path is /sys/bus/acpi/devices/INT3400:00/physical_node/uuids/ [1662448546][INFO] failed to GET COUNT on /dev/acpi_thermal_rel [1662448546][INFO]Passive 1 UUID is not present, hence ignore _TRT, as it may have junk!! [1662448546][MSG]Config file /etc/thermald/thermal-conf.xml does not exist [1662448546][INFO]1: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 [1662448546][INFO]4: intel_powerclamp, C:-1 MN: 0 MX:50 ST:5 pt:/sys/class/thermal/ rd_bk 0 [1662448546][INFO]2: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 [1662448546][INFO]0: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 [1662448546][INFO]5: TCC, C:5 MN: 0 MX:63 ST:1 pt:/sys/class/thermal/ rd_bk 1 [1662448546][INFO]3: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0 [1662448546][INFO]6: rapl_controller, C:15000000 MN: 15000000 MX:125000 Inc ST:-1000000 Dec ST:-500000 pt:/sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/ rd_bk 1 [1662448546][INFO]7: rapl_controller_dram, C:100000000 MN: 100000000 MX:0 ST:-500000 pt:/sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/ rd_bk 1 [1662448546][INFO]8: LCD, C:0 MN: 0 MX:7500 ST:750 pt:/sys/class/backlight/intel_backlight/ rd_bk 1 [1662448546][INFO]thd_read_default_thermal_zones loaded 7 zones [1662448546][INFO]INT3400 Base path is /sys/bus/acpi/devices/INT3400:00/physical_node/uuids/ [1662448546][INFO]zone cpu will be created [1662448546][INFO]dts zone /sys/devices/platform/coretemp.0/name doesn't exist [1662448546][INFO]/sys/class/hwmon/hwmon4/name->asus [1662448546][INFO]/sys/class/hwmon/hwmon2/name->BAT0 [1662448546][INFO]/sys/class/hwmon/hwmon0/name->AC0 [1662448546][INFO]/sys/class/hwmon/hwmon5/name->coretemp [1662448546][INFO]Buggy max temp: to close to critical 90000 [1662448546][INFO]Core temp DTS :critical 100000, max 90000, psv 95000 [1662448546][INFO]node type: Element, name: CoolingDevice value: rapl_controller [1662448546][INFO]node type: Element, name: CoolingDevice value: intel_pstate [1662448546][INFO]node type: Element, name: CoolingDevice value: intel_powerclamp [1662448546][INFO]node type: Element, name: CoolingDevice value: cpufreq [1662448546][INFO]node type: Element, name: CoolingDevice value: Processor [1662448546][INFO]min:0 max:0 [1662448546][INFO]min:0 max:0 [1662448546][INFO]min:0 max:0 [1662448546][INFO]CDEVS order specified in thermal-cpu-cdev-order.xml [1662448546][INFO]/sys/class/hwmon/hwmon3/name->pch_skylake [1662448546][INFO]/sys/class/hwmon/hwmon1/name->acpitz [1662448546][INFO]INT3400 Base path is /sys/bus/acpi/devices/INT3400:00/physical_node/uuids/ [1662448546][INFO] failed to GET COUNT on /dev/acpi_thermal_rel [1662448546][INFO]Passive 1 UUID is not present, hence ignore _TRT, as it may have junk!! [1662448546][MSG]Config file /etc/thermald/thermal-conf.xml does not exist [1662448546][INFO]

ZONE DUMP BEGIN [1662448546][INFO] [1662448546][INFO]Zone 7: cpu, Active:1 Bind:0 Sensor_cnt:1 [1662448546][INFO]..sensors.. [1662448546][INFO]sensor index:6 x86_pkg_temp /sys/class/thermal/thermal_zone6/ Async:1 [1662448546][INFO]..trips.. [1662448546][INFO]index 0: type:passive temp:95000 hyst:0 zone id:7 sensor id:65535 control_type:1 cdev size:3 [1662448546][INFO]cdev[0] rapl_controller, Sampling period: 0 [1662448546][INFO] target_state:not defined [1662448546][INFO]min_max 0 [1662448546][INFO]cdev[1] intel_powerclamp, Sampling period: 0 [1662448546][INFO] target_state:not defined [1662448546][INFO]min_max 0 [1662448546][INFO]cdev[2] Processor, Sampling period: 0 [1662448546][INFO] target_state:not defined [1662448546][INFO]min_max 0 [1662448546][INFO]index 1: type:polling temp:85500 hyst:0 zone id:7 sensor id:6 control_type:0 cdev size:0 [1662448546][INFO] [1662448546][INFO]

ZONE DUMP END [1662448546][INFO]Running on a vanilla kernel [1662448546][MSG]Polling mode is enabled: 4 [1662448546][INFO]Current user preference is 0 [1662448546][INFO]thd_engine_thread begin


and the Q. : thermald working or not, how to be sure? If not working, how to fix?

spandruvada commented 1 year ago

Suggest to use https://github.com/intel/thermal_daemon/blob/master/test/thermal-debug-dump-ubuntu.sh or https://github.com/intel/thermal_daemon/blob/master/test/thermal-debug-dump-fedora.sh

Since it arch-linux, you may already have package installed. Just comment those and rest should be fine.