Re: page coloruing tutorial questions [Re: Page coloring HOWTO [ans]]

Richard Gooch (rgooch@atnf.csiro.au)
Mon, 1 Feb 1999 08:27:43 +1100


Andrea Arcangeli writes:
> I am going to ask some question in order to learn something about page
> coloring (I know nothing about it).
>
> If somebody has some pointer where I can read C code or docs about page
> colouring I am very interested.

See the msr-patch-v4 I posted. http://www.atnf.csiro.au/~rgooch/linux/

I even wrote some words on it: Documentation/page-colouring.txt
Note: I don't claim to be an expert on this. This is based on what
I've learned in the process of tracking down another problem.

> On Sun, 31 Jan 1999, Richard Gooch wrote:
>
> > I assume you mean those programmes which are slowed down by page
> > colouring have a silly access pattern which results in cache line
> > aliasing? They only ran faster without page colouring because random
>
> What does it mean "cache line aliasing"?

See the doc. If you think I didn't get the point across, let me know
and I'll try again.

> And what does it mean that a page is coloured or not?

Ditto.

> What is the point of page colouring? Do you want to avoid TLB misses
> or is only a L1/L2 cache issue? (or both?)

I've mainly been considering the latter, but I suspect Larry McVoy
also meant the former: I'll be posting another followup soon to check
on that.

Regards,

Richard....

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