public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@e-mind.com>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dcache 2nd chance replacement
Date: Thu, 4 Jan 2001 17:52:38 +0100	[thread overview]
Message-ID: <20010104175238.F1507@athlon.random> (raw)
In-Reply-To: <20010104171807.B1507@athlon.random> <Pine.LNX.4.21.0101041422360.1188-100000@duckman.distro.conectiva>
In-Reply-To: <Pine.LNX.4.21.0101041422360.1188-100000@duckman.distro.conectiva>; from riel@conectiva.com.br on Thu, Jan 04, 2001 at 02:23:53PM -0200

On Thu, Jan 04, 2001 at 02:23:53PM -0200, Rik van Riel wrote:
> > The dcache aging is mostly useful with _high_ VFS load like
> > updatedb in background. The logic is the same of the VM aging
> > (ask yourself when the VM aging is most useful: when there's
> > high VM load, like a `cp /dev/zero .`
> 
> This is exactly the point where page aging alone isn't good
> enough and you need something like drop-behind...
> 
> (yes, there IS a reason why we have drop_behind() and page
> deactivation in generic_file_write)

This is totally offtopic. We were _not_ talking about other algorithms.  We
were _only_ talking about _when_ the 1 bit of aging I introduced with my
algorithm improves performance at max.  My answer is that the max performance
improvement happens when there's the _highest_ VFS load in background and you
disagreed.  Everything else has nothing to do with this our previous discussion
so your above reply partly still doesn't make sense to me.

Talking about the new topic you introduced above with your offtopic reply, I
think that for a thing like dcache 1 bit of aging is more than enough
(and btw, in my 2.4.x VM tree I put a 1 bit of aging also in the icache).  In
case you didn't realized the frequency the dcache gets recycled completly is
much much much lower than the frequency something like the pagecache can be
recycled completly. So you have relatively plenty of time before the referenced
dentries gets collected.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-04 16:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-03 18:59 [PATCH] dcache 2nd chance replacement Rik van Riel
2001-01-03 19:05 ` Linus Torvalds
2001-01-03 19:11   ` Rik van Riel
2001-01-03 19:43 ` Andrea Arcangeli
2001-01-03 19:47   ` Rik van Riel
2001-01-03 21:12     ` Andrea Arcangeli
2001-01-03 23:09       ` Rik van Riel
2001-01-04  0:32         ` Andrea Arcangeli
2001-01-04 15:00           ` Rik van Riel
2001-01-04 16:18             ` Andrea Arcangeli
2001-01-04 16:23               ` Rik van Riel
2001-01-04 16:52                 ` Andrea Arcangeli [this message]
2001-01-04 16:59                   ` Rik van Riel
2001-01-04 17:35                     ` Andrea Arcangeli
2001-01-04 17:36                       ` Rik van Riel
2001-01-04 17:47                       ` Alan Cox
2001-01-05 12:08                         ` Chris Evans

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=20010104175238.F1507@athlon.random \
    --to=andrea@e-mind.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@conectiva.com.br \
    --cc=torvalds@transmeta.com \
    /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