From: Rik van Riel <riel@conectiva.com.br>
To: Ivan Schreter <is@zapwerk.com>
Cc: John Clemens <john@deater.net>, <linux-kernel@vger.kernel.org>
Subject: Re: Buffer management - interesting idea
Date: Fri, 15 Jun 2001 15:50:33 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.33.0106151550010.2262-100000@duckman.distro.conectiva> (raw)
In-Reply-To: <200106151705.TAA07359@borg4.zapnet.de>
On Fri, 15 Jun 2001, Ivan Schreter wrote:
> In 2Q, when a page is present in LRU queue, you move it to the front of
> LRU queue as usual. Otherwise, if it is in memory, it must be in A1 queue
> (the FIFO one), so you DON'T do anything. When the page is NOT in memory,
> you load it conditionally to Am LRU queue (if it is present in A1out
> queue) or to A1 queue (FIFO), if not.
>
> It gets interesting when you need to swap out a page from memory. When the
> size of A1 FIFO is greater than limit (e.g., 10% of buffer space), a page
> from A1 is swapped out (and put into A1out list), otherwise a page from Am
> LRU is swapped out (and NOT put into A1out, since it hasn't been accessed
> for long time).
This description has me horribly confused. Do you have
any pointers to state diagrams of this thing? ;)
regards,
Rik
--
Executive summary of a recent Microsoft press release:
"we are concerned about the GNU General Public License (GPL)"
http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com/
next prev parent reply other threads:[~2001-06-15 18:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-06 11:39 Buffer management - interesting idea Ivan Schreter
2001-06-15 9:07 ` Helge Hafting
2001-06-15 9:41 ` Ivan Schreter
2001-06-15 17:05 ` Ivan Schreter
2001-06-15 18:50 ` Rik van Riel [this message]
2001-06-15 23:51 ` Ivan Schreter
2001-06-16 18:35 ` Jeremy Fitzhardinge
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.33.0106151550010.2262-100000@duckman.distro.conectiva \
--to=riel@conectiva.com.br \
--cc=is@zapwerk.com \
--cc=john@deater.net \
--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;
as well as URLs for NNTP newsgroup(s).