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

Consider a processor is running a program 30% of the instructions of which require a10memory 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 cachemiss penalty is 17 clocks to read/ write on the memory. Calculate the time saved by usingcache, given the total number of instructions executed are 1 million (Assume 10 clock cycleneed 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!