The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+1 vote
142 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?
in Operating System by Active (3.6k points) | 142 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 

by Boss (16.2k points)
selected by

Related questions

0 votes
1 answer
2
asked Aug 9, 2015 in Operating System by Shefali Junior (821 points) | 160 views
+3 votes
1 answer
7
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
49,807 questions
54,729 answers
189,317 comments
79,910 users