EAT= TLB hit*(TLB time+MM time)+TLB miss*(Page fault rate*Service time+No page fault *MM time)
EAT=0.99*(20+100)+0.01*(0.05*5*$10^{6}$+0.95*100)
=118.8+2500.95
=2619.75 nsec.
If page fault occurs OS generates a system call to swap in the required process until that current execution stops.After that execution of a process continues.
i was also doing the same way ...but solution given is beyond my understanding
64.3k questions
77.9k answers
244k comments
80.0k users