Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please answer this question for all a,b,and c and please put each letter beside

ID: 3884174 • Letter: P

Question

Please answer this question for all a,b,and c and please put each letter beside each answer

A generic computer has a two level cache, suppose the CPU makes a series of 4000 address requests. The Ll cache, L2 cache, and main memory response times are 25ns, 50ns, and 200ns, respectively a. The L cache satisfies 3690 of the requests made by the CPU. What is the LI cache hit rate and miss rate? b. The L2 cache satisfies 295 of the requests made by the CPU. How many requests are actually made to the L2 cache for addresses? What is the L2 cache hit rate and miss rate? c. Calculate the average access time.

Explanation / Answer

a)L1 cache hit ratio=3690/4000=0.9225

L1 cache miss ratio=0.0775

b) Request made to L2 cache=4000-3690=310

L2 cache hit ratio=295/310=0.9516

L2 cache miss ratio=0.0484

c) Avg Access Time= (4000*25 ) + (310*(25+50) + (15*(25+50+200))

=100000+23250+4125

=127375 ns

=127.375 micro seconds