From: "P.V.Anthony" <pvantony@singnet.com.sg>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Re: Is swap need when there is 4g of ram?
Date: Sun, 18 Mar 2007 11:42:10 +0800 [thread overview]
Message-ID: <45FCB512.8040903@singnet.com.sg> (raw)
In-Reply-To: <pan.2007.03.13.14.30.03@cox.net>
On this day, 13-March-2007 10:30 PM, Duncan wrote:
> So in summary, four reasons to keep swap enabled:
>
> 1) Old kernels needed it for memory zone management. (N/A for a decently
> modern kernel, say 2.6.16 or newer.)
>
> 2) Memory mapped file flexibility.
>
> 3) tmpfs based PORTAGE_TMPDIR and friends is generally a MUCH more
> efficient use of several gigs of memory than turning off swap, but until
> you have I'd say 6 gigs memory minimum, you'll want to keep swap enabled
> if you do it.
>
> 4) Suspend to disk, aka hibernate, uses swap.
>
> #3 and possibly #4 are the important ones.
>
> OTOH, disabling swap entirely, by turning off that config option in
> kernel setup before compiling it, DOES significantly simplify kernel code
> and memory management. This was in fact the reason I had it off back
> when I had only a gig of memory. I had system stability issues due to
> unstable memory hardware (cheap memory) at the time, and I figured the
> less complicated kernel memory management was, the more stable the system
> was likely to be. I don't know if it made much of a difference, but it
> definitely wasn't LESS stable. (The memory zone issues did apply back
> then, but my hardware simply wasn't stable enough for that to be much of
> an issue.)
Thank you to all for advising on the swap issue. The information is very
useful and has helped me to make a decision. I am happy.
For the record, I am going with swap file of 4g.
Once again thank you all for the advice.
P.V.Anthony
--
gentoo-amd64@gentoo.org mailing list
next prev parent reply other threads:[~2007-03-18 3:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 9:09 [gentoo-amd64] Is swap need when there is 4g of ram? P.V.Anthony
2007-03-13 9:56 ` Hemmann, Volker Armin
2007-03-13 12:46 ` Joaquim Quinteiro Uchoa
2007-03-13 13:39 ` Hemmann, Volker Armin
2007-03-13 14:28 ` Joaquim Quinteiro Uchoa
2007-03-13 14:35 ` Hemmann, Volker Armin
2007-03-14 23:00 ` Paul de Vrieze
2007-03-13 14:11 ` dustin
2007-03-13 14:32 ` Hemmann, Volker Armin
2007-03-13 20:24 ` Richard Freeman
2007-03-14 14:19 ` Jack Lloyd
2007-03-14 17:01 ` Hemmann, Volker Armin
2007-03-14 17:26 ` Bernhard Auzinger
2007-03-14 19:03 ` Hemmann, Volker Armin
2007-03-14 21:21 ` Bernhard Auzinger
2007-03-15 10:00 ` [gentoo-amd64] " Duncan
2007-03-13 14:30 ` Duncan
2007-03-18 3:42 ` P.V.Anthony [this message]
2007-03-13 18:04 ` [gentoo-amd64] " Peter Humphrey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45FCB512.8040903@singnet.com.sg \
--to=pvantony@singnet.com.sg \
--cc=gentoo-amd64@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox