Question

Assume the miss rate of an instruction cache is 3% and the miss rate of the data cache is 5%. If a processor has a CPI of 2 without any memory stalls and the miss penalty is 120 cycles for all misses, determine how much faster a processor would run with a perfect cache that never missed. Assume the frequency of all loads and stores is 36%. *The size of the tag field-64- (n + m 2). ** The total number of bits in a direct-mapped cache = 2n X (block size + tag size + valid field size) AMATTime for a hit Miss rate X Miss penalty ** Disk Capacity (# bytes/sector) x (avg. # sectors/track) x(# tracks/surface) x (# surfaces/platter) x (# platters!disk) ** Tavg transfer-1/(RPM /( 60 secs/1 min)) x 1/(avg # sectors/track) ** Tavg rotation latency-1/2 x 1/(RPMs / 60 sec/1 min) ** Taccess = Tavg seek + Tavg rotation latency + Tavg transfer
0 0
Add a comment Improve this question Transcribed image text
Answer #1

As per the details provided in the question the solution will be as follows:

Given:

Cache miss rate for GCC =3%

Data cache miss rate =5%

CPIperfect = 2

Miss penalty = 40 cycles

Assumed frequency = 36%

s 2.lo1 Total Nimb» פ3.88

Hope you understand the solution and let me know the doubts in the comments. Have a nice day!!! Please rate...

Add a comment
Know the answer?
Add Answer to:
Assume the miss rate of an instruction cache is 3% and the miss rate of the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT