A cache with 10 ns access time and a main memory of 100 ns are accessed so that a miss costs only the memory time (simultaneous access). What hit ratio gives an average access time of 19 ns?

Correct answer D. 0.90

Explanation

With simultaneous access, T = h x 10 + (1 - h) x 100. Setting T = 19 gives 100 - 90h = 19, so h = 81 / 90 = 0.90. The answer 0.81 confuses the numerator with the result. If the access were hierarchical, a miss would cost 110 ns, giving h = 1 - 9/100 = 0.91, so always check which model the question states.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.