Question #38079

Let the page fault service time be 10 millisecond(ms) in a computer with average memory access time being 20 nanosecond(ns). If one page fault is generated for every 106 memory accesses, what is the effective access time for memory ?
(A) 21 ns
(B) 23 ns
(C) 30 ns
(D) 35 ns

Expert's answer

Answer on Question#38079 – Math - Other

Let rr be the page fault rate, tt be the page fault service time, τ\tau be the memory access time.

Then the effective memory access time:


M=rt+(1r)τ=110610103109 ns+(11106)20 ns10 ns+20 ns=30 nsM = r \cdot t + (1 - r) \cdot \tau = \frac {1}{10^{6}} \cdot 10 \cdot 10^{-3} \cdot 10^{9} \text{ ns} + \left(1 - \frac {1}{10^{6}}\right) \cdot 20 \text{ ns} \approx 10 \text{ ns} + 20 \text{ ns} = 30 \text{ ns}


Answer: (C) 30 ns.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS