GeeksforGeeks » Multiple Choice Questions
A GATE 2011 question about OS
(6 posts)-
Let the page fault service time be 10ms in a computer with average memory access time being 20ns. If one page fault is generated for every 106 memory accesses, what is the effective access time for the memory?
(A) 21ns
(B) 30ns
(C) 23ns
(D) 35ns -
P -> Probability of page fault occurence is (1/10^6)
so, EAT ( in ns) goes like
=> P* page fault service time + (1-p) * memory access time
=> (1/10^6) * 10*10^6 + (1- (1/10^6)) * 20
=>29.9ns
=>30ns (approx) -
guys plz specify a link wher we can get all numerical probs on OS..:)
-
probability should be (1/106). How come it is 1/(10^6).???
-
Lets go for a run!
-
@gogo , In actual question also, it is like
"If one page fault is generated for every 10^6 memory accesses, "
Reply
You must log in to post.