LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-27-2016, 09:12 AM   #1
kamils096
Member
 
Registered: May 2014
Posts: 60

Rep: Reputation: Disabled
Ubuntu hotter than Arch Linux in laptop


Hi everyone, last time i installed Ubuntu 16.04 Final Beta, but problem exist in other version which i tried(14.04 and 15.10). Ubuntu is hotter than Arch Linux. When i browsing The Internet in Firefox in Arch i got 50-65 Celsius degrees, when I'm doing same thing on Ubuntu i have 60-75 Celsius degrees. Laptop needs clean, that's right(I'll do it soon), but why Ubuntu have about 10 Celsius degrees more than Arch Linux? I tried to change install tlp and switch from Unity desktop to something lighter(Openbox), but Ubuntu is still hotter. How i can reduce temperature to Arch level? CPU governor in both is set to powersave.
 
Old 03-27-2016, 09:30 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
If not using bluetooth services. Disable Bluetooth in startup.
Same for printer services on startup and any other startup services you don't need running

Code:
$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +47.5°C  (crit = +102.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +47.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +48.0°C  (high = +105.0°C, crit = +105.0°C)

dell_smm-virtual-0
Adapter: Virtual device
Processor Fan:    0 RPM
CPU:            +47.0°C  
SODIMM:         +44.0°C  
Other:          +46.0°C
 
Old 03-27-2016, 09:39 AM   #3
kamils096
Member
 
Registered: May 2014
Posts: 60

Original Poster
Rep: Reputation: Disabled
My Bluetooth adapter didn't work on Linux distributions, because they are no drivers for it.

Edit: I was using kernel 4.6 RC1, because on repository kernel(4.4.0) suspend didn't working and i switched back to kernel 4.4 and now is better - laptop is colder and fan is quiet. But if you have more ideas to cool down PC, I would be grateful to hear they.

Last edited by kamils096; 03-27-2016 at 09:43 AM.
 
Old 03-27-2016, 12:14 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
My Bluetooth adapter didn't work on Linux distributions, because they are no drivers for it.
Errrrr. That does not mean bluetooth services are not auto-starting after a login.

https://help.ubuntu.com/community/BootServices

Quote:
My Bluetooth adapter didn't work on Linux distributions, because they are no drivers for it.

Edit: I was using kernel 4.6 RC1, because on repository kernel(4.4.0) suspend didn't working and i switched back to kernel 4.4 and now is better - laptop is colder and fan is quiet. But if you have more ideas to cool down PC, I would be grateful to hear they.
I find that no driver statement surprising with such a new kernel and no data posted to back up that statement also.

Code:
$ dmesg | grep bt
<snip>
[   21.851865] usbcore: registered new interface driver btusb
<snip>
Because my kernel is older than yours

Code:
$ uname -r
4.2.0-linuxlite

Last edited by rokytnji; 03-27-2016 at 12:24 PM.
 
Old 03-27-2016, 12:19 PM   #5
the dsc
Member
 
Registered: May 2009
Distribution: Debian
Posts: 175
Blog Entries: 243

Rep: Reputation: 47
cpufrequtils (cpufreqd) may help, as well as "AND", Auto-Nice Daemon.

But if there's this noticeable difference between arch and ubuntu, my first line of investigation would be about the differences between them, the odds are that ubuntu is doing stuff it doesn't absolutely need to do. Or doing them badly, in case of different versions of the same things, or alternative tools to do the same thing.


I have this crude bash script I use to avoid overheating in batch processes, perhaps you could adapt something of it for your situation (please don't laugh):

Code:
temp=$(sensors | grep "Core 0" | sed 's|°.*||;s|.*+||;s|\..*||') 

case $temp in

3[0-5]) cool="0.2" ;;
3[6-9]) cool="0.4" ;;
4[0-2]) cool=0.15 ;;
4[3-5]) cool=0.35 ;;
4[6-7]) cool=0.65 ;;
4[8-9]) cool=1.2 ;;
5[0-2]) cool=1.8 ;;
5[3-5]) cool=2.3 ;;
5[6-7]) cool=2.8 ;;
5[8-9]) cool=3.5 ;;
6[0-4]) cool=7 ;;
6[5-9]|7[0-9]) 

echo -e "cooling...$temp\c"
until [ $temp -lt 53 ] ; do

echo -e "...$temp\c"
sleep 0.7

temp=$(sensors | grep "Core 0" | sed 's|°.*||;s|.*+||;s|\..*||') 

done

cool=3
;;

8[0-9]) cool=35 ;;
9[0-9]) cool=120 ;;
1[0-9][0-9] ) cool=200

;;

esac

sleep $cool
The logic is probably far from flawless, specially regarding how it would deal with extremely high temperatures, which luckily aren't something usual, anyway. But for common high-cpu batches it eases it a bit for the CPU and I hear less from the fan. I think it's a less sophisticated version of what "cpulimit" does, spacing out processes rather than pausing and resuming processes.

I use it within CLI loops such as "for file in *.mp3 do something heavy && cool.sh ; done", or before/after scripts that I'll probably sometimes run lots of instances somehow.


But it could perhaps be combined with things like cpulimit in a daemonized script that keeps monitoring this stuff. Along the lines of this script (not mine):

http://searchenterpriselinux.techtar...sses-with-Bash

A note about that script, though:

Code:
info=(`ps -eo pcpu,pid -o comm= | sort -k1 -n -r | head -1`)
USAGE=${info[0]%%.*}
PID=${info[1]}
PNAME=${info[2]}
This is more efficient than the way that script does to get the same variables.

Last edited by the dsc; 03-27-2016 at 12:20 PM.
 
1 members found this post helpful.
Old 03-27-2016, 04:24 PM   #6
kamils096
Member
 
Registered: May 2014
Posts: 60

Original Poster
Rep: Reputation: Disabled
@rokytnji
My fail with this bluetooth, sorry. I thought services aren't enabled when there is no BT adapter. I disabled, and i think there is a little colder than before. Thank you. I don't know why 4.6 is hotter, but i'll wait for final release.

@the dsc
Thank you for answer. I'm really grateful. I'll check this.

Well i think there is good time to clean this laptop. In Windows temperature is high too. But i think your advices make my Ubuntu colder, and temperature is almost same with temperature which i have using Arch. Thank you for answers and help.
 
Old 03-27-2016, 06:22 PM   #7
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
No reason to be sorry. You are just learning that Ubuntu turns things on auto mode behind the scenes, while Arch is a minimal not hold your hand as much as Ubuntu type of distro.

I run AntiX and Ubuntu based isos. So I am familiar with both styles of operating procedures/missions when it comes to minimal vs "Here you go newbie. We hope you have the gear to handle all of this. Flame on!"
 
  


Reply



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
adding arch boot to ubuntu laptop--a couple questions remn Linux - Newbie 5 10-09-2015 05:28 PM
Standy mode: laptop hotter in linux than in windows ? wearetheborg Linux - Laptop and Netbook 2 08-17-2007 07:03 AM
CPU gets hotter in Linux than Windows christian-s Linux - Laptop and Netbook 4 03-29-2006 05:07 PM
laptop running hotter after kernel recompile lumbrjackedpcj Linux - Laptop and Netbook 5 03-24-2005 07:30 AM
Linux makes my laptop run hotter? sancho Linux - Laptop and Netbook 10 10-21-2003 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:43 AM.

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