How can i get low cpu temperature on high cpu frequency?
Linux - HardwareThis 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.
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.
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?
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.
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?
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.