全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Cache, line, hit, miss?

又称: cache · cache line · hit · miss · hit rate

Definition 12.3 University Computer Science — Year 2 · 第 12 章 — Caches and the Memory Hierarchy

A cache is a small fast memory that holds copies of blocks of a larger memory. The block it moves at once, BB bytes with BB a power of two at an address multiple of BB, is a cache line. An access whose line is in the cache is a hit; otherwise it is a miss, and the line is fetched from the next level. The hit rate of a run is its number of hits divided by its number of accesses, and the miss ratio is one minus the hit rate.

在原文中阅读 →