linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@nl.linux.org>
To: Karl Vogel <kvo@mail.seagha.com>
Cc: linux-mm@kvack.org
Subject: Re: Swapping out old pages
Date: Wed, 19 May 1999 20:46:51 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.03.9905192043200.275-100000@mirkwood.nl.linux.org> (raw)
In-Reply-To: <001501bea117$c0a2d850$2b01c80a@pc-kvo.antwerp.seagha.com>

On Tue, 18 May 1999, Karl Vogel wrote:

> - why does the swap out algorithm select the task with the largest
> RSS to free pages. If I'm not mistaken, the age of a page isn't
> considered?! Why is that? Am I overlooking something?

You're overlooking the fact that p->swap_cnt is only
recalculated when all processes have been scanned.

A new sweep starts at the process with the largest
swap_cnt -- but all processes are scanned eventually.

> - wouldn't it be beneficial if there is a parameter that allows
> you to specify that after a certain age, a page is swapped out to
> make room for the buffer cache.

The system already does that, and has been doing so
rather agressively since 2.1.89...

cheers,

Rik -- Open Source: you deserve to be in control of your data.
+-------------------------------------------------------------------+
| Le Reseau netwerksystemen BV:               http://www.reseau.nl/ |
| Linux Memory Management site:   http://www.linux.eu.org/Linux-MM/ |
| Nederlandse Linux documentatie:          http://www.nl.linux.org/ |
+-------------------------------------------------------------------+

--
To unsubscribe, send a message with '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-05-19 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-18 10:18 Karl Vogel
1999-05-19 18:46 ` Rik van Riel [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=Pine.LNX.4.03.9905192043200.275-100000@mirkwood.nl.linux.org \
    --to=riel@nl.linux.org \
    --cc=kvo@mail.seagha.com \
    --cc=linux-mm@kvack.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