From: Daniel Phillips <phillips@bonn-fries.net>
To: Rik van Riel <riel@conectiva.com.br>
Cc: linux-mm@kvack.org, Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: Re: [RFC] Accelerate dbench
Date: Mon, 6 Aug 2001 19:20:56 +0200 [thread overview]
Message-ID: <0108061920560E.00294@starship> (raw)
In-Reply-To: <Pine.LNX.4.33L.0108042338130.2526-100000@imladris.rielhome.conectiva>
On Sunday 05 August 2001 04:39, Rik van Riel wrote:
> On Sun, 5 Aug 2001, Daniel Phillips wrote:
> > - SetPageReferenced(page);
> > + if (PageActive(page))
> > + SetPageReferenced(page);
> > + else
> > + activate_page(page);
> >
> > So I'll try it...<time passes>...OK, it doesn't make a lot of
> > difference, results still range from "pretty good" to "really
> > great". Not really suprising, I have this growing gut feeling
> > that we're not doing that well on the active page aging anyway,
>
> Yes, I have the feeling that exponential down aging wasn't
> such a good idea in combination with the fact that most of
> the access bits are "hidden" in page tables ...
Ignoring the hardware access bits in page_launder has to hurt. I'm
playing with an idea now to get access to the hardware referenced
bit for swap pages on the inactive queue, needs more research.
> > and that random selection of candidates for trial on the
> > inactive queue would perform almost as well - which might be
> > worth testing. Anyway, I'm putting this on the back burner for
> > now. Interesting as it is, it's hardly a burning issue.
>
> Well, we found that doing instant activation gives a huge
> performance increase. That's one important point already ;)
*Note*: only for dbench, a bizarre load I don't fully understand.
For my more realistic make+grep load, this change slows it down as
I would expect. But yes, it indicates that there may be more big
gains to get from replacement policy once we understand what the
dbench load really is and how to detect that kind of load
automatically. Or maybe if it just results in a useful
adjustment available from userlond it would be worth the effort.
There is one disturbing possibility I haven't looked into: what if
dbench has a bug? What if its not really doing all the IO its
supposed to on those really fast runs?
--
Daniel
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next prev parent reply other threads:[~2001-08-06 17:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-05 0:04 Daniel Phillips
2001-08-05 0:02 ` Rik van Riel
2001-08-05 2:33 ` Daniel Phillips
2001-08-05 2:39 ` Rik van Riel
2001-08-06 17:20 ` Daniel Phillips [this message]
2001-08-06 0:28 ` Andrew Morton
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=0108061920560E.00294@starship \
--to=phillips@bonn-fries.net \
--cc=linux-mm@kvack.org \
--cc=marcelo@conectiva.com.br \
--cc=riel@conectiva.com.br \
/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