Gate2018 cs Q17

0. Consider a process executing on an operating system that uses demand paging. The average time for a memory access in the system is M units if the corresponding memory page is available in memory and D units if the memory access causes a page fault. It has been experimentally measured that the average time taken for a memory access in the process is X units. </br.Which one of the following is the correct expression for the page fault. It has been experimentally measured that the average time taken for a memory access in the process is X units.
Which one of the following is the correct expression for the page fault rate experienced by the process?

  • Option : B
  • Explanation :
    EMAT = P * S + (1 - P) * M
    X = P * D + (1 - P) * M
    X = P * D + M - P * M
    X - M = P (D - M)
    P = (X - M)/(D - M)
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *