Re: [PATCH] Optimize out pte_chain take three

Rik van Riel
2002-07-11T00:47:21Z

On Wed, 10 Jul 2002, Andrew Morton wrote:

> A lot of it should be fairly simple. We have tons of pagecache-intensive
> workloads. But we have gaps when it comes to the VM. In the area of
> page replacement.

Umm, page replacement is about identifying the working set
and paging out those pages which are not in the working set.

None of the benchmark examples you give have anything like
a working set.

> Can we fill those gaps with a reasonable amount of effort?

[snip swap & pagecache IO throughput tests]

> After that comes the analysis. Looks like rmap will be merged in
> the next few days for test-and-eval, so we don't need to go through
> some great beforehand-justification exercise. But we do need
> a permanent toolkit and we do need a way of optimising the VM.

Absolutely agreed.

> I would suggest that the toolkit consist of two things:
>
> 1: A set of scenarios and associated scripts/tools such as my
> examples above (except more real-worldy) and
>
> 2: Permanent in-kernel instrumentation which allows us (and
> remote testers) to understand what is happening in there.

I'm willing to code up number 2 and get it into a mergeable
shape later this week.

regards,

Rik
--
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/ http://distro.conectiva.com/