Top
Best
New

Posted by jnord 2 days ago

Ubuntu now requires more RAM than Windows 11(www.howtogeek.com)
141 points | 187 commentspage 4
nickpsecurity 2 days ago|
I was testing them on a HP laptop I bought for $200 with 4GB of RAM.

Windows, its default, used so much memory that there was not much left for apps.

Ubuntu used 500MB less than Windows in system monitor. I think it was still 1GB or more. It also appeared to run more slowly than it used to on older hardware.

Lubuntu used hundreds of MB less than Ubuntu. It could still run the same apps but had less features in UI (eg search). It ran lightening fast with more, simultaneous apps.

(Note: That laptop's Wifi card wouldn't work with any Linux using any technique I tried. Sadly, I had to ditch it.)

I also had Lubuntu on a 10+ year old Thinkpad with an i7 (2nd gen). It's been my daily machine for a long time. The newer, USB installers wouldn't work with it. While I can't recall the specifics, I finally found a way to load an Ubuntu-like interface or Ubuntu itself through the Lubuntu tech. It's now much slower but still lighter than default Ubuntu or Windows.

(Note: Lubuntu was much lighter and faster on a refurbished Dell laptop I tested it on, too.)

God blessed me recently by a person who outright gave me an Acer Nitro with a RTX and Windows. My next step is to figure out the safest way to dual boot Windows 11 and Linux for machine learning without destroying the existing filesystem or overshrinking it.

heelix 2 days ago||
Consider a dedicated SSD for each OS. You should have a couple M2 slots in the laptop. What you can do is remove (or disable) the Windows SSD, install Linux on the second drive, and then add back the windows drive. Select the drive at startup you want to be in on boot and default the drive you want to spend most of your time in. I did that on my XPS and it was trouble free. Linux can mount your NTFS just fine, without having to consider it from a boot/grub perspective.

https://community.acer.com/en/kb/articles/16556-how-to-upgra...

Looks like you got space for 2 drive.

nickpsecurity 1 day ago||
That's a terrific idea. It might address the other problem that I'd have little space for Linux apps. Thanks!
j16sdiz 2 days ago|||
> Ubuntu used 500MB less than Windows in system monitor.

Those number meant nothing comparing across OS. Depends on how they counts shared memory and how aggressive it cache, they can feel very different.

The realistic benchmark would be open two large applications (e.g. chrome + firefox with youtube and facebook - to jack up the memory usage), switch between them, and see how it response switching different tasks.

nickpsecurity 1 day ago||
Thanks for the critiques and the tips. I might try that in future testing.
keithnz 2 days ago|||
windows always optimistically loads a lot, almost no matter how much ram you have
srean 1 day ago||
For the life of me I couldn't understand why anyone would downvote parent comment. Nothing offensive or disagreeable here.
dangus 2 days ago||
I imagine the choice of desktop environment has most to do with RAM requirements in Linux.

Unrelated to this, despite Ubuntu’s popularity, I think it’s one of the worst distro choices out there, especially for including old kernels for essentially no discernible reason.

I wouldn’t go so far as defending Microslop but I do get tired of the Apple fanboys accusing Windows of being bloated and running poorly.

They seem to defend Apple’s 8GB machines by saying that Apple systems perform better than Windows with the same amount of RAM. This claim is entirely unsubstantiated.

Windows has a lot of problems but performance and memory efficiency is not one of them. We should recall that Microsoft actually reduced RAM usage and minimum requirements between windows 7 and 8 as they wanted to get into the tablet game, and Windows has remained efficient with memory since then as Microsoft wants Windows to come with cheap Chromebook-like hardware and other similar low-end systems.

akdev1l 2 days ago||
MacOS handles memory pressure better than Linux imo (at least for interactive use cases)

I have seen MacOS overcommit up to 50% of memory and still have the system be responsive.

Yesterday I filled up my ram accidentally on Fedora and even earlyoom took several minutes to trigger and in the meantime the system was essentially non-responsive

mcswell 2 days ago|||
The plural of 'anecdote' is not 'data'.
dingaling 1 day ago||
It's exactly what it is

How do you think data is created? It's lots of anecdotes, normalised.

DullJZ 2 days ago||||
macOS uses solid-state drives to do swap to help increase virtual memory. I can run multiple browsers and IDEs smoothly on my 8GB MacBook.
worthless-trash 2 days ago|||
This is with earlyoom/systemd-oomd enabled ?
kergonath 2 days ago|||
From my experience it does not help much, and I still get occasional freezes when a program misbehaves on Linux. It’s not a huge problem, but it is a problem and it exists; I have been dealing with it for about 15 years with no significant improvement.
worthless-trash 1 day ago||
The earlyoom/oomd changes are quite recent.. I've had a 'better' experience, but I guess it's not really fixed yet.
akdev1l 1 day ago|||
Yeah, Fedora ships systemd-oomd

It did eventually work to but it took a while. It also did not killed the culprit runaway processes somehow but it did kill enough stuff for me to regain control of the system.

morphid-rabbit 2 days ago|||
Best kernel recommendations? Mainly for extremely long running (2+ years) SaaS applications. Stability overall. Is running a handful of docker containers and some binaries.
dangus 2 days ago|||
For desktop use, I find that being on the latest stable kernels is best because you get things like recent AMD graphics drivers and support for recent hardware and laptops. I’m in an arch-based distro and my kernel updates all the time. I’ve never had an issue. The stability benefits of LTS seem completely useless in comparison. Just my opinion though.

If you’re running applications as in a server that’s an entirely different discussion. I have been assuming we are talking about desktop users who are not serving anything.

E.g., if I go out and buy a 2026 Panther Lake laptop with a new WiFi 7 chip or what have you, I’m going to want a distro with the latest kernels so that I don’t have hardware issues. If I install the default Ubuntu download it’s going to almost certainly have problems.

embedding-shape 2 days ago||||
Linux LTS if stability is the most important. Realistically, "normal" Linux works for for it too, not sure you have to care as deeply about what kernel you use as you seem to do.

On my desktop I use linux-cachyos-bore-lto which seems to give me a slight performance boost in compilation times compared to the regular kernel, but I've had at least one crash that I've unable to attribute to any other specific issue, so could be the kernel I suppose, I wouldn't use it on a server nonetheless.

elcritch 2 days ago|||
FreeBSD is touted for long running and stability.
anthk 2 days ago|||
Both Ubuntu and Trisquel have backports for mainline and LTS kernels. Also, GNU/Linux has ZRAM, 4GB can work as 6.
dryarzeg 2 days ago|||
I am not an Apple fan, so I'll just tell my story. And yeah, it may be biased, and I may not understand something important.

So around ~3 years ago or so I bought a lightweight low-end laptop (Intel Core i3, 14 inch display, 8GB of RAM) for everyday stuff so I could easily bring it with me everywhere I need to go (I mean, everywhere I would need it). It came with Windows 11 pre-installed. Now, for you to understand, previously, like ~10 years ago or so I had a Windows 7 system and it was pretty neat. And I remembered when people were switching from Windows 7 to Windows 8 or 10, they blamed the new OS version just like right now the Windows 11 was blamed; yet everyone got used to it, it received some fixes, improvements, etc; so I thought "well, maybe Windows 11 is not so bad, I should try it out at least just for the sake of curiosity".

And now, the clean installation of the Windows 11 that came to my was requiring like ~20 seconds to fully boot up to the login window. I know that my laptop is not best of the best, but still... After a startup, with no apps opened, there was like ~4 GB of RAM usage just out of nowhere; so effectively I was limited to ~4GB of RAM to run something I want to. Bluetooth drivers were terrible (at the time) - sometimes I was able to connect to my headphones and sometimes I wasn't, while they were working with all of my other devices perfectly. Then there was also this hellish "Antimalware Executable" - and I know how it sounds, I have nothing against anti-virus software, but when it randomly shows up several times per day, eats all of your processing power (like ~80% of CPU usage, and note that I have 8 cores ~3 GHz here), heats up your laptop to the point that fan starts screaming... that was not very good, to speak softly. Battery usage was also a disappointment - sometimes it couldn't last for just 3 hours, while the most heavy thing I was doing during that time was compilation of some software.

I was trying, I was re-configuring, I was applying patches... and finally I got fed up with all of this bloat, broken updates and other garbage. So I just backed up all of my important files and data to external drive and installed Linux Mint (because in this particular case I just needed working laptop). And wow, it just worked! Now at startup I get like ~1 GB RAM usage at most (this actually depends on the DE I use, so numbers could be different from time to time), battery life improved, no more weird Bluetooth issues, no more random bloatware... it just works, and that's it.

I know that distros like Mint are focused on stability and efficiency, so maybe the comparison is a bit unfair. But hell, even while I don't have anything against Windows 7 or Windows 8, the recent Windows 11 is a real combination of bloatware and spyware. So performance and memory efficiency is, actually, the problem here. Or at least it was a problem last time I tried it.

Now, again, I may be wrong somewhere, maybe I missed something out. If I did - please point it out.

dangus 2 days ago||
I just logged in to my MacBook Air M2 (24GB RAM) with no programs open and it’s reserving 8.3GB of RAM and using 500MB of swap.

My Framework laptop running CachyOS with KDE Plasma with nothing open except System Monitor reserves 4GB with 500MB in swap (I enabled swap for sleep to hibernate, normally there’s no swap).

Reserving RAM doesn’t mean there’s a performance problem.

Most of the things you’re talking about in your comment have nothing to do with RAM usage and memory efficiency. You’re complaining about some annoying preinstalled OEM software [1], bad drivers, fan noise, battery life, and windows updates. That stuff isn’t great but a lot of it doesn’t have anything to do with Windows RAM efficiency itself.

If you download the Windows ISO from Microsoft and clean install you’ll have a pretty nice experience. I think Microsoft needs to crack down on OEM software additions.

As far as slow boot up times/slow initial setup I’ll remind you that Macs also have that as an issue during first boot and spend a lot of time doing initial indexing.

Linux mint is a great distro and I also prefer Linux to both Mac and Windows as well. Mostly my commentary is on the subject of people claiming Microsoft Windows is bad with RAM when we now see some Linux distros asking for more RAM than Windows. I think it’s quite clear that RAM isn’t the problem with Windows, it’s a lot of other things and the surrounding ecosystem.

[1] I have to assume you’re talking about some third party antimalware program because the Microsoft one absolutely does not behave how you describe.

dryarzeg 1 day ago|||
> Reserving RAM doesn’t mean there’s a performance problem.

It does in my own experience (so it may not be a problem for you, I agree, but it is a problem for me). Because when OS allocates ~50% percents of RAM for itself and isn't letting it go, then other software simply can't use it. Therefore, you're limited. Your potential performance is capped at certain level just because your OS decided to allocate half or more of your system RAM. Why? Well, just because it wants to.

> have nothing to do with RAM usage or performance

Well, to be honest, most of them don't. But would you please explain then, why it takes around 20 seconds just to boot up, while for the aforementioned Linux Mint (and I'll clarify that it's currently 22.3 for me, the latest version, it was 22.1 at the time as far as I remember) it's only around ~3-4 second to take me to the login screen and then another second (at most) to load everything after I have logged in? Could you also, please, explain how does it happen that even GNOME's Nautilus file explorer takes less RAM and far less CPU usage than Microsoft's Explorer (and I won't even mention Thunar, that's kinda unfair)? What about "Start" menu in Windows which spiked up CPUs just by opening/closing? There's a lot of performance issues, both with RAM and CPU usage.

I'm not saying that these problems are unique to Windows, no; but saying that Windows doesn't have any performance issues is not really true.

> I think it’s quite clear that RAM isn’t the problem with Windows, it’s a lot of other things and the surrounding ecosystem.

I agree with you here. That's true. A large part of the problem comes not from the actual operating system, but from the application software. I thought once that well, maybe if RAM shortages will last longer than for just one or two years, that will be bad, but also, maybe - just maybe - some software developers will start to think at least a bit more about optimization...

dryarzeg 1 day ago|||
> [1] I have to assume you’re talking about some third party antimalware program because the Microsoft one absolutely does not behave how you describe.

Editing without specifying that you have edited your reply is not very good, you know. But okay.

Actually, I'm talking about the Windows-shipped Microsoft Defender process (at least it seems to come from Microsoft Defender). I have not seen anything third-party installed on my laptop at the time, and it actually behaved just like I described. I should also remind you that it is a low-end laptop, that's just Intel Core i3-N305, it's not the most powerful CPU in the world - just 8 cores, 8 threads and 3.80 GHz of max boost frequency.

If you think that I'm lying, then just search for "antimalware executable high CPU usage" in any search engine. You will find a plenty of complaints and even some guides on how to deal with it.

dangus 1 day ago||
Does it behave like this all the time or just at specific moments?

I find on my Windows system it's only doing things when specific actions are happening.

Right now the antimalware executable process is using 196.4 MB of memory and 0% CPU for me as I type this.

When I download an executable from the Internet and run it, the CPU usage spikes to 8-10% briefly and the RAM usage goes up by 30MB or so.

I have a much higher-end CPU than that, 6 cores 12 threads (AMD Ryzen 5600X3D)

In my experience the executable is pretty much doing nothing unless I'm opening up an exe that's trying to elevate privileges or if it's doing an active periodic scan.

dryarzeg 9 hours ago||
> Does it behave like this all the time or just at specific moments?

Strangely, but these were... specific moments, but not too specific. I mean, it wasn't running from the startup till the shutdown, but I also don't remember any specific triggers such as running untrusted applications or something similar. However, I guess that, according to the CPU usage, it most probably were full system scans. One thing remains unclear though: why, despite me turning off this feature, it was still quite frequently (I'd say way too frequently for normal operation) performing the full scan. I have no ideas. I'll not list everything I tried and checked here - because it would be too long - but the most "suspicious" thing I downloaded at the time was ImHex executable. And I don't think any anti-malware would spend ~80% of CPU processing power just to scan one relatively small app. I checked different things that could trigger it - but found nothing.

> Right now the antimalware executable process is using 196.4 MB of memory and 0% CPU for me as I type this.

Likely because it's idle as you type this. It wasn't using all of my CPU resources all the time, it's just that it could randomly spike up at some moment, run for ~1-2 minutes (sometimes more), drag the system into thermal throttling despite the active cooling (a bit of hyperbole here but still, it was really able to heat hardware up) and then disappear.

> if it's doing an active periodic scan.

As I mentioned, most likely that was the issue: frequent periodic full-disk scans.

For me, the worst thing was not that it was happening at all. To be honest, the worst thing was that I didn't understand why it was happening or how I could fix it. I just felt humiliated by the system that I, supposedly, owned. I know that I might have done something wrong or missed something, but... That still doesn't feel any good, you know.

Alifatisk 2 days ago||
> I wouldn’t go so far as defending Microslop

> I do get tired of the Apple fanboys accusing Windows of being bloated and running poorly.

> Windows has a lot of problems but performance and memory efficiency is not one of them.

I can't even describe how much your experience differs from mine. I would never have imagine someone to utter such sentence about Windows in todays day and age.

For everyone else reading this, a couple of advice I have gotten that made me suffer less with Windows is to replace Windows search with Everything (by Voidtools) and replace Explorer with Filepilot (filepilot.tech).

On a older machine, I switched to Tiny10.

dangus 1 day ago||
I also use Everything. But I'm not sure how Windows Search not being the best has much to do with the system's overall RAM usage.

Explorer works fine for me but File Pilot does look cool. I'll give it a try. (Good luck replacing Finder on Mac, is that even possible?)

I only use Windows for desktop and if I was clean installing I'd probably switch it to Linux. My laptop is Linux then I share a macOS system with my partner which I occasionally use for things that require Mac.

I wouldn't say I suffer at all with Windows. It's fine. It runs, it performs well, it's stable. I can't speak to other people who have different experiences. I usually assume they're using some kind of OEM abomination while I used the plain ISO downloaded from Microsoft, and I've already gone through the ~10 minutes of effort to turn off the annoying stuff.

I sold my personal Mac and switched to Linux on Framework 13" after Liquid Glass came out. It was almost as jarring and poorly executed as Windows 8. Well, okay, maybe that's going too far.

(The other problem with my MacBook was the tiny amount of storage was growing difficult to work with, much easier to toss a 2TB SSD into a Framework and finally be done with worrying about storage)

Lwrless 2 days ago||
[dead]
dvratil 2 days ago||
[dead]
lokinorkle 2 days ago||
Switched to SuSE a few years ago, still love it
davydm 2 days ago||
[dead]
shevy-java 2 days ago||
Linux needs to go back to engineering again.
quinndupont 2 days ago|
Ubuntu is the issue.
sooryathejas88 1 day ago||
Agree
a155 1 day ago||
Maybe if FOSS was less focused on reverse engineering proprietary technology they could make products people LIKE. I say this as someone who learned about firmware because of several listeners and one group having the aim of reverse engineering my new Apple ecosystem that is now falling apart after signal traps. My crime was working for an ISP and the media, but I reported on Scienos not techbros. Yawn.

I knew they were fucking with my virtual memory cause theirs sucks, the partition schemes on this Mac mini were ridiculous and the helpers weren’t stealing my information.

curt15 2 days ago|
Given that efficiency one of Linux's most touted advantages, what in the world is Ubuntu's PR department thinking? Ubuntu isn't providing any more functionality than when its memory requirement was 4GB. What is hogging all that extra ram?
embedding-shape 2 days ago||
> what in the world is Ubuntu's PR department thinking?

The same as any other corporate PR department: "At least now when people run it with N GB of RAM, we can just point to the system requirements and say 'This is what we support' rather than end up in a back-and-forth"

If you expect them to have any sort of long-term outlook on "Lets be careful with how developers view our organization", I think you're about a decade too late for Canonical.

shadowgovt 2 days ago|||
No official reason given, so all the tech press is basically speculating (if someone finds a source that does a teardown, please share; I can't seem to locate one). I think my favorite piece of speculation is that it reflects an anticipated modern workload of using the OS as a vector to launch a web browser and open multiple tabs in it, which is just going to be a memory hog as experienced by most Ubuntu users.
imtringued 1 day ago|||
I don't know what Ubuntu is doing with the RAM but I'm constantly swapping with all of the 16GB RAM filled on my work laptop with Ubuntu.

At home I have a desktop running Arch plus Gnome with 32GB RAM and I am at 7GB on a normal day and below 16GB at all times unless I run an LLM.

crest 2 days ago|||
The sad answer is: nobody cares.
dangus 2 days ago||
Besides the correct answer that Canonical sucks, I would argue that “efficiency” is not a selling point to get someone to use a desktop operating system.

Mainstream users and business organizations don’t really understand that concept and would prefer to see how the operating system enables their use cases and workflows.

sam345 2 days ago||
This is changing. 8 GB will be more normal given ram shortages. See apples neo..
dangus 2 days ago|||
Apple under-speccing their machines like they’ve been doing since the dawn of time is not some kind of indicator of any trends. You can buy $350 PC laptops that come with 12GB of RAM (example: https://www.staples.com/asus-vivobook-x1404-14-laptop-intel-...)

RAM shortages will be quite temporary. Making predictions based on individual component shortages has never been a winning strategy in the history of the industry. Next you’ll tell me that graphics cards will be impossible to get because of blockchain.

Our_Benefactors 2 days ago|||
No, 8GB is still the bottom of the market, and the ram shortage is past its worst days already.
curt15 1 day ago|||
Chromebooks still start out at 4GB (example: https://www.acer.com/us-en/chromebooks/acer-chromebook-315-c...), and it's not like Google Chrome is lighter on RAM than Ubuntu's default browser.
pacifika 1 day ago|||
https://pcpartpicker.com/trends/price/memory/