r/linuxquestions • u/naomigurl • 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.
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.
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.
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
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/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.