On Saturday, 2 May 2020 00:09:47 BST Wols Lists wrote:
> On 01/05/20 21:29, Dale wrote:
> > It gets really slow to respond when it uses swap but it beats crashing.
> > Just set swapiness to a low number.  I think mine is set to 10.
> > 
> > Given the cheapness of hard drives, I'm not sure why having several
> > gigabytes of swap space is of much concern.  I have the same amount of
> > ram as you and I have a 12GB swap space.  I use LVM so I can grow it if
> > needed or just add another swap space.  I might add, I've seen times
> > where it gets used.
> 
> That first paragraph is why too much swap space is bad - if an app goes
> rogue it can kill system response and make regaining control of the
> system a nightmare.
> 
> Accidentally or on purpose, if a system runs out of ram and starts
> thrashing, you're in big trouble if it's an app eating memory like no
> tomorrow.
> 
> Cheers,
> Wol

This may help responsiveness when it happens:

echo bfq > /sys/block/sda/queue/scheduler

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

Reply via email to