Re: Page coloring in linux
From: Rik van Riel
Date: Mon Nov 27 2006 - 18:59:58 EST
Apan Qasem wrote:
Does anyone know where I can find documentation on the page coloring
algorithm? I just need to find out the the basic heuristics used in
coloring the pages.
Also, does the kernel source include the page coloring code or do I need
to patch the kernel?
The Linux kernel does not do page coloring.
One reason for this is that the vast majority of processors
has 4-way, 8-way or higher cache associativity, meaning that
the gains that could be had from coloring are a lot smaller
than they used to be.
Cache coloring is not free, either.
--
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is. Each group
calls the other unpatriotic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/