1thermald(8) System Manager's Manual thermald(8)
2
3
4
6 thermald - start Linux thermal daemon
7
9 thermald [ OPTIONS ]
10
11
13 thermald is a Linux daemon used to prevent the overheating of plat‐
14 forms. This daemon monitors temperature and applies compensation using
15 available cooling methods.
16
17 By default, it monitors CPU temperature using available CPU digital
18 temperature sensors and maintains CPU temperature under control, before
19 HW takes aggressive correction action.
20
21 Thermal daemon looks for thermal sensors and thermal cooling drivers in
22 the Linux thermal sysfs (/sys/class/thermal) and builds a list of sen‐
23 sors and cooling drivers. Each of the thermal sensors can optionally be
24 binded to a cooling driver by the in kernel drivers. In this case the
25 Linux kernel thermal core can directly take actions based on the tem‐
26 perature trip points, for each sensor and associated cooling device.
27 For example a trip temperature X in a sensor can be associates a cool‐
28 ing driver Y. So when the sensor temperature = X, the cooling driver
29 "Y" is activated.
30
31 Thermal daemon allows one to change this relationship or add new one
32 via a thermal configuration file (thermal-conf.xml). This file is auto‐
33 matically created (thermal-conf.xml.auto) and used, if the platform has
34 ACPI thermal relationship table. If not this needs to be manually con‐
35 figured.
36
37 For manual configuration refer to the manual page of the thermal-
38 conf.xml.
39
40 In some newer platforms the auto creation of the config file is done by
41 a companion tool "dptfxtract". This tool can be downloaded from
42 "https://github.com/intel/dptfxtract". It is suggested as parts of the
43 install process, run dptfxtract.
44
45 There can be multiple configuration files. User can select a configura‐
46 tion file via -config-file option to override the default selection.
47 The default selection picks one of the file in the following order:
48
49 - /etc/thermald/thermal-conf.xml.auto
50
51 - /var/run/thermald/thermal-conf.xml.auto
52
53 - /etc/thermald/thermal-conf.xml
54
55 (*Assuming configure prefix=/ is used during build.)
56
57 There is another companion tool "ThermalMonitor", which presents a
58 graphical front end. This allows the monitoring of sensors and changing
59 of thermal trips to give the user more control. The source code of
60 "ThermalMonitor" is a part of the thermald github source, in the tools
61 folder.
62
64 -h, --help
65 Show help options.
66
67 --version
68 Print thermald version and exit.
69
70 --no-daemon
71 Don't become a daemon: Default is daemon mode.
72
73 --loglevel=info
74 log severity: info level and up.
75
76 --loglevel=debug
77 log severity: debug level and up: Max logging.
78
79 --poll-interval
80 Poll interval in seconds: Poll for zone temperature changes. To
81 disable polling, set to zero. Polling can only be disabled, if
82 available temperature sensors can notify temperature change
83 asynchronously.
84
85 --dbus-enable
86 Enable Dbus.
87
88 --exclusive-control
89 Act as exclusive thermal controller. This will use user-space
90 governor for thermal sysfs and take over control.
91
92 --ignore-cpuid-check
93 Ignore cpuid check for supported CPU models.
94
95 --config-file
96 Specify thermal-conf.xml path and ignore default thermal-
97 conf.xml.
98
99 --ignore-default-control
100 Ignore default CPU temperature control. Strictly follow thermal-
101 conf.xml or thermal-conf.xml.auto.
102
103 --workaround-enabled
104 Enable special workarounds for RAPL MMIO power limit and TCC
105 offset every 30 seconds. This helps to disable RAPL MMIO when
106 not used and adjust TCC offset in certain Lenovo laptops.
107
108 --disable-active-power
109 Disable active power management. This will not set active power
110 limits using RAPL MMIO. This may result in constrained perfor‐
111 mance, if the system boots up with lower power limits.
112
113 --adaptive
114 Use DPTF adaptive tables when present. This will ignore thermald
115 config via xml files.
116
117 --test-mode
118 Force use adaptive mode and exit if not supported, instead of
119 restarting in non adaptive mode. This option is primarily for
120 developers.
121
122 --systemd
123 Assume that thermald is started by systemd. This will prevent
124 running as daemon irrespective of --no-daemon option.
125
126 --ignore-critical-trip
127 If the configuration defined a critical temperature point, which
128 is too low, this option will avoid shutting down the system on
129 reaching this temperature limit.
130
132 thermal-conf.xml(5)
133
134
135
136 8 May 2013 thermald(8)