Average time of service page fault - Example - Operating System

Q.  The average time of service a page fault is 10ms and the time taken to access the memory is 1µs. A 99.99% hit ratio results in average memory their access time is __________.
- Published on 26 Aug 15

a. 1.9999µs
b. 1.9999ms
c. 1ms
d. 9.99µs

ANSWER: 1.9999µs
 

    Discussion

  • Nirja Shah   -Posted on 21 Nov 15
    Average memory access time = [(% of page miss)*(time to service a page fault) + (% of page hit)*(memory access time)]/100

    - So, average memory access time in microseconds is:

    (99.99*1 + 0.01*10*1000)/100 = (99.99+100)/1000 = 199.99/1000 =1.9999 μs

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)