r/linuxquestions • • 1d ago

Linux Vs Windows

So some context ...... I'm not 100% noob when it comes to Operating Systems but I honestly don't know everything. Sometimes, I only know enough to be dangerous, lol. Anyways I bought this old laptop from Goodwill for $20. It's a HP, not a stream. AMD A12-9700P, 6gb of ram, 1tb 5400 rpm hard drive. It had Windows 10 on it.

Under Windows, this laptop was just unusable. Disk usage was constantly at or near 100% all the time. Every single task was taking forever. I thought the drive was failing, nope. Drive has just over 100 hours, so it probably was replaced at some point. Couldn't figure out why Windows keeps this poor hard drive so busy.

I decided to install Linux Mint, once the desktop is fully loaded. Peace and quiet. Disk is at 0% with occasional spike to 1%/2% while idle. Obviously they are 2 very different operating systems, but what makes Linux more efficient on drive access/usage? Also everything else is way more efficient than Windows. YouTube videos plays without being a stuttering mess. It feels like a brand new laptop.

23 Upvotes

31 comments sorted by

16

u/Prometheus2025 1d ago

I'm all for Linux - but in your case it could have been a corrupted version of windows or just bloated with startup applications... And malware.

Your case is exactly why big e waste hates Linux.

Linux is the antidote to planned obsolescence.

1

u/naomigurl 1d ago

Corrupted Windows Version. Maybe. Bloated with Startup apps or malware. Probably not. It was a fresh install of Windows. Absolutely nothing on there. 1 offline account named "Goodwill". It was Windows 10 version 22H something, can't remember the last digit

5

u/Borbit85 1d ago

How long have you used it with windows? If you just tested it for a little bit and it was a fresh install, maybe windows was still working hard to put all the updates , drivers and whatnot on there? And maybe indexing the hdd for the search functions.

I would put just linux mint only if its a extra laptop just for reddit / youtube and such. But if you prefer windows maybe try windows 11 and just let it run for a few hours or even overnight before you draw conclusions. Or make it a dual boot.

2

u/naomigurl 1d ago

I didn't really think of that. It could very well been that. After about 1.5 hours, I got tired of the Windows nonsense and complete unusability of the laptop. I installed Linux Mint on it, hoping I didn't waste $20. It's been running beautifully ever since. Should I up the ram and maybe install a ssd?

1

u/Borbit85 1d ago

I recently put mac os on a old imac I have and it was just unusable and the system monitor showed disk use at 100% and also very heavy cpu usage. I think this is because it was setting up the spotlight search function. I left it on overnight and the next morning it was just happily idling and it was just usable. I did went back to linux but that's just because I like it better.

For your laptop the cpu doesn't even look that bad at all and 6GB of ram isn't to bad ether. If you can replace the hard drive for a solid state one that's gonna make a huge difference. Especially because a 5400rpm drive is even slow for a hard drive.

What do you want to use the laptop for? If it's just some browsing really any small second hand ssd is gonna be a huge upgrade.

6

u/gnufan 1d ago

Also indexing. Whilst I think the question needs more details to answer correctly, I've certainly seen Windows installs that stay busy on IO for long periods, and I assume they were creating or refreshing indexes of user documents or similar.

I've seen similar tools keep Linux desktops disks whirring too.

1

u/FunJackfruit1659 11h ago

What could it possibly be doing to justify needing to do that?

Windows does just run an awful lot of unnecessary processes.

1

u/naomigurl 1d ago

And I was always planning on installing Linux on there.

1

u/ask_compu 22h ago

or a dying hard drive

8

u/InstanceTurbulent719 1d ago

windows has way too many background services using tons of cpu cycles. Also, you were probably updating to the latest windows patch, like dotnet runtime, defender updates, security patches, feature updates all at the same time. Even on a recent machine it's gonna take a while.

And that generation from amd was basically right after their most terrible garbage mobile chips they ever made, and before ryzen, so that's probably a factor too. At that point you were probably using a windows build from the 2020s

4

u/Etsamaru 1d ago

Windows is constantly collecting your data and doing stuff in the background and often. Windows has a LOT of tracking and telemetry that uses a lot of your resources. It got worse with windows 10 and 11 even more so.

1

u/CardOk755 1d ago

Almost certainly the Windows installation was using too much memory, causing swapping, which is disk usage.

1

u/naomigurl 1d ago

Really, with 6gb of ram? I know windows is bloated, but my desktop only uses 3gb at idle. I just checked Linux Mint uses 900mb at idle. The contrast is amazing

2

u/toolz0 1d ago

Linux (Unix) was around as a multi-tasking, multi-user OS many years before Windows, or even MSDOS existed.

2

u/seismicpdx 1d ago

To shed some light on Windows 10, find some De-bloat PowerShell scripts on GitHub, and read read them.

2

u/bnelson333 1d ago

that's not normal in windows, you had something else going on. linux wasn't the cure-all here, it was just coincidental

2

u/mredding 1d ago

what makes Linux more efficient on drive access/usage?

Nothing.

Windows CAN BE just as quiet and efficient. That machine was loaded with tons of processes all hogging for disk access all the time, and the Windows OS is just going to dutifully try to facilitate that. A lot was going wrong with that computer in its software environment. Of course you can only imagine what sort of bloatware and malware was taking over that machine. It was probably a node in a bot net, just totally taken over to the point the original owner abandoned it.

What you should do is tell Google AI you have an X model laptop with Linux Mint and you want to tune it. Give it the output of lspci, lscpu, lsusb. You want drivers if you don't have them, you want to check startup and shutdown for errors and fix them, you want to search for misconfigurations, you want to disable services you can't or don't use, you want to reduce startup and shutdown times, optimize disk access, reduce the size of your initramfs, tune your networking, tune memory usage, and hardware accelerate all your programs.

I end up having long conversations with the AI, we go back and forth on the commands and output, and we diagnose and measure, figure out what we're dealing with, address the issue, then measure the results. It's an iterative process you don't have to do at once. The AI will have you running some interesting commands and have you all over the system in ways you've never interacted with it before. It's a grand tour, and rather enlightening.

AI is a tool, and it can be used as a mentor. Don't just blindly copy and paste, understand what it is it's having you do. Write out some of the commands. As you go, you'll gain insights and lead with your own questions and prompts.

In the end, you can tune for a very fast and stable machine. My workstation here is running Proxmox + Ubuntu, it boots in 8 seconds and shuts down in 3.

1

u/jedi1235 1d ago

After my experiences with my previous laptop (dual boot with both HDD and SSD), I think MS decided people don't run Windows off platters anymore, so it's really only usable from an SSD.

1

u/HotEffect8358 1d ago

windows 10 isnt good at resource management. if you tried with windows 11 it would probably be okay. if yopu have mint and you like it, that's good too

1

u/sp3kter 1d ago

Its defender, it’s an absolute resource hog for slightly older machines (7th-9th gen intels mostly)

After I moved my old i5 off win11 and onto nobara Linux I gained a lot of system resources back

1

u/rarsamx 1d ago

Windows runs many services on the background that are always working: antivirus, indexing, defraging and updates at the minimum.

Windows is meant to leave on overnight so it can do all that while you sleep.

You can disable many of those services but they tend to come back. Also. Modern versions of Windows assume SSD instead of HDD.

In Linux, most distribution are less agressive setting background processes and it's easier to disable them.

In any case, both windows and Linux will benefit from installing an SSD.

I assure you it will be unrecognizable

1

u/Amazing_Actuary_5241 1d ago

Memory usage is the main issue why this happens. Windows allocates more into memory to speed itself up and starts paging sooner thus starts to allocate memory into the disk causing the usage to spike.

The memory consumption in Linux is much lower which keeps the swappiness under the parameter when it automatically starts to use the swap partition. The swappiness cutoff in linux IIRC is set to a higher value to avoid using swap space.

Swappiness can be adjusted in Linux, on Windows IIRC has to be altered in the registry as well.

This happened to me in my older Lenovo and the issue disappeared as soon as I installed 16GB RAM.

1

u/FunJackfruit1659 11h ago

Are you saying that windows will memory cache into a swapfile?

As in, it reads data from the harddrive, then saves it somewhere else on the harddrive, on the off chance that you might need to read it from the harddrive, so instead of accessing the harddrive, it can just access the harddrive in a different place?

I'm not a fan of windows, but it can't be that bad

1

u/Amazing_Actuary_5241 10h ago

A simple way to test my theory is to disable the pagefile usage completely. If this is the cause you should see the hdd utilization drop significantly.

I experinced this issue when I upgraded my (then) Win8.1 work machine to Win10. Immediately after the upgrade disk utilization went very high during normal usage. When I researched into why almost every post regarding this issue pointed to pagefile use beign set at a too low value (IIRC 30%). This told me Windows was writing to disk for memory consumption way too early, even when ram was still available. For comparison vanilla Ubuntu has the swappiness setting at 60%.

1

u/FunJackfruit1659 10h ago

Honestly wouldn't surprise me all that much, I finally gave in and ditched windows about 2-3 years ago, it was incredibly bad, but I never really wasted that much time figuring out exactly why

1

u/50gg 15h ago

Your case sounds a little like - windwos 10 and 11 run some sort of general house keeping and update tasks when you haven't ran the machine for a while and on slower laptops, it can render them useless for quite a while. If you left it just doing it's 100% drive usage for a day, it would have finally settled, but it does this every time you leave it off for more than 2 weeks. It's just one of those things MS has been doing in recent years to promote linux.

0

u/aweaselonwheels 1d ago

Swap that hard drive out for a cheap SSD and you will be really zooming along in Linux.

Do you need a 1TB drive? you can always get a cheap kit to turn it into an external drive.

-4

u/ipsirc 1d ago

Just reinstall Windows from scratch and make a second try.

5

u/naomigurl 1d ago

Before I installed Linux Mint, the Win10 installation seemed pretty fresh. Nothing on there. They created 1 offline user account. Nothing else.

7

u/JohnnyS789 1d ago

Do you go to Satan for lessons in how to be more evil, and what do you charge him for the lessons?