The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 2,799β€…    Votes:  2β€…    βœ… Solution
Tags: 16.04   fan   temperature   conky  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

URL: https://askubuntu.com/q/853314
Title: What causes my fan to run?
ID: /2016/11/25/What-causes-my-fan-to-run_
Created: November 25, 2016
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Basically the harder your CPU works, the hotter it gets and the faster the fan spins. Older Ubuntu versions had different techniques for speed of your fan based on the speed of your CPU. With upgrade from Ubuntu 14.04 LTS to Ubuntu 16.04 LTS, kernel 4.4 was used and Intel changed many things most notably pstate and thermald. Plus (on my Intel i-7 Core at least) turbo boost was finally implemented after a very very long waiting period. These changes also brought with it many challenges.

To see how hot your system is running, use:

$ cat /sys/class/thermal/thermal_zone*/temp

27800
29800
60000

On my system the last temperature is that of the CPU 60 degrees Celsius. The first two temperatures I honestly can’t say what they are but I presume ambient temperatures somewhere on the motherboard. Keep in mind this is a laptop.

The fan can not be heard and you have to hold your hand over the exhaust vent to feel the warm air coming out.

When your fan(s) pick up speed you can run the program htop to see what is running and how much CPU% they are eating up. Another program of interest is sensors which shows temperatures and fan speeds. Many people are familiar with these two programs and use them when the need arises.

I use a light weight system monitor called Conky that runs all the time to display CPU%, temperature, available disk space, network usage, etc. Most people don’t use Conky but those that do all have different setups. This is what my configuration looks like:

Conky 4.8.10 Full Window

I’m finding under the newest kernel version 4.8.10 the system is running the coolest with the lowest CPU strain. To install this version use:

cd /tmp
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8.10/linux-headers-4.8.10-040810_4.8.10-040810.201611210531_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8.10/linux-headers-4.8.10-040810-generic_4.8.10-040810.201611210531_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.8.10/linux-image-4.8.10-040810-generic_4.8.10-040810.201611210531_amd64.deb
sudo dpkg -i *.deb
sudo reboot

NOTE: Manually installing the newest kernel requires extra steps to manually remove it in the future when it is no longer needed. Also note the newest kernel is not supported by Ubuntu and crash reports will be ignored by them. The fact the newest kernel comes from Ubuntu should not give you a false sense of security.

⇧ Files in /etc/network/interfaces.d ignored, but not /etc/network/interfaces itself No version of Ubuntu can be installed with any Skylake 6th generation Intel processor  β‡©