• edited by
1,701 views
1 1 vote
A demand paging system requires Sending trap to OS, bring the new page from LAS to PAS,updating page tables,then signaling CPU to restart the instruction time 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 m . In case of page fault, the probability of page being dirty is m.

It is observed that average access time is 50 time units. Then, the value of m is ______? [upto four decimal places]

1 Answer

Best answer
2 2 votes

Given  page fault service time(PS) = 125(no dirty page

         page fault service time(PS) =400(if there is dirty page in which we have to copy and then load page so it take more time compare to no dirty page replacement)

probability of page fault =m

probability of being dirty is =m


 

• selected by
Position:
Show:

Related questions

6 6 votes
0 0 answers
1.6k
1.6k views
Rishabh Gupta 2 asked Nov 26, 2017
1,646 views
Strangely, if we let $S^R$ be the reverse of a reference string S, then the page-fault rate for the OPT algorithm on S is the same as the page-fault rate for the OPT algo...
0 0 votes
0 0 answers
543
543 views
admin asked Oct 26, 2019
543 views
Write a program that will demonstrate the difference between using a local page replacement policy and a global one for the simple case of two processes. You will need a ...
0 0 votes
0 0 answers
374
374 views
admin asked Oct 26, 2019
374 views
One of the first timesharing machines, the $DEC\: PDP-1,$ had a (core) memory of $4K\: 18-bit$ words. It held one process at a time in its memory. When the scheduler deci...
2 2 votes
1 1 answer
2.5k
2.5k views
admin asked Oct 26, 2019
2,460 views
Consider the following two-dimensional array:int X[64][64];Suppose that a system has four page frames and each frame is $128$ words (an integer occupies one word). Progra...