Skip to content

Latest commit

 

History

History
4 lines (2 loc) · 354 Bytes

cpu-cache-implementation-details.md

File metadata and controls

4 lines (2 loc) · 354 Bytes

3.3. CPU 快取實作細節

快取實作者有個麻煩是,在龐大的主記憶體中,每個記憶單元都可能得被快取。假如一支程式的工作集足夠大,這表示有許多為了快取中的各個地方打架的主記憶體位置。先前曾經提過,快取與主記憶體容量的比率為 1 比 1000 的情況並不罕見。