edited by
2,364 views
2 votes
2 votes
Consider a demand paged memory system, page table is held in registers. It takes 800 nsec to service a page fault if empty page is available or replaced page is not modified and 950 nsec if the replaced page is modified, main memory access time is 120 nsec. If page to be replaced is modified 85% of time and page faultrate is 20% then average memory access time is ________. (Upto 1 decimal place)
edited by

1 Answer

4 votes
4 votes

Emat = P*( Page fault service time + Memory access time ) + (1-P)( Memory access time )

          = P*(Page fault service time) + Memory access time

Page fault service time  = pm(Time taken when page modified) + (1-pm)(Time taken when page not modified)

                                         = 0.85*950 + 0.15*800 = 927.5

Emat = 0.2*927.5+120 = 185.5 + 120 = 305.5

edited by

Related questions