Installation?
David Curtis
dave.c.curtis at gmail.com
Thu Mar 10 00:54:07 UTC 2011
On Wed, Mar 9, 2011 at 3:36 PM, MR ZenWiz <mrzenwiz at gmail.com> wrote:
> On Wed, Mar 9, 2011 at 12:09 PM, David Curtis <dave.c.curtis at gmail.com>
> wrote:
> :
> >
> > Swap is always recommended as linux optimises RAM use with it, regardless
> of
> > how much RAM you have.
> >
> Swap space is used for anonymous memory (i.e., that which does not
> already map to a file) when the system needs more than you have. If
> you never use more memory than you have physically available,
> technically you do not need swap space. If you have 32GB of memory
> and never use more than 4GB of it (and you don't hibernate your
> machine), you do not need swap space.
>
> > https://help.ubuntu.com/community/SwapFaq
> >
> Interesting article about what swap is used for, but I didn't see any
> blanket "always" recommendation for swap there.
>
> However, I agree that a swap space (partition or file) at least the
> same size as memory is good, double better. It really depends on how
> you use memory (and disk) and how much you have, as I said up front.
>
>
My assumption is that memory management needs swap to work properly. But not
being a kernel guru I can only post another link for some sort of
validation, which if you read says yes, use swap regardless of RAM size but
then goes on to muddy the waters...
http://kerneltrap.org/node/3202
Also from the first link above you can read a more advanced explanation of
swap which argues for swap for other reasons.
http://distilledb.com/blog/archives/date/2009/02/22/swap-files-in-linux.page
To me it just seems to be common sense that if the system needs swap for a
seldomly occuring situation (badly behaving process) you might as well put
it in if it will help and incurr no apreciable resource penalty, but again
I'm no kernel expert.
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110309/ad17d9f0/attachment.html>
More information about the ubuntu-users
mailing list