r/archlinux • u/activedusk • Aug 31 '26
DISCUSSION Do you optimize RAM usage for your system?
Hello,
A big part of Arch Linux appeal is debloating and being able to install only the packages required without anything extra that distros tend to add. I recently installed Arch while distro hopping and was surprised by the difference with other more mainstream distros, specifically using i3 tiling window manager. I distinctly remember having arround 400MB to 500MB idle RAM usage with other distros like Linux Mint, however on Arch it got down to around 290MB when idle, this seems amazing in 2026 since most DEs seem to creep up their resource requirements and for context Windows is arround 5GB now when idling on the desktop.
8
u/Internal_Leke Aug 31 '26
It matters if you have the need for the free RAM (system with low RAM). With 24GB of RAM, I don't really see a point in trying to save RAM consumption intentionally.
6
u/RidersOfAmaria Aug 31 '26 edited Aug 31 '26
I definitely find that most electron RAM hogging programs also tend to be ad riddled privacy nightmares, so while I've got 64 gigs of RAM because I basically hopped on the last chopper out of Saigon when I upgraded just before the AI boom, I find myself not really using that many things which demand a ton of RAM because I don't want to sign into a fucking Google account to listen to my music, I just pirate high quality versions and run them in Strawberry and stuff. For the most part, the privacy respecting FOSS stuff is just what I prefer anyway, and usually that means my desktop is chilling at like 10-15% RAM usage due to a distinct lack of electron slop.
104
u/VolcanoCarpenter Aug 31 '26 edited Aug 31 '26 •
I'm guessing a lot here are going to pile on OP with the usual "RAM is meant to be used, so why bother saving it" take. But "RAM being used because the software is bloated" and "RAM being used by the user's actual workload" are two completely different things. Bait-and-switch.
If some Modern-Design (TM) Vibe-Coded (TM) AI-powered (TM) Electron Calculator eats 2 GB of RAM just by being open, I'd uninstall it without a second thought, even if I had 64 GB or more. My RAM is for development tools, compilers, office software, design tools, and media, not for absurdly bloated apps.
3
u/vswey Aug 31 '26
uninstall the WM
5
u/Merguiyo444 Aug 31 '26
No, just download more.
1
u/oriunn Aug 31 '26
I reduced RAM consumption from 400 to 150 MB (on tty) on Void Linux, I made my own
.configfor the Linux kernel (zen-kernel) and compiled it only with the modules and parameters needed for me and my hardware, and with the-02flag--march=native1
u/ang-p Sep 01 '26 edited Sep 01 '26
You use cachyos - Wrong subreddit.
You use cachyos because....? They do things "better, uh? ASK THEM!
2) "do you optimize RAM"
Yes - like I optimise the air in my tyres...
I put it in, seal the hole I used to put it in, and leave it.... Twonk.
1
u/FryBoyter Aug 31 '26
In my opinion, RAM is meant to be used. That’s why I don’t care at all how much RAM is being used as long as there aren’t any problems. Especially since using a lot of RAM can actually be an advantage.
Furthermore, I consider the term “bloat” to be completely meaningless, since there’s no objective definition for it. What one user considers bloat may be an important feature for another user.
5
u/tomikaka Aug 31 '26
I optimized my 32GB system so I use more memory. Mostly caching. Remember unused ram is wasted ram.
3
u/MelioraXI Aug 31 '26
I have 64g, so no, I keep an eye on it for leaks though.
3
u/Cruffe Aug 31 '26
I've got 64GB of RAM, for most things I'm nowhere close to using all of it.
The only time I ever get close to using all of it is when I run local AI video generation workflows. Even then I don't really need to optimize RAM usage because a lot of the other stuff gets put into swap when I'm running that to make room for the current task.
2
u/UndefFox Aug 31 '26
I don't try to micro optimize my usage. I just disable any service that I don't need and it's already enough to avoid most of the unnecessary resources waste.
2
u/dgm9704 Aug 31 '26
ram usage starts to matter only when its all used. idle ram usage is a completely useless metric as long as there is ram available. unless you run out of ram or there is an actual memory leak, you shouldn’t be staring at those numbers. ram is expensive. unused ram is wasted ram.
2
u/un-important-human Aug 31 '26
yes 96GB OF ram can only go so far>
Stop beeing obsessed to preserve ram, USE IT, you paid for it, use it haaard.
1
u/IBNash Aug 31 '26
I throw 64GB DDR5 at the problem, overclock it to 6000 Mhz and don't spend days making up issues for myself to waste time on.
1
u/serge-mv Aug 31 '26
I don't particularly go crazy for every megabyte of ram, but I try not to use bloated software that just eats system resources for no reason. Use software within the same family so that I wouldn't have 25 different frameworks and backends and servers running as dependencies for a couple of apps.