Computer AwarenessVery hardIBPS SO IT · SBI PO

A cache has an access time of 10 ns and main memory 100 ns. The cache is checked first and, on a miss, the word is then read from main memory, so a miss costs 10 + 100 ns. With a hit ratio of 90%, what is the average memory access time?

  1. A. 19 ns
  2. B. 20 ns
  3. C. 91 ns
  4. D. 55 ns

Correct answer: B. 20 ns

Average = 0.9 × 10 + 0.1 × (10 + 100) = 9 + 11 = 20 ns. 19 ns comes from wrongly charging a miss only 100 ns, as if both memories were searched in parallel.

हिंदी में

एक कैश का एक्सेस समय 10 ns और मुख्य मेमोरी का 100 ns है। पहले कैश की जाँच होती है और मिस होने पर शब्द मुख्य मेमोरी से पढ़ा जाता है, इसलिए एक मिस की लागत 10 + 100 ns है। 90% हिट अनुपात के साथ औसत मेमोरी एक्सेस समय क्या है?

  1. A. 19 ns
  2. B. 20 ns
  3. C. 91 ns
  4. D. 55 ns

उत्तर: B. औसत = 0.9 × 10 + 0.1 × (10 + 100) = 9 + 11 = 20 ns। 19 ns तब आता है जब मिस की लागत गलती से केवल 100 ns ली जाए, मानो दोनों मेमोरी में एक साथ खोज होती हो।

More Computer Awareness questions

Exams that ask this topic