Hit rate measurements are typically performed on benchmark applications. The "latency" of a cache describes how long after requesting a desired item the cache can return that item (when there is a hit).įaster replacement strategies typically keep track of less usage information-or, in the case of direct-mapped cache, no information-to reduce the amount of time required to update that information.Įach replacement strategy is a compromise between hit rate and latency. More efficient replacement policies keep track of more usage information in order to improve the hit rate (for a given cache size). The "hit ratio" of a cache describes how often a searched-for item is actually found in the cache. There are also a number of secondary factors affecting cache performance. There are two primary figures of merit of a cache: The average memory reference time is \displaystyle = various secondary effects, such as queuing effects in multiprocessor systems
0 Comments
Leave a Reply. |