Re: [PATCH] page coloring for 2.5.59 kernel, version 1

Andi Kleen
2003-01-28T16:28:06Z

"Martin J. Bligh" <mbligh@aracnet.com> writes:

> > I think this one really needs to be done with the userspace cache
> > thrashing microbenchmarks.
>
> If a benefit cannot be show on some sort of semi-realistic workload,
> it's probably not worth it, IMHO.

The main advantage of cache coloring normally is that benchmarks
should get stable results. Without it a benchmark result can vary based on
random memory allocation patterns.

Just having stable benchmarks may be worth it.

I suspect the benefit will vary a lot based on the CPU. Your caches may
have good enough associativity. On other CPUs it may make much more difference.

-Andi