in Operating System retagged by
1,728 views
6 votes
6 votes
A demand paging system has page fault service time as 125 time units if page is not dirty and 400 times units of page fault service time if it is a dirty page. Memory access time is 10 time units. The probability of a page fault is 0.3. In case of page fault, the probability of page being dirty is P. It is observed that average access time is 50 time units. Then, the value of P is ______? [upto four decimal places]
in Operating System retagged by
1.7k views

4 Comments

Reffer galvin.
0
0

I

In this memory access time is not taken that is considered in pfst itself

0
0
can someone explain dirty bit concept in this question
0
0

2 Answers

1 vote
1 vote
equation will be

50 = .7*10 + .3*125*(1-p) + .3*400*p

gives 0.0667
by

4 Comments

t = (page fault dosenot occure * mem access time) + page fault occure((probability of page being dirty* service time when page dirty) + (probability of page not being dirty * service time when page not dirty))
0
0
@sunaina

some solutions use this way like u said and some solutions like akash said

even i am confused when to use which one :(

can someone clear out the difference betwenen both approaches
0
0
actually memory acess time is in nano seconds and page fault service time is in miliseconds .memory acess time is compared negligible(though it shouldn't)  so it some authors ignore memory acess time during page fault
0
0
0 votes
0 votes