From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Cc: "Walter Dnes" <waltdnes@waltdnes.org>
Subject: Re: [gentoo-user] Questions re swap and hibernate interaction on 8 gig machine
Date: Tue, 22 Jun 2010 00:17:27 +0200 [thread overview]
Message-ID: <201006220017.27819.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <20100621220414.GA8164@waltdnes.org>
On Tuesday 22 June 2010 00:04:14 Walter Dnes wrote:
> I just got a brand new custom-built 8 gig machine. There's an outfit
> in north Toronto that has MSI motherboards with PS/2 ports, so I can
> keep my genuine IBM PS/2 clickety-clack-keyboard; wooooohooooo. And the
> integrated Intel graphics chip has *BOTH VGA AND DIGITAL OUTPUTS*!
>
> Anyhow, I have 8 gigs of ram on the sytem (will obviously be 64-bit
> Gentoo) and I want to know how much swap I need. The general rule of
> thumb is twice the ram. In this case, it would be 16 gigs. I think
> that it may not need swap when up, unless I do some heavy duty stuff.
> My main concern about a swap partition is how much I need for
> hibernate-to-disk to work. Is there a rule about this, or should I
> simply allocate 16 gigs out of my terabyte drive, and play it safe?
With 8G of ram, you will likely never ever use a single bit of swap for the
entire life of the machine.
There is no such thing as a decent rule of thumb for how much swap. What does
exist, is the following:
"What intelligent-sounding (but actually dumb) answer can we give to this
infernal question that keeps coming up that will make the user shut up and go
away satisfied (regardless of the correctness and workability of the answer)?"
That answer is, of course, "Twice your RAM". Said answer is also, bullshit[1].
If I said "42!" it would have made as much semantic sense.
Your swap needs depend totally on your usage. There is no rule of thumb[2].
[1] Long ago when 386's were all the rage, 2 X RAM did make some sense. You do
not have a 386 and 2 X RAM does not make sense with the hardware you have.
[2] If you plan to suspend to disk you will need a certain minimum amount of
swap for that. But you already know that, so I'd create that minimum amount.
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2010-06-21 23:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-21 22:04 [gentoo-user] Questions re swap and hibernate interaction on 8 gig machine Walter Dnes
2010-06-21 22:17 ` Alan McKinnon [this message]
2010-06-21 22:27 ` Alex Schuster
2010-06-22 0:45 ` Bill Kenworthy
2010-06-22 2:01 ` Dale
2010-06-23 10:08 ` Peter Humphrey
2010-06-24 13:16 ` Frank Steinmetzger
2010-06-25 1:04 ` Walter Dnes
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=201006220017.27819.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
--cc=waltdnes@waltdnes.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