All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Cache line, set-associative cache?

Also known as: cache line · set-associative cache

Definition 3.1 Low-Latency Software · Chapter 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.

Read in context →