A program uses 1600 instructions. Microprocessor references cache memory for 1493 instructions with ZERO wait states. Each main memory reference requires 3 WAIT states. Calculate the miss rate in the system. Select one:a. 92.33 %b. 6.67 %c. 7.67%d. 93.33 %
Question
A program uses 1600 instructions. Microprocessor references cache memory for 1493 instructions with ZERO wait states. Each main memory reference requires 3 WAIT states. Calculate the miss rate in the system. Select one:a. 92.33 %b. 6.67 %c. 7.67%d. 93.33 %
Solution
To calculate the miss rate in the system, we need to determine the number of cache misses and the total number of memory references.
Given that the program uses 1600 instructions and the microprocessor references cache memory for 1493 instructions with zero wait states, we can calculate the number of cache misses as follows:
Cache misses = Total instructions - Cache hits Cache misses = 1600 - 1493 Cache misses = 107
Now, let's calculate the total number of memory references:
Memory references = Cache hits + Cache misses Memory references = 1493 + 107 Memory references = 1600
To calculate the miss rate, we divide the number of cache misses by the total number of memory references and multiply by 100:
Miss rate = (Cache misses / Memory references) * 100 Miss rate = (107 / 1600) * 100 Miss rate = 6.67%
Therefore, the correct answer is b. 6.67%.
Similar Questions
Assume 40% of the instructions are data accessing instruction. Let a hit take 1 clock cycle and the miss penalty is 100 clock cycle. Assume instruction miss rate is 4% and data access miss rate is 12%, what is the average memory access time?
Which component of the CPU fetches instructions from memory based on the program counter's value? A. ALU B. Data bus C. Control unit D. Cache memory
What ls a cache miss, and what are the causes of cache misses in a computer system?
In this question, we will look at the different ways capacity affects overall performance. In general, cache access time is proportional to capacity. Assume that main miss penalty for both processors take 200 s. The following table shows data for caches attached to each of two processors: Miss RateHit TimeP18%2sP22%5sWhat is the Average Memory Access Time for P1 and P2?
36)i) A computer with cache access time of 100 ns and hit ratio of 0·9 produces an average access time of
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.