From: Andrzej Krzysztofowicz <kufel!ankry@green.mif.pg.gda.pl>
To: kufel!thyrsus.com!esr@green.mif.pg.gda.pl
Cc: kufel!vger.kernel.org!linux-kernel@green.mif.pg.gda.pl (Linux
Kernel List),
kufel!lanm-pc.com!gars@green.mif.pg.gda.pl
Subject: Re: Swap size for a machine with 2GB of memory
Date: Sun, 19 Aug 2001 10:25:36 +0200 (CEST) [thread overview]
Message-ID: <200108190825.KAA00983@kufel.dom> (raw)
In-Reply-To: <20010819024233.A26916@thyrsus.com> from "Eric S. Raymond" at sie 19, 2001 02:42:33
>
> 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.
This manual is outdated.
1. You hahe 2GB limit for a single swap file/partition now. And you can use
many of them.
2. it sjould be <= 2* RAM, i.e. 0 <= SWAP <= 2*RAM. More is inefficient.
3. except kernels 2.4.x, where x <= 7-ac8, where you should have SWAP=0 or
SWAP > RAM. 2.4.7-ac9 & 2.4.8 have already this problem fixed.
> The screaming hotrod machine Gary Sandine and I built around the Tyan S2464
> has 2GB of physical memory. Should I believe the above formula? If not,
> is there a more correct one for calculating needed swap on machines with
> very large memory?
Correct and universal formula for swap size is as always:
SWAP = MAX_RAM_you_ever_need - physical_RAM_you_have
However in 2.4 more eficient (and in 2.40-7 obligatory) is:
SWAP = MAX_RAM_you_ever_need > physical_RAM_you_have
? MAX_RAM_you_ever_need
;)
Andrzej
next prev parent reply other threads:[~2001-08-19 19:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-19 6:42 Swap size for a machine with 2GB of memory Eric S. Raymond
2001-08-19 8:25 ` Andrzej Krzysztofowicz [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2001-08-20 0:08 Andries.Brouwer
2001-08-21 23:14 ` Kurt Garloff
2001-08-24 12:45 ` Rogier Wolff
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=200108190825.KAA00983@kufel.dom \
--to=kufel!ankry@green.mif.pg.gda.pl \
--cc=kufel!lanm-pc.com!gars@green.mif.pg.gda.pl \
--cc=kufel!thyrsus.com!esr@green.mif.pg.gda.pl \
--cc=kufel!vger.kernel.org!linux-kernel@green.mif.pg.gda.pl \
/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