279 views
1 votes
1 votes
A demand paging system takes 250 time units to service a page fault and 450 time units to replace a dirty page. Memory access time is 10 time units. The probability of page faults is 0.3. In case of a page fault, the probability of page being dirty is 0.06. The average access time is  ?

1 Answer

1 votes
1 votes

average access time =page fault rate*(page fault service time )+page hit rate*(memory access time)

 here page fault service time= when page  is dirty + when page is not dirty

page fault  service time= (probability of  being page dirty*time taken to replace dirty page+ probability of not being dirty *service time)

average access time=0.3*(0.6*450+0.94*250)+0.7*10

average access time=85.6 unit time.

Related questions

0 votes
0 votes
1 answer
1
2 votes
2 votes
0 answers
4