Page Coloring
Posted: Fri Apr 25, 2003 12:28 am
(or "colouring" depending on where you are).
For those of you who don't know, page coloring is the method of making sure that blocks of virtual memory are "in sequence" with blocks of physical memory so that the L1 cache doesn't have to reload itself(taking several thousand cycles) each time you access something that spans 2 pages of memory.
My question is this, if I use the 4MB pages, do I need to even bother with page coloring? I think not, but am just wanting to know what other people say.
Thanks in advance,
K.J.
For those of you who don't know, page coloring is the method of making sure that blocks of virtual memory are "in sequence" with blocks of physical memory so that the L1 cache doesn't have to reload itself(taking several thousand cycles) each time you access something that spans 2 pages of memory.
My question is this, if I use the 4MB pages, do I need to even bother with page coloring? I think not, but am just wanting to know what other people say.
Thanks in advance,
K.J.