|
From: | Gregory Wright |
Subject: | Introduction to caches, was [Texmacs-dev] Scrolling speed |
Date: | Fri, 28 May 2004 15:27:40 -0400 |
On May 28, 2004, at 5:24 AM, Joris van der Hoeven wrote:
Caches are exploiting spatial and temporal locality. Caches take into account physical memory accesses and do not consider how this physical memory is distributed into the virtual address space of the program. So malloc has little to do for cache locality.Do you have a good reference on how modern memory works more precisely?
Hi Joris,The best reference for getting up to speed quickly is "Elements of Cache Programming Style"
by Chris Sears:http://www.usenix.org/publications/library/proceedings/als00/ 2000papers/papers/full_papers/sears/sears_html/
I found it quite useful when I was trying to speed up some network packet processing code.
Best Wishes, Greg Wright Gregory Wright Antiope Associates LLC address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |