Re: Is swap really needed when RAM's aplenty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 18, 2010 at 1:00 PM, Sam Varshavchik <mrsam@xxxxxxxxxxxxxxx> wrote:
> I'll probably have a new server with 16 gigs of RAM on the way, soon.
>
> With this amount of RAM being sufficient, do I really need a swap partition
> set up? I do understand that a swap partition is needed for hibernation, but
> this server does not need to hibernate.

On servers I normally use strict overcommit mode to not fail any
memory claims which are already mapped. Swap just raises the
CommitLimit, so that I am able to commit more memory (see
kernel-doc/Documentation/vm/overcommit-accounting and fs/proc.txt on
meminfo).

When using heuristic mode you certainly don't need to use swap but
have a higher risk of seeing the out of memory handler kick in
earlier. In a lot of situation the kernel is able to page out
not-needed memory to disk to have more room for I/O buffering
(swappiness) thus improving performance.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux