Let the page fault service time be 20 ms in a computer with average memory access time being 30 ns. If one page fault is generated for every 106 memory accesses, What is the effective access time for the memory (in ns).
Effective Memory Access Time = page fault rate * (page fault service time+memory access time) + (1- page fault rate) * (memory access time )
EMAT=P*(PFS + MA)+(1-P)*MA
EMAT=P*PFS + P*MA + MA - P*MA
EMAT=P*PFS + MA
EMAT=(1/106 )*20msec + 30nsec