Consider the computer with 8 Mbytes of main memory and a 128 K cache. The cache block size is 4K. It uses a direct mapping scheme for cache management. How many different main memory blocks can map into a given physical cache block?
The computer with 8 Mbytes of main memory and a 128 K cache. The cache block size is 4K. It uses a direct mapping scheme for cache management. 64 different main memory blocks can map into a given physical cache block.
The cache provides in-memory storage and management for your data.
A cache is a hardware or software component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored.
The simplest way of associating main memory blocks with cache block is the direct mapping technique.