mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Phillips <phillips@bonn-fries.net>
To: "Duraid Madina" <duraid@fl.net.au>, <linux-kernel@vger.kernel.org>
Subject: Re: VM: Where do we stand?
Date: Wed, 23 Jan 2002 18:12:26 +0100	[thread overview]
Message-ID: <E16TQwk-00020U-00@starship.berlin> (raw)
In-Reply-To: <000901c1a3f0$d2e44ba0$022a17ac@simplex>
In-Reply-To: <000901c1a3f0$d2e44ba0$022a17ac@simplex>

On January 23, 2002 10:32 am, Duraid Madina wrote:
> >The paging queues ( determing the age of the page and whether to 
> >free or clean it) need to be written... the algorithms being used
> >are terrible.
> >
> > * For the nominal page scan, it is using a one-hand clock algorithm.  
> >   All I can say is:  Oh my god!  Are they nuts?  That was abandoned
> >   a decade ago.

We don't use a one-hand clock now, we use an lru list coupled with a virtual 
scan which sucks slightly less, but only slightly.

> > The priority mechanism they've implemented is nearly
> >   useless.

There's a new priority mechanism now ;-)

> > * To locate pages to swap out, it takes a pass through the task list. 
> >   Ostensibly it locates the task with the largest RSS to then try to
> >   swap pages out from rather then select pages that are not in use.
> >   From my read of the code, it also botches this badly.

It now tries to select pages that are not in use.

--
Daniel

  parent reply	other threads:[~2002-01-23 17:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23  9:32 Duraid Madina
2002-01-23  9:44 ` Rik van Riel
2002-01-23 17:12 ` Daniel Phillips [this message]
2002-01-24  9:57 ` Henning P. Schmiedehausen
2002-01-24 12:16   ` Rik van Riel

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=E16TQwk-00020U-00@starship.berlin \
    --to=phillips@bonn-fries.net \
    --cc=duraid@fl.net.au \
    --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

all inboxes | Powered by JetHome®