From: Jonathan Morton <chromi@cyberspace.org>
To: Daniel Phillips <phillips@bonn-fries.net>,
VDA <VDA@port.imtp.ilyichevsk.odessa.ua>,
Andrea Arcangeli <andrea@suse.de>,
Rik van Riel <riel@conectiva.com.br>,
Alexander Viro <viro@math.psu.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux VM design
Date: Mon, 24 Sep 2001 19:46:38 +0100 [thread overview]
Message-ID: <a05100301b7d52f49f7b6@[192.168.239.101]> (raw)
In-Reply-To: <20010924182948Z16175-2757+1593@humbolt.nl.linux.org>
In-Reply-To: <20010916204528.6fd48f5b.skraw@ithnet.com> <20010922105332Z16449-2757+1233@humbolt.nl.linux.org> <6514162334.20010924123631@port.imtp.ilyichevsk.odessa.ua> <20010924182948Z16175-2757+1593@humbolt.nl.linux.org>
> > DP> The arguments in support of aging over LRU that I'm aware of are:
>>
>> DP> - incrementing an age is more efficient than resetting several LRU
>> DP> list links
>> DP> - also captures some frequency-of-use information
>>
>> Of what use this info can be? If one page is accessed 100 times/second
>> and other one once in 10 seconds, they both have to stay in RAM.
>> VM should take 'time since last access' into account whan deciding
>> which page to swap out, not how often it was referenced.
>
>You might want to have a look at this:
>
> http://archi.snu.ac.kr/jhkim/seminar/96-004.ps
> (lrfu algorithm)
>
>To tell the truth, I don't really see why the frequency information is all
>that useful either. Rik suggested it's good for streaming IO but we already
>have effective means of dealing with that that don't rely on any frequency
>information.
>
>So the list of reasons why aging is good is looking really short.
It's not really frequency information. If a page is accessed 1000
times during a single schedule cycle, that will count as a single
increment in the age come the time. However, *macro* frequency
information of this type *is* useful in the case where thrashing is
taking place. You want to swap out the page that is accessed only
once every other schedule cycle, before the one accessed every cycle.
This is of course moot if one process is being suspended (as it
probably should), but the criteria for suspension might include this
access information.
--
--------------------------------------------------------------
from: Jonathan "Chromatix" Morton
mail: chromi@cyberspace.org (not for attachments)
website: http://www.chromatix.uklinux.net/vnc/
geekcode: GCS$/E dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$
V? PS PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
tagline: The key to knowledge is not to rely on people to teach you it.
next prev parent reply other threads:[~2001-09-24 18:56 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-16 15:19 broken VM in 2.4.10-pre9 Ricardo Galli
2001-09-16 15:23 ` Michael Rothwell
2001-09-16 16:33 ` Rik van Riel
2001-09-16 16:50 ` Andreas Steinmetz
2001-09-16 17:12 ` Ricardo Galli
2001-09-16 17:06 ` Ricardo Galli
2001-09-16 17:18 ` Jeremy Zawodny
2001-09-16 18:45 ` Stephan von Krawczynski
2001-09-21 3:16 ` Bill Davidsen
2001-09-21 10:21 ` Stephan von Krawczynski
2001-09-21 14:08 ` Bill Davidsen
2001-09-21 14:23 ` Rik van Riel
2001-09-23 13:13 ` Eric W. Biederman
2001-09-23 13:27 ` Rik van Riel
2001-09-21 10:43 ` Stephan von Krawczynski
2001-09-21 12:13 ` Rik van Riel
2001-09-21 12:55 ` Stephan von Krawczynski
2001-09-21 13:01 ` Rik van Riel
2001-09-22 11:01 ` Daniel Phillips
2001-09-22 20:05 ` Rik van Riel
2001-09-24 9:36 ` Linux VM design VDA
2001-09-24 11:06 ` Dave Jones
2001-09-24 12:15 ` Kirill Ratkin
2001-09-24 13:29 ` Rik van Riel
2001-09-24 14:05 ` VDA
2001-09-24 14:37 ` Rik van Riel
2001-09-24 14:42 ` Rik van Riel
2001-09-24 18:37 ` Daniel Phillips
2001-09-24 19:32 ` Rik van Riel
2001-09-24 17:27 ` Rob Landley
2001-09-24 21:48 ` Rik van Riel
2001-09-25 9:58 ` Daniel Phillips
2001-09-25 16:03 ` bill davidsen
2001-09-24 18:46 ` Jonathan Morton [this message]
2001-09-24 19:16 ` Daniel Phillips
2001-09-24 19:11 ` Dan Mann
2001-09-25 10:55 ` VDA
2001-09-16 18:16 ` broken VM in 2.4.10-pre9 Stephan von Krawczynski
2001-09-16 19:43 ` Linus Torvalds
2001-09-16 19:57 ` Rik van Riel
2001-09-16 20:17 ` Rik van Riel
2001-09-16 20:29 ` Andreas Steinmetz
2001-09-16 21:28 ` Linus Torvalds
2001-09-16 22:47 ` Alex Bligh - linux-kernel
2001-09-16 22:55 ` Linus Torvalds
2001-09-16 22:59 ` Stephan von Krawczynski
2001-09-16 22:14 ` Linus Torvalds
2001-09-16 23:29 ` Stephan von Krawczynski
2001-09-17 15:35 ` Stephan von Krawczynski
2001-09-17 15:51 ` Linus Torvalds
2001-09-17 16:34 ` Stephan von Krawczynski
2001-09-17 16:46 ` Linus Torvalds
2001-09-17 17:20 ` Stephan von Krawczynski
2001-09-17 17:37 ` Linus Torvalds
2001-09-17 0:37 ` Daniel Phillips
2001-09-17 1:07 ` Linus Torvalds
2001-09-17 2:23 ` Daniel Phillips
2001-09-17 5:11 ` Jan Harkes
2001-09-17 12:33 ` Daniel Phillips
2001-09-17 12:41 ` Rik van Riel
2001-09-17 14:49 ` Daniel Phillips
2001-09-17 16:14 ` Jan Harkes
2001-09-17 16:34 ` Linus Torvalds
2001-09-17 15:38 ` Linus Torvalds
2001-09-17 12:26 ` Rik van Riel
2001-09-17 15:42 ` Linus Torvalds
2001-09-18 12:04 ` Rik van Riel
2001-09-17 17:33 ` Linus Torvalds
2001-09-17 18:07 ` Linus Torvalds
2001-09-18 12:09 ` Rik van Riel
2001-09-21 3:10 ` Bill Davidsen
2001-09-17 8:06 ` Eric W. Biederman
2001-09-17 12:12 ` Rik van Riel
2001-09-17 15:45 ` Eric W. Biederman
2001-09-25 11:00 Linux VM design VDA
2001-09-25 11:07 ` 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='a05100301b7d52f49f7b6@[192.168.239.101]' \
--to=chromi@cyberspace.org \
--cc=VDA@port.imtp.ilyichevsk.odessa.ua \
--cc=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=phillips@bonn-fries.net \
--cc=riel@conectiva.com.br \
--cc=viro@math.psu.edu \
/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®