Friday 29 May 2015

Q48,Paper 2,J13.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 10^6memory accesses, what is the effective access time for memory ?



(A) 21 ns
(B) 23 ns
(C) 30 ns
(D) 35 ns
Answer A.
Explanation.
Let there are 106+1memory address. It generated 1 fault . fault take 10-3 s+(20*10-9)s.
Remaining memory access will take time.(20*10-9*106).
Total time is  10-3 +(20*10-9)+ (20*10-9*106).=  10-9(1+20*10-6+20)
                                    106+1              
Approximately 21 ns.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.