

If a programmer is aware of cache and its trappings, it is a simple matter to arrange memory accesses to take advantage of cache and have faster run times.


DIRECT MAPPED CACHE TUTORIAL SOFTWARE
The reason you should care is because a programmer can design software to take advantage of cache. Also, there are many aspects of cache described in the notes that I do not describe in this version of the text, like sub-blocks. Although this text can be read on its own without reference to the book or the notes, this is more text heavy, while the notes provide more valuable visual aides and a far more concise overview than I provide here. This is a supplement for the notes and text, not a replacement. I try to give a complete treatment of the more important aspects of cache. Also included are details about cache design. I discuss the implementation and comparative advantages of direct mapped cache, N-way set associative cache, and fully-associative cache. The purpose of this document is to help people have a more complete understanding of what memory cache is and how it works. Sizes of Fields for N-Way Set Associative.Thomas Finley, May 2000 Contents and Introduction
