Question: Suppose a program, initially loaded into RAM, contains 1 0 0 instructions ( all instructions are register based ) . When it is run, CPU

Suppose a program, initially loaded into RAM, contains 100 instructions (all
instructions are register based). When it is run, CPU reads/finds 80
instructions from cache memory. For the remaining instructions, CPU has to
access RAM.
In such case, the Hit ratio of Cache for the program would be 80%, means
that 80 out of 100 instructions are found in cache.
Suppose a program, initially loaded into RAM, contains 300 instructions (all
instructions are register based). When it is run, CPU reads/finds 250
instruction from cache memory. For the remaining instructions, CPU has to
access RAM. Calculate Hit Ratio: (250/300)x 100=83.33%
What would be the Miss Rate?

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!