title: Effective Address Time in two level paging
body: <p>I am currently working on some project on OS, I know how to find EAT in single level paging which is </p>
  
  <p><code>EAT = (MAT+TLB-AT)*a+(2*MAT+TLB-AT)*(1-a)</code></p>
  
  <p>where</p>
  
  <pre><code>MAT is memory access time, 
  TLB-AT is TLB hit time
  a is hit ratio
  </code></pre>
  
  <p>I am trying to find out <code>EAT</code> in two levels, will it access memory 3-times in case of TLB-miss or four.</p>