Matt Dillon wrote:
> 
>     Well, first of all the page coloring is not pointless with the
>     sizes hardwired.  The cache characteristics do not have to
>     match exactly for page coloring to work.  The effectiveness is
>     like a log-graph, and you don't lose a lot by guessing wrong.
>     Once you get past a designated cache size of 4-pages or so you've
>     already reaped 90% of the benefit on systems which use N-way (2, 4, 8)
>     associative caches (which is most systems these days).  For systems with
>     direct-mapped caches you reap 90% of the benefits once you get past
>     16 pages or so.

If I remember correctly from reading a thesis (can't remember its
author) on the page coloring which I believe widely introduced this
concept, page coloring adds a lot of efficiency to the directly 
mapped caches but even for the 2-way caches is nearly pointless.

-SB

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to