LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2018, 02:38 AM   #1
mathieu pretre
LQ Newbie
 
Registered: May 2018
Location: Italy
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
Linux: Overheating issue?


Hello, LQ members!
I'm new to this forum (and to Slackware, actually). This is my second post (the first one was a tiny self-introduction).
This is my question: does Linux have overheating issues?
My previous computer was an old Macbook Pro with Mac OS X and Devuan installed in dual boot. With the former I had no problems at all, with the latter, the machine turned really HOT and the fan got really LOUD, especially in summer. It was really annoying for the people around me and I was really afraid to burn the machine, so I changed it.
Now I'm using a Thinkpad X220 with Windows 10 and Slackware in dual boot. With Windows no problem; with Slack sometimes no problem, sometimes, especially when slackbuilding, the machine turns quite hot the fan gets really fast and doesn't stop, even after the program is installed, and I need to shut down the machine in order to stop it.

What's the problem here?
Is there a solution?

Thank you very much.
Greetings,
Matteo
 
Old 05-23-2018, 01:05 PM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by mathieu pretre View Post
Hello, LQ members!
I'm new to this forum (and to Slackware, actually). This is my second post (the first one was a tiny self-introduction).
This is my question: does Linux have overheating issues?
My previous computer was an old Macbook Pro with Mac OS X and Devuan installed in dual boot. With the former I had no problems at all, with the latter, the machine turned really HOT and the fan got really LOUD, especially in summer. It was really annoying for the people around me and I was really afraid to burn the machine, so I changed it.
Now I'm using a Thinkpad X220 with Windows 10 and Slackware in dual boot. With Windows no problem; with Slack sometimes no problem, sometimes, especially when slackbuilding, the machine turns quite hot the fan gets really fast and doesn't stop, even after the program is installed, and I need to shut down the machine in order to stop it.

What's the problem here?
Is there a solution?
Well, you've jumped into the deep end starting with Slackware!

Anyhow, I do have a very similar problem myself when I use ffmpeg to convert videos. In that: it only happens when I am actually doing that, but not otherwise. It sounds (like with my heating issues) like your machine doesn't have good enough cooling and it's clearly a over-heating issue that's your problem here.

It does seem a little strange to me that Windows has no issue, but Linux does. It may well be a clue. I'd think it would be the other way around if anything. I would suggest upgrading cooling, but I'm not sure how you could do that given the machine we are talking about. I can't say I'm that familiar with Slackware, although it's still Linux as much as the distribution I use (which is not Slackware Linux).

I just wonder if you're getting any MCE (Machine Check Event) warnings/errors in your kernel log, try the following command when it's fan starts spinning really fast:

Code:
dmesg | grep -i mce
This might help pin point the problem or at least confirm it's actually over-heating. There's also the sensors program you can also use to check bad temperatures.
 
Old 05-23-2018, 02:09 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Is this a desktop or laptop system?
 
Old 05-23-2018, 02:29 PM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by AwesomeMachine View Post
Is this a desktop or laptop system?
I *think* the OP's talking about this sucker.

But I could be wrong...
 
Old 05-23-2018, 07:51 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Windows tends to throttle the cpu almost all the time, which extends battery life and makes the system run cooler, at the expense of performance! But that's OK, because you'll want to buy another faster system sooner! Linux throttles the cpu wide open when necessary, so the battery runs out faster and the system runs hotter, but you get the performance you paid for!
 
Old 05-23-2018, 08:20 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
Slackware includes a command line tool called "sensors." You can use it to check the temperature (I learned that thanks to your question--I was looking for lm-sensors).

Code:
$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +33.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:         +30.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:         +29.0°C  (high = +80.0°C, crit = +100.0°C)
Make sure that the air vents are clean and free of dust. Dust build-up is insidious and harmful.

By the by, I started with Slackware (v. 10 it was), and I'm glad I did. Slackware teaches you to understand Linux.
 
Old 05-24-2018, 07:38 AM   #7
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
Quote:
Windows tends to throttle the cpu almost all the time,
No it doesn't.
Overheating has nothing to do with the OS you are running, but the TASK you are running under it.
CPU throttling because the temperature is getting too high is done by the BIOS, not the OS.
 
Old 05-24-2018, 10:10 AM   #8
mathieu pretre
LQ Newbie
 
Registered: May 2018
Location: Italy
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Slackware includes a command line tool called "sensors." You can use it to check the temperature (I learned that thanks to your question--I was looking for lm-sensors).

Code:
$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +33.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:         +30.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:         +29.0°C  (high = +80.0°C, crit = +100.0°C)
Make sure that the air vents are clean and free of dust. Dust build-up is insidious and harmful.

By the by, I started with Slackware (v. 10 it was), and I'm glad I did. Slackware teaches you to understand Linux.

Thank you very much!
I figured out some possible solutions with the help of some useful tools:
1. xfce4-cpufreq-plugin helps you to figure out what the frequency of your CPU is (downloaded from SlackBuild.org)
2.
Code:
 $ top
shows you the processes currently running on your computer and the usage of your CPU in percentage (if you want a graphical tool, you can also use System Monitor). Just to experiment a little, I slackbuilt qt5. I realized that the compiler (cc1plus) used 100% of my CPU. At that point I downloaded and slackbuilt another tool:
3. cpulimit: this little application allows you to decide how much of the CPU you want every process to use. In my case, I decided that the compiler should not exceed the 50% of the CPU:
Code:
 # cpulimit --limit=50 --exe=cc1plus
that affected the performances, but also the temperature: the CPU never exceeded 70°C during the slackbuild
4.
Code:
 $ sensors
Sounds good?

PS: yes, Slackware is a fantastic distro. Some people find it difficult. I actually find it easier and leaner than other distributions...

Last edited by mathieu pretre; 05-24-2018 at 10:21 AM.
 
Old 05-24-2018, 10:15 AM   #9
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
And you're welcome, given that I had mentioned the "sensors" program in post #2.
 
Old 05-25-2018, 07:07 PM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Post OS vs BIOS

Quote:
Originally Posted by dave@burn-it.co.uk View Post
No it doesn't.
Overheating has nothing to do with the OS you are running, but the TASK you are running under it.
CPU throttling because the temperature is getting too high is done by the BIOS, not the OS.
If the os doesn't throttle the cpu in time, the BIOS will. And if even the BIOS fails, the cpu will shut itself down. But the os is able to throttle the cpu. Overheating has nothing to do with the os, but how hot the system runs within safe boundaries is up to the os.
 
Old 05-26-2018, 06:42 AM   #11
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
Isn't it amazing how you manage to argue and make out I am wrong and yet still agree at the same time???
 
  


Reply

Tags
linux, overheating, thinkpad


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sudden overheating issue with notebook HP Compaq NX6110 ungua Linux - Hardware 20 07-24-2011 03:50 AM
Would Linux Help an Overheating Laptop? Josh100 Linux - Laptop and Netbook 6 03-19-2006 09:34 PM
Notebook Overheating in Linux! AHHH!! Kamex Linux - Hardware 1 04-03-2005 04:39 PM
linux laptop overheating causes shutdown jtan325 Linux - Hardware 6 02-23-2005 09:29 AM
Overheating, and linux distros Dobs01 Linux - Hardware 9 10-01-2004 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration