On Wed, Mar 7, 2012 at 2:26 AM, Kent Fredric <[email protected]> wrote:
> On 6 March 2012 12:36, Adrian Mageanu <[email protected]> wrote:
>> Yes, disk I/O mostly due to furious swap when available RAM is exceeded,
>> and then there is the 100% of every available CPU, that's when keyboard
>> and mouse get locked and the fans screm mad.

Swap is overrated. These days we have sufficient RAM to keep the OS
running properly, and when machines descend into swap the machine
generally dies because we overcommit and have slow disks. Switch off
swap, and let the OOM killer do its job - on a well-run server a
critical service should be restarted by init anyway ...

$ free
             total       used       free     shared    buffers     cached
Mem:       8149024    7968776     180248          0     192868    4736620
-/+ buffers/cache:    3039288    5109736
Swap:            0          0          0

More of this philosophy is touched on during Anthony Town's recent
LCA2012 presentation :
http://www.youtube.com/watch?v=p_u6BDFkybE

-jim
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to