-
Book Overview & Buying
-
Table Of Contents
Modern Computer Architecture and Organization - Third Edition
By :
Cache memory is a high-speed memory region (compared to main memory) that temporarily stores recently used program instructions or data in anticipation of future use. The primary purpose of cache memory is to increase the speed of repeated accesses to a particular memory location and nearby addresses. To be effective, reading and writing cached items must be significantly faster than accessing the source of the instructions or data, referred to as the backing store. Depending on the application, the backing store may consist of main memory, a storage device such as an SSD, or files on a web server.
When memory caching is in use, each attempt to access an address begins with a cache lookup. If the requested item is present, the processor retrieves it immediately. This is called a cache hit. If the cache search is unsuccessful (a cache miss), the instruction or data item must be retrieved from the backing store. As the requested item is retrieved, a copy is added to the cache...