Question: a A computer system has 16 MB of addressable memory and a 256 KB cache with 16 bytes per line. Find for all three mapping

a A computer system has 16 MB of addressable memory and a 256 KB cache with 16 bytes per line. Find for all three mapping strategies Direct, Associative and 4-way set associative (i) Number of sets and lines in cache, (ii) Number of blocks in main memory, and (iii) Number of address bits used for tag, set and line number. For following references with LRU, find the hit ratio in all three mapping cases. Assume the cache is empty in the beginning. We start executing a program that refers to following 10 memory addresses (Hexadecimal values) in the given order: 3C2B20, 3C2324, 172B24, 3C2B27, 258032, 222B28, 172B28, 3C2B22, 3C2326, 172B21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
