Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-24-2021, 04:17 AM
|
#1
|
Member
Registered: May 2016
Distribution: MX Linux
Posts: 254
Rep: 
|
How can i get low cpu temperature on high cpu frequency?
I have Windows 10 and MX Linux installed on the same laptop. On MX Linux i always get higher cpu temperatures for the same tasks i perform on Windows, and it seems to me that when Windows is running on high cpu frequency the cpu temperatures is lower then the cpu temperature on MX Linux when it is running on the same high cpu frequency. So, for the same cpu frequency i get different cpu temperatures on Windows and MX Linux. Any idea why this is happening?
|
|
|
03-24-2021, 05:48 AM
|
#2
|
Member
Registered: May 2013
Distribution: FreeBSD
Posts: 566
Rep: 
|
Seems like the sensors or the driver that controls the sensors is not installed or running
|
|
|
03-24-2021, 08:16 AM
|
#3
|
Member
Registered: May 2016
Distribution: MX Linux
Posts: 254
Original Poster
Rep: 
|
Drivers and sensors are installed, but maybe they are not as good as those on Windows.
|
|
|
03-24-2021, 09:14 AM
|
#4
|
Senior Member
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,707
|
Or maybe the Windows ones aren't as good the Linux ones?
Just a thought...
Play Bonny!

|
|
|
03-24-2021, 09:20 AM
|
#5
|
Member
Registered: May 2016
Distribution: MX Linux
Posts: 254
Original Poster
Rep: 
|
How that can be when i get lower cpu temperatures on Windows?
|
|
|
03-24-2021, 09:51 AM
|
#6
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,263
|
probably higher fan speed?
|
|
|
03-24-2021, 11:38 AM
|
#7
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
Also when looking at cpu frequency that is not necessarily a comparison of the amount of work being done. Comparing frequency and temp between windows and linux is like comparing oranges and ?grapes?. There are a lot of different factors that go into it.
|
|
|
03-25-2021, 02:23 PM
|
#8
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,550
|
The plain fact is that you are running different software, to answer post#1.
There's a sense of deja vue about this thread. You're in effect asking "Why isn't linux as good as windows?" and that attitude goes nowhere.
There are governors in the kernel that allow you to configure for your workload - the powersave governor should get you lower cpu temperatures if you are not already on it. But you might find another metric is more important. How hot is your cpu?
|
|
|
03-26-2021, 03:26 AM
|
#9
|
Member
Registered: May 2016
Distribution: MX Linux
Posts: 254
Original Poster
Rep: 
|
I am using powersave governor. MX Linux is using this governor by default.
I am not trying to say Windows is better than Linux. I recently switched to Linux as my main OS and i like it, and only thing that is bugging me is that i get higher cpu temperatures on Linux, than Windows, on the same hardware. I am not advanced user, but i can't think of other reason, software wise, than cpu frequency that affects the cpu temperature. For example, if i play a video on VLC on Windows, and then play the same video on VLC on Linux i get higher cpu temperature on Linux. If i compare the cpu frequency during these tasks this are the results:
On Windows:

On Linux:
I don't know why Linux is using higher cpu frequency to implement the task. Is this how the powersave governor works, or linux is just not capable to implement the task on lower cpu frequency? This is what i am trying to figure out.
This is some additional info about my system:
Code:
System: Host: <filter> Kernel: 4.19.0-14-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/vmlinuz-4.19.0-14-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
Distro: MX-19.3_x64 patito feo November 11 2020 base: Debian GNU/Linux 10 (buster)
Machine: Type: Laptop System: Hewlett-Packard product: HP EliteBook 8560w v: A0001D02
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: Hewlett-Packard model: 1631 v: KBC Version 01.39 serial: <filter>
BIOS: Hewlett-Packard v: 68SVD Ver. F.22 date: 01/05/2012
Battery: ID-1: BAT0 charge: 10.7 Wh condition: 11.2/11.2 Wh (100%) volts: 16.8/14.8
model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: Unknown
CPU: Topology: Quad Core model: Intel Core i7-2820QM bits: 64 type: MT MCP
arch: Sandy Bridge family: 6 model-id: 2A (42) stepping: 7 microcode: 2F
L2 cache: 8192 KiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36718
Speed: 2309 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 2309 2: 2434 3: 1998
4: 2617 5: 2328 6: 2235 7: 1693 8: 2280
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: NVIDIA GF108GLM [Quadro 1000M] vendor: Hewlett-Packard driver: nvidia
v: 390.141 bus ID: 01:00.0 chip ID: 10de:0dfa
Display: x11 server: X.Org 1.20.4 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa alternate: nv resolution: 1920x1080~60Hz
OpenGL: renderer: Quadro 1000M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.141 direct render: Yes
Audio: Device-1: Intel 6 Series/C200 Series Family High Definition Audio
vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0
chip ID: 8086:1c20
Device-2: NVIDIA GF108 High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0bea
Sound Server: ALSA v: k4.19.0-14-amd64
Network: Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard driver: e1000e
v: 3.2.6-k port: 5020 bus ID: 00:19.0 chip ID: 8086:1502
IF: eth0 state: down mac: <filter>
Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel
port: 4000 bus ID: 25:00.0 chip ID: 8086:0085
IF: wlan0 state: up mac: <filter>
IF-ID-1: vboxnet0 state: down mac: <filter>
Drives: Local Storage: total: 1.02 TiB used: 894.40 GiB (85.7%)
ID-1: /dev/sda vendor: Kingston model: SA400S37120G size: 111.79 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: B1D1 scheme: MBR
ID-2: /dev/sdb vendor: HGST (Hitachi) model: HTS541010B7E610 size: 931.51 GiB
block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm
serial: <filter> rev: 1A01 scheme: MBR
Partition: ID-1: / raw size: 62.46 GiB size: 61.23 GiB (98.03%) used: 35.81 GiB (58.5%) fs: ext4
dev: /dev/dm-0
ID-2: /boot raw size: 500.0 MiB size: 476.2 MiB (95.24%) used: 158.5 MiB (33.3%)
fs: ext4 dev: /dev/sda5
Sensors: System Temperatures: cpu: 49.0 C mobo: N/A gpu: nvidia temp: 45 C
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ buster main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb https://mirrors.netix.net/mx/MX-Packages/mx/repo/ buster main non-free
No active apt repos in: /etc/apt/sources.list.d/various.list
Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
1: deb http://repo.vivaldi.com/stable/deb/ stable main
Info: Processes: 304 Uptime: 1d 23h 54m Memory: 7.74 GiB used: 4.30 GiB (55.5%)
Init: SysVinit v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8
Shell: quick-system-in running in: quick-system-in inxi: 3.0.36
|
|
|
03-26-2021, 04:34 AM
|
#10
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,550
|
You won't be round linux very long before you realise linux is very capable. More than windows, linux can be tweaked to run on various systems. Here is the "Arch" directory from the kernel source
Code:
ls /usr/src/linux-5.10.15/arch
Kconfig arc arm64 csky hexagon m68k mips nios2 parisc riscv sh um xtensa
alpha arm c6x h8300 ia64 microblaze nds32 openrisc powerpc s390 sparc x86
You won't put numbers on the difference in temperatures, so there's nothing much more to say. Linux stays in safe numbers, and if you don't like what powersave is doing you may be able to profile it. Changing CPU frequency is not as simple as revving up a car engine. If a load comes on, cpus at low frequency will be slower to respond to it. The fact that windows sets the frequency lower will probably make it slower. But I gather your cpu is not stressed. so why not inquire from M$ why they set the frequency so low, and wait for their answer :-P.
|
|
|
03-26-2021, 10:17 AM
|
#11
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
Just to comment on your claimed speed difference.
In the windows image it says the average cpu freq is ~1,680 Mhz
From the linux image it appears the average is closer to ~1,200 Mhz.
As has been stated, the diff in temps are likely due to fan speed and the profile for auto control is usually selected in the BIOS. There are utils to change some of those settings in Linux, but I cannot offer a suggestion on where to look for your distro except the cpu governor. The cpu governor only interacts with the cpu itself and the fan profile is tied to the cpu.
|
|
|
03-26-2021, 12:44 PM
|
#12
|
Senior Member
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,060
|
49C is a low temperature for a CPU. The temperature should not exceed 85-90C.
Ed
|
|
|
03-27-2021, 12:34 PM
|
#13
|
Member
Registered: May 2016
Distribution: MX Linux
Posts: 254
Original Poster
Rep: 
|
The temperature is low because the system was idle when i run the system info command.
|
|
|
03-27-2021, 02:59 PM
|
#14
|
Senior Member
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,060
|
You have not stated what temperatures you are measuring.
If the CPU temperature is less than 85C under full load, the laptop is working as designed.
Ed
|
|
|
03-27-2021, 04:07 PM
|
#15
|
Member
Registered: May 2016
Distribution: MX Linux
Posts: 254
Original Poster
Rep: 
|
I didn't say the temperature is above 85 degrees. The problem is that the temperature on linux is with around 10 degrees higher than that on Windows, when they are implementing the same tasks. And both system are using the same hardware.
|
|
|
All times are GMT -5. The time now is 09:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|