On Mon, May 21, 2007 at 01:08:13AM -0700, William Lee Irwin III wrote:
That doesn't say anything about temporal locality, though.
Realise that you have to have a run of I think at least 7 or 8 contiguous
pages and temporally close references in order to save a single cacheline.
Then also that if the page being touched is not partially in cache from
an earlier access, then it is statistically going to cost more lines to
touch it (up to 75% if you touch the first and the last field, obviously 0%
if you only touch a single field, but that's unlikely given that you
usually take a reference then do at least something else like check flags).
I think the problem with the cache footprint argument is just whether
it makes any significant difference to performance. But..
... yeah, something like that would bypass
-