Bazzite high idle RAM usage, can someone explain?

Hi, I was joking a lot and said: "Unused RAM is wasted RAM" But now I'm actually curious, why is the idle RAM usage of bazzite so "high" I mean in comparison to other Distros it's 2x or 3x as high. My Bazzite GNOME Desktop Edition, boots with 4.2GB RAM usage. And as you can see, the PC is just 30sec on. For comparison: Recently I was on Debian, I kind of copied the GNOME Bazzite layout with all the Extensions and the RAM usage right after boot is ~1,4GB, the only App that I've selected for Autostart is Solaar, I also had it on Debian. On Fedora or openSUSE it was like ~1,8GB and I always used systemd zram, if that matters. And I never see vram being used, at first I thought that there is just stuff in zram swap, but everytime I check, it's just a couple mib or nothing. I also heard about an application or service, that is called "Preload" idk, if it's even installed on Bazzite, but if yes, is it because some RAM is cached, to preload you most used apps?
28 Replies
Kid
KidOP7mo ago
wolfyreload
wolfyreload7mo ago
hmmm to see what is using RAM have a look at btop and you can order the processes from most to least ram usage ahhh nevermind. it's using 2.8Gib in buff/cache, so it's using your free ram but it will release it if needed
antheas
antheas7mo ago
Linux always caches every file you open and keeps it cached as long as you have ram That being said, I want to say that that ram measurement does not include cache... I don't use fastfetch though
Kid
KidOP7mo ago
Okay thanks, but I've used multipe distros and none was over 2 or 2,2GB at boot
antheas
antheas7mo ago
. Very weird
Kid
KidOP7mo ago
Even after rebooting?
antheas
antheas7mo ago
No but still I'm not sure that's counted Also bazzite uses OSTree and that does some stuff Unsure how it affects ram after boot
Kid
KidOP7mo ago
but I also used silverblue before
antheas
antheas7mo ago
It was the same?
Kid
KidOP7mo ago
it wasnt that high I had the lowest on GNOME Debian I mean.. I have 32GB ... I doesn't hurt. But since I got the Vitals Extension, it sometimes bugs me when I see high RAM usage :D this was on debian with the exact same setup
Geechan
Geechan7mo ago
I'm curious myself why the idle RAM usage is much higher than traditional distros. It's definitely not a problem of any kind at least - unused RAM is wasted RAM after all - but it is a curiosity
Kid
KidOP7mo ago
Do you have similar results? Roghly ~4GB? displayed?
Geechan
Geechan7mo ago
Yep, consistently on every boot As you can see - fresh boot
Kid
KidOP7mo ago
Thank you ✌️ Cool specs btw
Geechan
Geechan7mo ago
Thanks - we have fairly similar systems haha
Kid
KidOP7mo ago
Steam, Discord & Firefox with 2 Tabs Looks scary.. but probably because everything is cached like antheas said
antheas
antheas7mo ago
I don't think the cache is included in used
Kid
KidOP7mo ago
sorry yea right.. you already said this but if not... how is that so high? oO
antheas
antheas7mo ago
It is included in free though Meaning free + cached = available I usually hover around 10gb with 20 tabs open and 2 vs code windows on arch so dunno No steam
Kid
KidOP7mo ago
20 Tabs 💀
antheas
antheas7mo ago
Maybe zram is included
Kid
KidOP7mo ago
Mhm.. idk at this point, zram included would be "impossible" Because my system boots with ~4GB RAM and the zram is also 4GB RAM. And 4GB RAM used minus the 4GB zram would be zero.
Kyle Gospo
Kyle Gospo7mo ago
Zram is compressed, 4gb is the size it'll contain Run zramctl at boot, it'll show you what it's really doing
Clover
Clover6mo ago
my system runs using 5gb ram on average out of 14.5gb (steam deck LCD) (idle/nothing open). i switched to nobara for a while because of this, but i switched back cause of nobara having bugs.
Kyle Gospo
Kyle Gospo6mo ago
sounds normal
Clover
Clover6mo ago
is there a way to lower it without switching distros?
Kyle Gospo
Kyle Gospo6mo ago
no it's working as intended
Clover
Clover6mo ago
alright
Want results from more Discord servers?
Add your server