3 ms·
If I’m encoding video or running a database, sure. But the OS should be as lean as possible because the entire reason is to run other programs.
by bena 27d ago
If I’m encoding video or running a database, sure.
But the OS should be as lean as possible because the entire reason is to run other programs.
- PorciiVorbesc 27d agoThe windows kernel is smart enough to free RAM for the highest demanding app like rendering or video editing, even if the idle is high. That's why there's no accurate 1:1 comparison between operating systems. Windows, MacOS, and LInux will treat physical memory very differently bot at idle, and during heavy use. Sure, Win 11 has a lot of bloat and poorly coded Web apps that should be removed or rewritten in native, but the kernel is still top notch at managing even limited memory and handling OOM cases.
- skydhash 27d agoThe thing with windows is that there is no idle state, something is always busy with the CPU/hogging ram. With Linux I can have like 98% idle and the system taking 2Gb out of my 8gb of ram, but with windows, the system is more like 30% cpu and more than 4GB of currently being used ram.
- PorciiVorbesc 27d agoIf idle on Win 11 already pre-caches most-used apps like Chrome/FF and not on Linux, how can you accurately measure what true idle is? You have to remember the Win (and MacOS) kernel is tuned to consumer desktop user use cases, while Linux kernel is tuned to server/DC use-cases. That's why ~15 years ago when I was in uni, you'd get audio stutter when playing music/movies of spinning rust on linux while torrenting file on the same HDD, and not on Windows/MacOS, due to different queuing algorithms used thet prioritised audio decoding tasks over everything else, which Linux kernel out of the box didn't, unless you tinkered and changed it.
- skydhash 27d ago> You have to remember the Win (and MacOS) kernel is tuned to consumer desktop user use cases, while Linux kernel is tuned to server/DC use-cases. I don’t mind the kernel doing kernel things. The issue is system services and other software that are either unnecessary or badly coded. You can’t disable them because of “reasons” and they’re just wasting your time and your electricity.
- d3Xt3r 27d ago> while Linux kernel is tuned to server/DC use-cases That depends on the distro / flavor of kernel; the Linux kernel is pretty flexible and you can cut it however you want. If you use a distro like CachyOS for example, you'll find that they use a kernel tuned for desktop use-case, so you don't need to tinker with anything.
- keyringlight 27d agoA tangent to this which annoys me is not specifically windows, but the way the ecosystem has evolved over the years, by guidance/enforcement or lack thereof from MS. Unless you're very careful about what applications you install and how you manage/monitor them, you can end up with a lot of background applications loaded each boot, each doing some combination of non-centralized updating itself or applications it manages, preloading, quick launch, etc.
- mitxela 27d ago[dead]
- cosmic_cheese 27d ago> But the OS should be as lean as possible because the entire reason is to run other programs. In my mind Classic Mac OS (minus its design issues) is the ideal to strive for here. It was barely even an OS and more like a substrate for GUI applications to run on top of. Even “essentials” like networking and USB support were implemented by way of extensions which could be disabled at will. If you disabled all extensions you’d get something resembling a full color version of the original 1985 System 1.0 that took almost no resources. This was great for squeezing out every last drop for things like games and emulators.
- EPWN3D 27d agoIt was that lightweight because it provided basically none of the functionality that is essential to a modern OS. Because it wasn't a modern OS. The surface area of stuff that an OS has to do today is absolutely massive, and the dependency graphs are poorly understood even by the engineers who work on those systems. Innocuous pieces of functionality have a way of becoming load-bearing over time. If you ran around disabling random bits of functionality in Windows because you wanted to reclaim some resources for your games, you'd probably wedge the OS, cause random crashes, and prevent your games from even launching. Like you might think "Well my game doesn't need Bluetooth, I only use a wired controller!" but I would not be surprised at all if yanking out the Bluetooth stack from the OS caused random crashes and hangs.
- cosmic_cheese 27d agoI’m not convinced that it’s impossible to build a modern OS in a way that’s properly modular and allows most functionality to be disabled entirely (as in never even loaded into memory). Windows almost categorically can’t because it’s only ever been developed organically and is pathologically backwards compatible, which keeps it forever tied to past design decisions. Linux could get a much closer but is hamstrung by monolithic kernel design which puts more functionality there. You’d need a clean sheet design which positions most subsystems as discrete components.
- unrented7977 27d ago
- floro 26d agoPlease educate yourself on how RAM is used https://www.linuxatemyram.com/ https://www.linuxatemyram.com/