Disabling swap will prevent a system from suspending, which might be fine, but I use it.
And swap isn’t some ancient relic. Sure, my 32GB desktop barely uses it, but my home server benefits greatly from having 64GB of swap in addition to 16GB of physical memory. It may not need to use much more than 16GB at any one time, but shit runs a lot better using a giant SSD swap with how many services I run.
Windows shows memory used for cache as free. Linux per default shows it as used.
Try
free -m
Also I would disable swap, it is no longer 2004.
It is also used for system suspend.
Disabling swap will prevent a system from suspending, which might be fine, but I use it.
And swap isn’t some ancient relic. Sure, my 32GB desktop barely uses it, but my home server benefits greatly from having 64GB of swap in addition to 16GB of physical memory. It may not need to use much more than 16GB at any one time, but shit runs a lot better using a giant SSD swap with how many services I run.
@Dave@lemmy.nz
Ah thanks for the explanation!
I’m using Bazzite as of recently, and learnt the first day not to touch the system. Anyway, it’s zram not an on disk swap file.
It depends on the application used as some show cached as used and some don’t. But it is being more common to not show cached as used.