First read this whole thing what I am writing below:
Case 1: If we have to access unit address in memory using TLB and we assume that no page fault occurs then,
EMAT=p( T+M )+( 1-p ) (T+M+M)
T=TLB access time, M=memory access time(page table access time is included), p= TLB hit. EMAT : estimated memory access time.
case 2: As case 1 , But here page fault occurs.
QUESTION: Now how will we calculate EMAT?
Does the following calculated EMAT affect or contributes to the solution of my question?
X=page fault occurring ratio, S=page fault service time
Note: Here we are not using any TLB. This is for normal virtual memory concept without TLB
Now my main question is: when we calculate EMAT using TLB and if there page fault occurs then how does the last calculated EMAT here affects the first Estimated memory access time which we have calculated using TLB?