Computer Science/Computer Architecture

Memory Hierarchy - AMAT(Average Memory Access Time)

해피단무지 2020. 2. 5. 21:07

Wiki에 나온 정의

In computer science, average memory access time (AMAT) is a common metric to analyze memory system performance. AMAT uses hit time, miss penalty, and miss rate to measure memory performance. It accounts for the fact that hits and misses affect memory system performance differently.

Average Memory Access Time (AMAT) 수식

AMAT = (1-Miss Rate)*Hit Time + Miss Rate*(Hit Time + Miss Penalty)
         = Hit Time + Miss Rate*Miss Penalty

Miss penalty: time to replace a block from lower level, including time to replace in CPU
   1) Access time: time to access lower lovel
   2) Transfer time: time to transfer block
  - 출처: http://home.ku.edu.tr/comp303/public_html/Lecture15.pdf