linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: Andrea Arcangeli <andrea@e-mind.com>
Cc: "Stephen C. Tweedie" <sct@redhat.com>,
	John Alvord <jalvo@cloud9.net>,
	Nimrod Zimerman <zimerman@deskmail.com>,
	Linux Kernel mailing list <linux-kernel@vger.rutgers.edu>,
	linux-mm@kvack.org, Linus Torvalds <torvalds@transmeta.com>
Subject: Re: VM20 behavior on a 486DX/66Mhz with 16mb of RAM
Date: Sat, 23 Jan 1999 19:16:11 GMT	[thread overview]
Message-ID: <199901231916.TAA04383@dax.scot.redhat.com> (raw)
In-Reply-To: <Pine.LNX.3.96.990121200340.1387C-100000@laser.bogus>

Hi,

On Thu, 21 Jan 1999 20:32:32 +0100 (CET), Andrea Arcangeli
<andrea@e-mind.com> said:

> On Thu, 21 Jan 1999, Stephen C. Tweedie wrote:
>> No.  The algorithm should react to the current *load*, not to what it
>> thinks the ideal parameters should be.  There are specific things you

> Obviously when the system has a lot of freeable memory in fly there are
> not constraints. When instead the system is very low on memory you have to
> choose what to do.

> Two choices:

> 1. You want to give the most of available memory to the process that is
>    trashing the VM, in this case you left the balance percentage of
>    freeable pages low.

> 2. You leave the number of freeable pages more high, this way other
>    iteractive processes will run smoothly even if with the trashing proggy
>    in background. 

Note that if you have a thrashing process, then by far the most
important factor to tune is the aggressiveness with which that process
charges through new pages.  It doesn't matter how many pages you try to
keep free: if you have any process which is trying to gobble them all,
then it is far more important to throttle the rate at which they can do
so than to have any hard and fast limits on freeable pages.  Otherwise,
you just end up freeing lots of pages for the thrashing task(s) to
reclaim them straight back.

This is what I mean by being tuned by the load, not by predetermined
limits.

--Stephen
--
To unsubscribe, send a message witch 'unsubscribe linux-mm my@address' in
the body to majordomo@kvack.org.
For more info on Linux MM, see: http://humbolt.geo.uu.nl/Linux-MM/

      reply	other threads:[~1999-01-23 19:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19990116115459.A7544@hexagon>
1999-01-16 13:22 ` Andrea Arcangeli
1999-01-16 16:37   ` Andrea Arcangeli
1999-01-19 18:02   ` Stephen C. Tweedie
1999-01-19 20:09     ` John Alvord
1999-01-19 20:35       ` Andrea Arcangeli
1999-01-21 14:47         ` Stephen C. Tweedie
1999-01-21 19:32           ` Andrea Arcangeli
1999-01-23 19:16             ` Stephen C. Tweedie [this message]

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=199901231916.TAA04383@dax.scot.redhat.com \
    --to=sct@redhat.com \
    --cc=andrea@e-mind.com \
    --cc=jalvo@cloud9.net \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=linux-mm@kvack.org \
    --cc=torvalds@transmeta.com \
    --cc=zimerman@deskmail.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