全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Quantitative Finance · 术语表

什么是 Cache line, set-associative cache?

又称: cache line · set-associative cache

Definition 3.1 Low-Latency Software · 第 3 章 — Memory Hierarchy and Caches

Memory moves between the levels of the hierarchy in fixed blocks called cache lines, 64 bytes on current x86 processors. In a set-associative cache with SS sets of WW ways, a line can be stored only in the set given by bits of its address, in any of that set’s WW slots; the cache holds S⋅WS \cdot W lines.

在原文中阅读 →