public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: R.E.Wolff@BitWizard.nl (Rogier Wolff)
To: Andries.Brouwer@cwi.nl
Cc: ebiederm@xmission.com, esr@thyrsus.com, sct@redhat.com,
	gars@lanm-pc.com, linux-kernel@vger.kernel.org
Subject: Re: Swap size for a machine with 2GB of memory
Date: Fri, 24 Aug 2001 14:45:22 +0200 (MEST)	[thread overview]
Message-ID: <200108241245.OAA31998@cave.bitwizard.nl> (raw)
In-Reply-To: <200108200008.AAA157827@vlet.cwi.nl> from "Andries.Brouwer@cwi.nl" at "Aug 20, 2001 00:08:40 am"

Andries.Brouwer@cwi.nl wrote:
>     From: ebiederm@xmission.com (Eric W. Biederman)
>     Date:     19 Aug 2001 14:49:23 -0600
> 
>     "Eric S. Raymond" <esr@thyrsus.com> writes:
> 
>     > The Red Hat installation manual claims that the size of the
>     > swap partition should be twice the size of physical memory,
>     > but no more than 128MB.
>     > 
>     > Should I believe the above formula?
> 
> You give two statements. The 128 MB bound was claimed by Microsoft
> and we screamed loudly that that was a lie - now it is claimed
> by both SuSE and RedHat. Funny.
> No, the bound is not 128 MB. See mkswap(8).

I think that red hat means: 

	recoomended swap (machine) = min (128M, 2 * RAM(machine));

My personal recommendation is: 

	recoomended swap (machine) = 2 * RAM(machine);
           (unless you know what you're doing). 

I run three machines with 0Mb swap: I know what I'm doing. If you know
you're going to run VERY VERY large simulations which have sort of
linear memory access patterns, it may pay to have LOTS more swap than
normally recommended.

Also, You spend just a few percent on "recommended swap" in relation
to what you just spent on "RAM (machine)". So even if you're never
going to use it, it's still usefull.

				Roger. 

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots. 
* There are also old, bald pilots. 

  parent reply	other threads:[~2001-08-24 12:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-20  0:08 Swap size for a machine with 2GB of memory Andries.Brouwer
2001-08-21 23:14 ` Kurt Garloff
2001-08-24 12:45 ` Rogier Wolff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-19  6:42 Eric S. Raymond
2001-08-19  8:25 ` Andrzej Krzysztofowicz
2001-08-19  9:46 ` Ignacio Vazquez-Abrams
2001-08-19 16:15   ` Ingo Oeser
2001-08-19 14:08 ` Alan Cox
2001-08-19 16:48   ` Eric S. Raymond
2001-08-19 14:39 ` Steven Cole
2001-08-19 17:29 ` Luigi Genoni
2001-08-19 15:52   ` Steven Cole
2001-08-19 22:16     ` Luigi Genoni
2001-08-19 20:49 ` Eric W. Biederman
2001-08-19 21:15   ` Eric S. Raymond
2001-08-20  0:05   ` Kevin Krieser
2001-08-20 17:42     ` Eric W. Biederman
2001-08-20 23:09       ` Kevin Krieser

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=200108241245.OAA31998@cave.bitwizard.nl \
    --to=r.e.wolff@bitwizard.nl \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=ebiederm@xmission.com \
    --cc=esr@thyrsus.com \
    --cc=gars@lanm-pc.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sct@redhat.com \
    /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