Re:In defence of swap: common misconceptions
by psexec on Tuesday June 09, 2020 @01:23AM
(#23463898)
Since you're a gentoo user, you probably already know that, but have you tried using compressed memory like zswap? I find that I very rarely swap out to disk since I enabled it (and tuned to my needs):
https://wiki.archlinux.org/index.php/Zswap