Question: Consider a 1 G H z machine with 1 6 - bit address bus, a direct - mapped L 2 cache of 1 K B

Consider a 1GHz machine with 16-bit address bus, a direct-mapped L2 cache of 1KB and an 2-way associative L1 cache of 512B with the following access times: 1.2 miss penalty: 250 cycles, L2 hit time: 20 cycles, L1 hit time 1 cycles.
a. Calculate the average memory access time for the system if the memory instructions are 10% and hit rates are 50% for L1 and 80% for L2.
b. If the cache block size is 8 bytes, how many block positions does each cache have? c. For the following address references, write the tag and the cache index (line) for both caches: 044B4,02 AE3,0137,062E5. Also, indicate if any pair of these addresses result will share the same block position in any of the two caches. Use the table at the end to tabulate your answers.
\table[[Address,0x44B4,0x2AE3,0x137,0x62E5],[L2 Cache,,],[Tag,,,,],[Line ID,,,,],[L1 Cache,,,,],[Tag,,,,],[Line ID,,,,]]
 Consider a 1GHz machine with 16-bit address bus, a direct-mapped L2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!