linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@nl.linux.org>
To: "Benjamin C.R. LaHaise" <blah@kvack.org>
Cc: Kanoj Sarcar <kanoj@google.engr.sgi.com>, linux-mm@kvack.org
Subject: Re: process selection
Date: Mon, 14 Jun 1999 21:26:36 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.03.9906142120170.534-100000@mirkwood.nl.linux.org> (raw)
In-Reply-To: <Pine.LNX.3.96.990614133956.22744D-100000@mole.spellcast.com>

On Mon, 14 Jun 1999, Benjamin C.R. LaHaise wrote:

> I'm starting to think that going back and benchmarking my vm
> patches against 2.1.47 or 66 might prove useful as they used a
> physical page scanning with the old LFU technique,

I don't think this will be worth the effort. Firstly, physical
scanning is disastrous for effective I/O clustering (once we
hit swap, disk seek is _far_ more important than CPU time) and
LFU just isn't as good as LRU.

If you want a real improvement, you should port over some of
the (very nice) FreeBSD algorithms for I/O clustering and
assorted stuff.

As for including the sleep time in VMA selection. I think we
should just give an added 'bonus' if the process to which the
VMA belongs has been sleeping for a long time. If it's been
sleeping for a very long time (> 15 minutes) and the VMA is
not shared, we might even consider swapping the whole thing
out in one (physically contiguous for easy reading) swoop.


regards,

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-06-14 19:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-12 20:00 Rik van Riel
1999-06-13  1:17 ` Andrea Arcangeli
1999-06-13  6:58   ` Rik van Riel
1999-06-14 17:17 ` Kanoj Sarcar
1999-06-14 17:46   ` Benjamin C.R. LaHaise
1999-06-14 19:26     ` Rik van Riel [this message]
1999-06-14 20:28       ` Benjamin C.R. LaHaise
1999-06-15 10:28 Antonino Sabetta
1999-06-17 23:25 ` Stephen C. Tweedie

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.9906142120170.534-100000@mirkwood.nl.linux.org \
    --to=riel@nl.linux.org \
    --cc=blah@kvack.org \
    --cc=kanoj@google.engr.sgi.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