made swap too small

Kevin Fries kevin at fries-biro.com
Tue Jul 15 15:36:51 MST 2014


There are two types of swap in Linux.  The one everyone knows is the swap
partition.  But you can also have a file based swap.  And while you are
limited to one partition based swap, you can have many file based swaps.

However, that being said, swap is a poor substitute for ram on a Linux
based system.  If you need to run programs by swapping to disk, your
performance will suck.  Windows handles this much more elegantly than Linux
does.  Of you are afraid you won't have enough ram, add memory, or
re-evaluate what you are running.

Kevin
On Jul 15, 2014 3:40 PM, "Matt Graham" <mhgraham at crow202.org> wrote:

> On 2014-07-15 14:23, Sesso wrote:
>
>> No, the rule is usually to have half as much swap as your ram.
>>
>
> Unless you're using the vanilla kernel's suspend-to-disk feature.  If
> you're using that, then your swap partition size should be roughly equal to
> your RAM size.  Yes, the RAM image can be and often is compressed, but just
> in case you've got a RAM dump that doesn't compress well....
>
> --
> Crow202 Blog: http://crow202.org/wordpress
> There is no Darkness in Eternity
> But only Light too dim for us to see.
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140715/8570a2ec/attachment.html>


More information about the PLUG-discuss mailing list