* Page coloring in linux
@ 2006-11-27 17:15 Apan Qasem
2006-11-27 23:55 ` Rik van Riel
0 siblings, 1 reply; 2+ messages in thread
From: Apan Qasem @ 2006-11-27 17:15 UTC (permalink / raw)
To: linux-kernel
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?
I would appreciate being CC'ed on any response/comments related to
this post.
Thanks.
- Apan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Page coloring in linux
2006-11-27 17:15 Page coloring in linux Apan Qasem
@ 2006-11-27 23:55 ` Rik van Riel
0 siblings, 0 replies; 2+ messages in thread
From: Rik van Riel @ 2006-11-27 23:55 UTC (permalink / raw)
To: Apan Qasem; +Cc: linux-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-27 23:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-27 17:15 Page coloring in linux Apan Qasem
2006-11-27 23:55 ` Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox