System ground down to a halt

Liam Proven lproven at gmail.com
Fri May 20 17:58:38 UTC 2016


On 20 May 2016 at 19:28, Paul Smith <paul at mad-scientist.net> wrote:
> Tell that to my system which used to take 5 minutes to wake up every
> morning, because overnight it ran mlocate or similar which caused the
> kernel to push out all my idle programs' memory into swap while it
> cached the contents of my harddisk.
>
> Remember it's not just your programs which use RAM: the kernel uses it
> too for all kinds of things.  The more swap you have the more idle
> processes get paged out for various reasons... and the longer it takes
> them to become responsive again.

https://sites.google.com/site/tipsandtricksforubuntu/system-tips/swappiness

On desktops, personally, if they have plenty of RAM, I make / a bit
bigger and use swapspace:

http://manpages.ubuntu.com/manpages/wily/man8/swapspace.8.html

I've also used zRam with some success:

https://www.netroby.com/view/3631

Neither works with hibernation, though.

-- 
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: lproven at hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven
Cell/Mobiles: +44 7939-087884 (UK) • +420 702 829 053 (ČR)




More information about the ubuntu-users mailing list