On Saturday, 29 February 2020 14:30:26 GMT Robert Bridge wrote:
> > On 29 Feb 2020, at 13:57, Rich Freeman <ri...@gentoo.org> wrote:
> > 
> > Maybe something has changed in the last few years and swap is actually
> > useful, but I'm skeptical.  I always tend to end up with GB of free
> > RAM and a churning hard drive when I enable it.  On SSD I'm sure it
> > will perform better, but then I'm running through erase cycles
> > instead.
> 
> It may be a stupid question, but are you setting vm.swappiness to a
> reasonable value?
> 
> The default setting of 60 does tend to lead to swapping far earlier than is
> reasonable for modern desktops with 8+GB RAM.
> 
> Cheers,
> Robert.

For monster package compiles where each thread chews up more than 3G at a 
time, the race to/from swap is endless.  Swappiness will only go so far.  As 
Richard noted the only sensible solution is to reduce the number of jobs on 
the compiler.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to