Memory management and file IO is far more efficient in Linux. So much so that I even got better performance in Windows running Debian in a VM for some very file-intensive stuff.
Comment on Microsoft to stop forcing Windows 11 users into Edge in EU countries
Eheran@lemmy.world 1 year agoHow or why does Linux have a higher performance for you?
GigglyBobble@kbin.social 1 year ago
sturmblast@lemmy.world 1 year ago
Also, MORE FILE SYSTEMS! NTFS is crap
whileloop@lemmy.world 1 year ago
Probably just down to less stuff running in the background using up CPU cycles. I can’t imagine it makes a huge difference, but more than nothing.
codanaut@lemmy.world 1 year ago
Depending on the situation, it actually can make huge differences.  For instance, I built my computer in 2010 it’s 13yrs old now. it can’t run windows 11 and while it can run windows 10 it runs like complete shit. Start up would take forever even on a fresh install, half the time Windows freezes just trying to get to the desktop after a fresh reboot. at idle background processes from windows would leave me running over 50% CPU usage just idling and opening anything like Firefox and Discord at the same time would jump to 100% CPU usage.
On Linux it runs just as good as the day I built it. Startup takes around 30 seconds and I can actually start working the moment I’m on the desktop, no freezing or waiting for background startup processes to finish. I currently at this moment have around 20 workspaces (aka virtual desktops) open across three monitors, within those work spaces is hundreds of tabs open in Firefox, simultaneously playing RuneScape and dwarf fortress. A bunch of terminals, SSH sessions, and other miscellaneous work stuff running. a ton of docker containers running, I also have both discord with a call going and Spotify playing in the background and I am setting at 30% CPU usage with the occasional spike to 50%. I can actually use my computer to do a ton of stuff and have power left over while windows would max out and freeze up just the start up, even on fresh installs. And it’s not just this one old computer, I can consistently see rather large performance differences going from Windows to Linux across the number of different computers. 
captain_oni@lemmy.world 1 year ago
Also, the file system. For the longest time windows used NTFS exclusively, which is (or was) slower than Ext4 (the most widely used on Linux).
I think MS is moving away from NTFS and are going to use a different file system in the near future (maybe even now, I don’t know anymore)
barsoap@lemm.ee 1 year ago
I don’t think NTFS is the actual problem, but the Windows VFS layer (or whatever it’s called over there).
Running windirstat (or similar programs) is dog-slow on Windows, k4dirstat eats through the same partition quite a bit faster. Getting metadata to sort a directory with what 5000 files can take minutes in explorer, with Linux it’s pretty much instant. minutes. That’s not just non-optimised that’s abysmal.
tony@lemmy.hoyle.me.uk 1 year ago
They’ve been talking about replacing NTFS for a long time. 10 years ago they put ReFS in the server builds and… show of hands anyone using it?
Nefyedardu@kbin.social 1 year ago
Most desktop environments are really efficient at what they do and minimize the background resources they take. Just checked my system and GNOME takes ~350MBs RAM and literally 0.0% CPU, it's insane. I looked up Windows 11 and it seems like it can use up to 4 GBs (!) of RAM all by itself.
sturmblast@lemmy.world 1 year ago
It can and will if you let it
Im_old@lemmy.world 1 year ago
not OP but similar situation. My Linux desktop is just more snappy, despite being 5 years old (and the work Win11 laptop brand new). I already have customized with my shortcuts and apps. I don’t have to listen to the fan spinning up every time I open a new window (exaggerating a bit, but not much). Also I am not tied to work filters. If I want to read the news online for 5 minutes in a coffee break I don’t risk being monitored and potentially evaluated. But really, I’ve been a Windows and Linux user for 20-odd years. I’ve always found that Linux installed on the same hardware of Windows is just smoother and faster. Windows is getting so much bloatware (from MS or enterprise apps) that it doesn’t even have a fighting chance.