The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
138 views
If a page fault occurs on an average every 1000 instructions and average instruction time is 100ns without page fault and 100ms with page fault. what is average instruction time?
asked in Operating System by Active (3.7k points) | 138 views

1 Answer

+1 vote
Best answer

Page fault rate = 1/1000 
T =Page fault rate * Page Fault Service Time + (1-Page Fault rate)*Memory access time
  = $\frac{1}{1000} * 100 * 10 ^6$+  $(1- \frac{1}{1000}) * 100$  
  = 100099.9 ns 

answered by Boss (16.2k points)
selected by

Related questions

0 votes
1 answer
2
asked Aug 9, 2015 in Operating System by Shefali Active (1.2k points) | 159 views
+3 votes
1 answer
6
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
48,411 questions
52,746 answers
183,341 comments
68,213 users