we know the formula
EMAT = px(page fault service time) + (1-p)x memory access time
now , p = 1/10000 , (1-p) = (1- 1/10000)
page fault service time = 8 milliseconds ,
now we left with memory access time , the instruction requires CPU time of 100 ns , and TLB hit ratio is given as 90% which shows the use of TLB . and we know if we got a hit in TLB then we directly fetch from memory , that’s why it is specified regular memory access takes 150 seconds
1 memory access time = [ TLB access time ]
= [ 0.9 x( 150) + 0.1 ( 150+150) ] = 165 ns
therefore 2 memory acess time takes 2 x 165
so now average instruction execution time =
CPU time + EMAT = 100 + [ 1/10000 x(8 ms) + (1-1/10000) x 2 x 165]
= 1230 ns