public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: torvalds@transmeta.com (Linus Torvalds)
To: linux-kernel@vger.kernel.org
Subject: Re: Recommended swap for 2.4.x.
Date: 29 Jan 2001 15:04:14 -0800	[thread overview]
Message-ID: <954ste$9nh$1@penguin.transmeta.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10101291348330.9791-100000@penguin.transmeta.com> <Pine.LNX.4.10.10101291452120.31258-100000@clueserver.org>

In article <Pine.LNX.4.10.10101291452120.31258-100000@clueserver.org>,
Alan Olsen  <alan@clueserver.org> wrote:
>
>What is the recommended amount of swap with the 2.4.x kernels?
>
>The standard rule is usually memory x 2.  (But that is more a Solaris
>superstition than anything else.)

"memory x 2" is probably a good rule. With normal usage patterns, at the
point you fully use up your swap, you _want_ the system to start killing
things off due to out-of-memory errors.

But there really is no "fixed" rule: it can depend a lot on your usage
patterns. Some people have a lot of big background processes that don't
have a big active footprint but that have a lot of "idle" pages that can
successfully be swapped out - using up tons of swap-space without
actually causing any bad behaviour.

And you might end up adding more memory.. 

		Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-29 23:05 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-29 21:51 2.4.0-test12: SiS pirq handling Linus Torvalds
2001-01-29 22:06 ` Sven Koch
2001-01-29 22:57 ` Recommended swap for 2.4.x Alan Olsen
2001-01-29 23:04   ` Linus Torvalds [this message]
2001-01-29 23:23   ` alex
2001-01-29 23:45     ` Mike Castle
2001-01-29 23:49     ` William T Wilson
2001-01-30  0:24       ` Kevin Krieser
2001-01-30  5:20         ` Jeff Chua
2001-01-30 19:21         ` James H. Cloos Jr.
2001-01-30  1:20     ` idalton
2001-01-30 11:48     ` Rik van Riel
2001-01-30 18:10       ` alex
2001-01-30 18:22         ` Rik van Riel
2001-01-30 18:40           ` Matthew Kirkwood
2001-01-30 18:43             ` Rik van Riel
2001-01-31 19:59               ` Russell King
2001-01-30 19:13           ` alex
2001-01-30 19:28             ` Rik van Riel
2001-02-02 13:51   ` Pavel Machek
2001-02-02 22:58     ` Alan Olsen
2001-02-02 20:27   ` Jonathan Morton
2001-01-29 23:17 ` 2.4.0-test12: SiS pirq handling Aaron Tiensivu
2001-01-29 23:44   ` Linus Torvalds
2001-01-30  0:34     ` Aaron Tiensivu
2001-01-31 10:19     ` Martin Diehl
2001-01-30  1:38 ` Adam Huffman
2001-01-31 10:21 ` [PATCH] minor ne2k-pci irq fix Martin Diehl
2001-01-31 12:11   ` davej
2001-02-01  0:01     ` Martin Diehl
2001-02-01 15:06       ` Jeff Garzik
2001-02-02 16:49         ` Martin Diehl
2001-02-02 17:05           ` Jeff Garzik
2001-02-03 20:20         ` Linus Torvalds

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='954ste$9nh$1@penguin.transmeta.com' \
    --to=torvalds@transmeta.com \
    --cc=linux-kernel@vger.kernel.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