I recently installed EndeavourOS without an DE on my headless server. Everything is working fine, all services are up and very snappy. After one of my dist upgrades I saw that almost all my RAM is reserved in buff/cache instead on being idle.
Don’t get me wrong, the system is working as it should, no issues there, but I wanted to now, is it some kind of kernel feature?
On my laptop though (EndeavourOS - GNOME), I don’t see this kind of usage.
Since , or any distro in general has almost nothing to do when there’s no DE installed (idle), it uses all that free RAM as cache. Obviously, it leaves some free, otherwise if you tried to load something it’d crash.
On your laptop, there’s a lot less free RAM (due to a graphical session, which could be games/videos/development etc.), so not as much ends up as buff/cache and ends up in used. Both machines are using free RAM as cache (which is great), but the server is doing it more than the laptop, since the laptop is using more memory for non-cache things.