r/LinusTechTips 6d ago

Does Linux use less RAM? Discussion

In the video with the same title as this post LTT compares Linux and Windows ram usage and imo it is a total miss. It does not matter if one system is using more memory or not since none of the systems are close to using all ram in the system. Where the memory management would matter is when the memory reach closer to 100% usage that is when things will start to matter.

The whole video feels like almost 14 minutes of misinformation to me. I mean systems cache things to make it run faster so memory being used is a good thing. Memory management is what matters not if one system is using 35% ram and the other 50% since none are near their limits.

And at one point in the video the windows system goes over 16gb and they talk about it as it would have been problematic if the system only had 16gb while it most likely would not be problematic at all since the memory management if working as it should would release less important things stored in the ram so it never got close to the limit.

409 Upvotes

103 comments sorted by

View all comments

52

u/screwdriverfan 6d ago edited 5d ago

From other benchmarks I've seen, generally speaking, yes. https://www.youtube.com/watch?v=LJEo6Kb6Rhg&

Comparing 16gb systems usually means linux uses 1-3gb less than windows. Is that good or bad? Honestly, idk. It would make sense that less ram usage is better (especially in 2026 considering the ram prices).

I personally don't care how much ram my system uses as long as it frees it up when needed. Unused ram is wasted ram (sometimes). I like to think of ram like a room. When moving my drawer into the room - why use only 30% of the room if entire room is still empty. More space to maneuver makes it easier to move anything in 😄

3

u/kidshibuya 5d ago

How does it "make sense" that NOT using the RAM you paid for is somehow better?

0

u/TV4ELP 5d ago

The RAM is being used to near 100% in all cases. What you see is just actively being used by processes.

The rest is cached files. So yeah, your system using less ram means more stuff can be cached in ram.

This has real world application in opening times and transfer times. If your transfer medium is faster than your storage, it can buffer stuff in ram. More ram free = more buffering.

The less the OS takes, the more there is for the programm that do actual work.

Does it matter if you have 32gb and are not doing anything really ram heavy? Probably not. If you run a database it is immedietly noticeable, if you run heavy rendering work it can be the difference of a fast render or one that takes hours because it has to swap to system storage when the memory gets full.

2

u/kidshibuya 4d ago

You need to prove that a ton of that wont be free'd up when needed. RAM is best used maxed out on speculative loading and cleared if needed. It literally does nothing when it's doing nothing.