public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Quim K. Holland" <qkholland@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Required Swap for recent 2.4 kernels?
Date: Sun, 9 Dec 2001 01:09:33 +0000 (GMT)	[thread overview]
Message-ID: <20011209010933.64484.qmail@web10001.mail.yahoo.com> (raw)

It seems that in early days of 2.4.x, the total
usable VM used to be not close to sum of the
physical RAM and swap.  Is this still true for
post 2.4.10 kernels?

Back in January 2001, in response to a question
about ``recommended swap for 2.4.x'', Rik van Riel
answered (quotes '>' are from the messagey by
alex@foogod.com):

   It has. We now leave dirty pages swapcached,
   which means that for certain workloads Linux
   2.4 eats up much more swap space than Linux
   2.2.

   On the other hand, if you almost never used
   swap under Linux 2.2, you probably won't be
   using it under 2.4 either.

   > 2) Subtract the amount of RAM you have
   >    (believe it or not, the more RAM you have,
   >    the less swap you need.  Imagine that).

   For Linux 2.4, it may be better to substract a
   bit less, because of the issue above.

   If you have a very swap-intensive workload, you
   may end up with 90% of your memory being
   "duplicated" in swap, in which case this rule
   doesn't work.

My understanding is that this answer is not
applicable to post 2.4.10 kernels, but if so then
would the total usable VM be <physical RAM> +
<swap> - <kernel itself> - <kernel overhead that
is not proportional to the VM workload>?


________________________________________________________________
Nokia 5510 looks weird sounds great. 
Go to http://uk.promotions.yahoo.com/nokia/ discover and win it! 
The competition ends 16 th of December 2001.

             reply	other threads:[~2001-12-09  1:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-09  1:09 Quim K. Holland [this message]
2001-12-09  1:31 ` Required Swap for recent 2.4 kernels? Alan Cox

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=20011209010933.64484.qmail@web10001.mail.yahoo.com \
    --to=qkholland@yahoo.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