Question: Consider a processor is running a program 3 0 % of the instructions of which require a memory read or write operation if the cache

Consider a processor is running a program 30% of the instructions of which require a
memory read or write operation if the cache hit ratio is 0.95 for instruction and 0.9 for data.
When a cache hit occurs for instruction or data, only one clock cycle needed, while cache
miss penalty is 17 clocks to read/ write on the memory. Calculate the time saved by using
cache, given the total number of instructions executed are 1 million (Assume 10 clock cycle
need for without cache).

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 Programming Questions!