A concrete explanation of how a cache works10pparksb 4 days ago 1 commentsRead Article on parksb.github.io HI version is available. Content is displayed in original English for accuracy.
Discussion (1 Comments)Read Original on HackerNews
Wikipedia has it better and more comprehensive - https://en.wikipedia.org/wiki/CPU_cache
For usage of caches from a OS, particularly in the context of multicores/multiprocessors see Curt Schimmel's classic Unix Systems for Modern Architectures: Symmetric Multiprocessing and Caching for Kernel Programmers.