I was facing Laptop Heating problem from first day when I have decided to switch CentOS Linux Operating System. I will help you figure out what’s causing the heat and how to keep your laptop functioning at a lower temperature in Linux.
Problem Introduction:
We all know when process execute at a higher clock speeds, CPU consume more power,resulted CPU temperature increased, for stability of our laptop it's fan running fast for reducing increased temperature.
So laptop heat problem is related to Hardware as well as Software
Hardware
Step 1 :Put Laptop at proper surface and keep in mind that fan area is not closed by any thing.
Step 2 : Clean Dust out of your Laptop, for this either take help of engineer or follow laptop manual.
Step3 : Clean Dust from ventilation area(heat Sink, fans).
Step4 : Cooling Pad - help in reducing temperature, but not all, choose according to your laptop's CPU location.
Step 5 : Check Heat Sink and Coolant.
Using Software
Step1: Install TLP
TLP is most effective software for power management, it gives the settings and tweaks to enhance existing power management automatically. TLP is purely CLI.
How to install TLP
1. TLP required epel repository, if you not have epel repository then first install it.
$sudo yum install epel-release
alternate way to install epel repository
$wget https://dl.fedoraproject.org/pub/epel/ epel-release-latest-7.noarch.rpm $sudo rpm -Uvh epel-release-7*.rpm
2. update Existing System
$ sudo yum update
3. Now install TLP
$ sudo yum install tlp
4. after installation of tlp check status
tlp service status |
5. Check statistic from TLP
#tlp stat
Step 2 : Install lm_sensors
It is available in CentOS 7 Base Repository, Run Following command at terminal.
$sudo yum install lm_sensors
after installation run sensors command to know CPU temperature.
Step 3: install thermal-daemon, it is provided by Intel, very good software for monitoring and controlling CPU temperature. Once the system temperature reaches a certain threshold, the Linux daemon activates various cooling methods to try to cool the system.
Thermald can control cooling via:
- active or passive cooling devices as presented in sysfs
- the Running Average Power Limit (RAPL) driver (Sandybridge upwards)
- the Intel P-state CPU frequency driver (Sandybridge upwards)
- the CPU freq driver
- the Intel PowerClamp driver
Thermald works in two modes:
Zero configuration mode
By default, thermald runs in zero configuration mode. This is is normally sufficient for most systems. Thermald will attempt to use the CPUDigital Thermal Sensor (DTS) to sense the temperature and use the P-state driver, Running Average Power Limit (RAPL), PowerClamp and cpufreq to control cooling.
XML configuration mode
One can fine tune, optimise and workaround buggy ACPI configurations with a user defined XML configuration file.
Installation of thermal-daemon
We required additional repository in CentOS 7.1. First we create new repository file using vi or your favorite editor inside Repository folder /etc/yum.repos.d/
# vi /etc/yum.repos.d/hadrons123-thermald-epel-7.repo
2. Copy and paste following lines.
[hadrons123-thermald]
name=Copr repo for thermald owned by hadrons123
baseurl=https://copr-be.cloud.fedoraproject.org/results/hadrons123/thermald/epel-7-$basearch/
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/hadrons123/thermald/pubkey.gpg
enabled=1
enabled_metadata=1
3. Before installing thermal-daemon first run yum update.
# yum update
4. Now install thermal-daemon at CentOS 7.
# yum install thermal-daemon
Modify Default Configuration file (/etc/thermald/thermal-conf.xml)or XML configuration Mode
/etc/thermald/thermal-conf.xml is a configuration file for the thermal daemon, it can be optimized
for specific hardware needs.
No comments:
Post a Comment