Main memory access time,
Tm=100ns TLB lookup, Trus
=20ns Page transfer time,
TPT=5000ns TLB hit ratio,
x=0.95(95%) page fault rate,
p=0.10(10%)
We know,
EMAT for multilevel paging
EMAT
=x(Tc+Tm)+(1−x)(Tc+(n+1)Tm)
EMAT, when there is a page fault,
S→ is service time
EMAT
=(1−P)Tm+PS Here, we are using
TLB, and page fault occurs whenever there is a miss in
TLB, So the required EMAT is,
EMAT
=x(Ttb+Tm)+(1−x)[(1−P)(Ttb+Tm+Tm)+p(%
dirty
(Ttlb+Tm+2TPT)+% clean
(Ttb+Tm+TPT) ∴EMAT=0.95(20+100)+0.05(0.9(20+100+100)+0.1(0.2(20+100+
2(5000))+0.8(20+100+5000)) =154.5ns