r/linuxquestions • • 4h ago

Device resource management on Linux vs Windows

I have a Samsung Galaxy Book2 360 notebook (fairly modern) running Windows 11 and I have been struggling with the laptop overheating all the time and fans running like mad. It would literally be hot on the surface. I decided to dual boot with Linux Mint... I've only had it a couple of hours today but my device has not overheated at all today. Fans running normal and not berserk. I haven't gone into trying to figure out all the tech details of what's happening under the hood (both Windows and Linux) but surprised at the difference in experience. Does Linux just generally manage device resources (CPU, memory et al) better. It's been a pleasant surprise.

8 Upvotes

12 comments sorted by

9

u/AmuletOfNight 4h ago

Welcome to Linux. You'll find that Microsoft has basically been destroying you for a long time. I'm in the same boat, my computer is so much better on Linux than windows. On windows, I sign in and wait 10 minutes for things to start. On Linux, I sign in, and within 10 SECONDS, all of my apps are open and ready to go.

Microsoft blooooows.

1

u/goreverminski 1h ago

Enshittification is the operative word. I wouldn't know what specific hinge point I would point to where Microsoft stopped improving things and started merely milking and bilking their users, but for sure it's been going for a long time. Knowing this made me catastrophically unhappy on Windows.

7

u/_Lost-In-The-Weeds_ 3h ago

Does Linux just generally manage device resources (CPU, memory et al) better.

Yes. But there can be exceptions when there are driver issues,

I wonder if you picked up a cryptominer malware on Windows.

3

u/HCharlesB 2h ago

I was wondering the same thing.

It seems likely that Windows had something in the background that was loading up the CPU/GPU. Sometimes it's just a web page gone wild. (Or perhaps a web page with an embedded cryptominer.)

2

u/_Lost-In-The-Weeds_ 2h ago

Yeah, Linux uses less resources, but by the description there appears to be more going on here than typical windows bloat?

Driver issues causing an offloading of hardware acceleration by the GPU/APU/IGPU to software rendering could also be an issue.

2

u/iEliteTester 4h ago

Not really about managing the resources better, its just using less resources overall.

Ok to be fair that can fall under "better" ig.

2

u/mredding 3h ago

Power profiles. I've absolutely no idea how Windows does it, but the concept is the same. On Linux, a distro will usually default to a pretty conservative power profile where you are in a low power mode until there is demand. The consequence is there's a latency in getting the hardware up to full speed and power, with spikes and jitters in the transition. Windows would have the same problems switching power profiles, too, so if you DO see anything don't judge it too harshly. That Windows ran hot tells me it was either defaulting to performance, or it was involuntarily pegged there due to a misconfiguration or poorly behaving software.

Linux makes the whole thing a fair bit more transparent, and something you can tune. If you do see jitters, you can diagnose and fix them.

If you're running an out-of-the-box install, there's probably a fair bit of tuning you can do to dial in your tablet hardware and overall experience. I recommend asking Google AI, give it your device specs and your Linux distro and version, and see what it thinks. I'd ask the AI to help identify and diagnose any startup or shutdown errors, software misconfigurations, and drivers, then ask it to help disable services and remove software you don't or can't use, and hardware accelerate all your software - because a fair bit is probably very conservatively running in software modes - because it's guaranteed to work. But for you, hardware acceleration also means better battery life and thermal management.

1

u/Excellent-Love-6943 4h ago

Yeah Linux is just generally easier on the hardware. That's why you get better battery life too (if you configure power management).

1

u/Prestigious_Wall529 3h ago

The first resource is RAM. Before running apps Linux uses less than Windows.

Once several large programmes are running requiring paging RAM to disk, the heat generated may require the fans to kick in.

In Linux the scheduler is still being actively developed, several contenders being swapped over time, with optimisations every kernel release. Windows has basically been using the same scheduler since NT3.51/4.

1

u/InstanceTurbulent719 2h ago

Yes, that has been my experience as well, even on a similar samsung g book2. On linux the cpu power profile was a bit different so it went to max clocks way more often than windows 11 but after that was sorted it was cooler and quieter in general

1

u/SLJ7 1h ago

It's less about Linux using resources more efficiently, and more about bloat. Windows comes with a lot of extra software you didn't ask for, so the memory and CPU usage will be much higher after logging in. A fresh Windows install can show more than 4 GB RAM used before you even run anything of your own. A Fresh Linux install might not even use a full 1 GB depending on the desktop environment. That leaves you with more resources to use for your running programs, and a computer that works better when it's idle. In general, an app that has a Windows and Linux version will be about the same on both, but because the OS itself is running more smoothly, your apps will too.

That said, if you haven't looked through startup and task manager on Windows to see whats happening, you might want to. It's the kind of troubleshooting that will serve you well on Linux. There's a nice little script called Win11Debloat that I like to run on my own Windows machines, and between that and a few other optimisations, I've always been able to get Windows running fairly well even on older hardware. The underlying OS is solid. The bloat and AI and unwanted ads give it the reputation it has. On Linux you choose what to install, and if you don't like a desktop environment you can swap it out, and if you don't like something about the version of Linux you're using, you can use a different one. On Windows, consumers get one version with one desktop environment, and if you don't like it, you're relying on third-party scripts and tweaks to make it work.

1

u/skyfishgoo 1h ago

linux is doing less under the hood than windows (because it's working for you and not for M$) so it's normal for linux to need fewer resources and be less demanding.

that said, linux is not known for it's optimization in things like fan speed so you are lucky that it does not just run the fans at 100% all the time.

there are software you can install to give you control over your fan curves, or likely there are fan curve controls in your BIOS you can set.