title: Calculating effective address translation time
body: <p>Does anyone know the formula for calculating the effective address-translation time?</p>
  <p>For example, how to solve following problem:</p>
  <blockquote>
  <p>Given an information as below:</p>
  <ul>
  <li><p>The TLB can hold 1024 entries and can be accessed in 1 clock cycle (1 nsec).</p>
  </li>
  <li><p>A page table entry can be found in 100 clock cycles or 100 nsec.</p>
  </li>
  <li><p>The average page replacement time is 6 msec.</p>
  </li>
  </ul>
  <p>If page references are handled by the TLB 99% of the time, and only 0.01% lead to a page fault, what is the effective address-translation time?</p>
  </blockquote>
  <p>So is it 1 nsec + (0.01% x 100 nsec) ?</p>