Interestingly, my 64GB desktop has 50GB available between free and caches, yet has 95MB of swap space used (out of 8GB zram). How can I tell which process is swapped out? Probably something which I haven't ever needed since I've booted the PC.
Re:Almost Always Add Swap Space
by zadwang on Thursday December 02, 2021 @07:03AM
(#29415087)
Modern software are just ridiculously hungry for memory that even many GB is not enough. This is just bad considering that we used to work with only GB of disk. I wish all software designs are frugal in resources.
zram is cool, and I've noticed Fedora uses it out of the box. Much better than regular swap space on a disk.
https://wiki.archlinux.org/title/Improving_performance#zram_...
Interestingly, my 64GB desktop has 50GB available between free and caches, yet has 95MB of swap space used (out of 8GB zram). How can I tell which process is swapped out? Probably something which I haven't ever needed since I've booted the PC.
But you can take a look at the smem command:
smem -s swap -r
https://www.cyberciti.biz/faq/linux-which-process-is-using-s...