Question: Consider a memory system with 4-way set associative cache of size 8K bytes. Cache block size is 8 bytes. Processor sends out 32-bit memory
Consider a memory system with 4-way set associative cache of size 8K bytes. Cache block size is 8 bytes. Processor sends out 32-bit memory address to read/write required instruction or data. Index V. Tag Data Index 32-bit Address Byte offer V Tag Data V. Tag Data How many blocks exist in the cache? How many sets are in the cache? ( What is the number of bits for Index field? What is the number of bit for Tag field? 410-1 multiplexor Data Tag Data b) Consider a memory system with level 1 and level 2 caches, main memory and hard disk with the following configurations. - It takes 10ns to access level 1 cache, 100ns to access level 2 cache, 500ns to access main memory and 1000ns to access hard disk. - A program makes 100 memory references of which 20 are hit in level 1 cache, 56 are hit in level 2 cache, 12 are hit in main memory, and the remaining 12 are hit in hard disk. Calculate the average access time of this memory system. For simplification, you may assume all memory accesses are reads.
Step by Step Solution
There are 3 Steps involved in it
a 1 Number of blocks Cache size Block size 8K bytes 8 bytes 10... View full answer
Get step-by-step solutions from verified subject matter experts
