On Thu, 2018-09-20 at 12:49 -0500, mcatanzaro@gnome.org wrote:
On Thu, Sep 20, 2018 at 11:34 AM, mcatanzaro@gnome.org wrote:
I'll try it when I can.
Didn't seem to make much difference to me, when building WebKit without -j2 (I normally use -j2 to ensure it doesn't freeze my Fedora). The desktop becomes super sluggish as soon as it starts using swap. then froze after a couple of minutes when it was at around 5 GiB of swap. If it makes things better, great, but it's no solution.
I think 'swappiness' is about *how likely the kernel is to use swap*, not what happens once it definitely is using swap. With high values it can actually decide to use swap even if some real memory is still free, I think.
If you're running a compile that needs more memory than is actually available as physical RAM, there's really no option there, whatever any config values are set to, the kernel's gonna have to go into swap space for it.
https://en.wikipedia.org/wiki/Swappiness