Add example thermald configuration
This commit is contained in:
parent
a2360515c5
commit
941b924f0a
14
contrib/thermald/README.md
Normal file
14
contrib/thermald/README.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Example Thermald Configuration
|
||||
|
||||
This is a minimal thermald configuration, which sets the maximum sustained CPU temperature to about 65°C.
|
||||
Modify the `<Temperature>65000</Temperature>` value to adapt that to your liking.
|
||||
|
||||
Tested on a Surface Book 2, other devices may need adapting, see e.g. the [thermald man page](http://manpages.ubuntu.com/manpages/trusty/man5/thermal-conf.xml.5.html).
|
||||
|
||||
## Installation
|
||||
|
||||
Both XML files need to be placed in the `/etc/thermald/` directory.
|
||||
|
||||
Newer thermald versions attempt to automatically load the configuration from ACPI.
|
||||
If you want to use a manual configuration with such a version, you may need to remove the `--adaptive` option from the systemd service `ExecStart` line.
|
||||
You can do so by running `sudo systemctl edit thermald.service`.
|
27
contrib/thermald/thermal-conf.xml
Normal file
27
contrib/thermald/thermal-conf.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<ThermalConfiguration>
|
||||
<Platform>
|
||||
<Name>Intel Powered Laptop</Name>
|
||||
<ProductName>*</ProductName>
|
||||
<Preference>QUIET</Preference>
|
||||
<ThermalZones>
|
||||
<ThermalZone>
|
||||
<Type>cpu</Type>
|
||||
<TripPoints>
|
||||
<TripPoint>
|
||||
<SensorType>x86_pkg_temp</SensorType>
|
||||
<Temperature>65000</Temperature>
|
||||
<type>passive</type>
|
||||
<ControlType>SEQUENTIAL</ControlType>
|
||||
<CoolingDevice>
|
||||
<index>1</index>
|
||||
<type>rapl_controller</type>
|
||||
<influence>100</influence>
|
||||
<SamplingPeriod>5</SamplingPeriod>
|
||||
</CoolingDevice>
|
||||
</TripPoint>
|
||||
</TripPoints>
|
||||
</ThermalZone>
|
||||
</ThermalZones>
|
||||
</Platform>
|
||||
</ThermalConfiguration>
|
8
contrib/thermald/thermal-cpu-cdev-order.xml
Normal file
8
contrib/thermald/thermal-cpu-cdev-order.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<CoolingDeviceOrder>
|
||||
<!-- Specify Cooling device order -->
|
||||
<CoolingDevice>rapl_controller</CoolingDevice>
|
||||
<CoolingDevice>intel_pstate</CoolingDevice>
|
||||
<CoolingDevice>intel_powerclamp</CoolingDevice>
|
||||
<CoolingDevice>cpufreq</CoolingDevice>
|
||||
<CoolingDevice>Processor</CoolingDevice>
|
||||
</CoolingDeviceOrder>
|
Loading…
Reference in a new issue