Presentation is loading. Please wait.

Presentation is loading. Please wait.

Advanced Computer Architecture Cache Memory 1. Characteristics of Memory Systems 2.

Similar presentations


Presentation on theme: "Advanced Computer Architecture Cache Memory 1. Characteristics of Memory Systems 2."— Presentation transcript:

1 Advanced Computer Architecture Cache Memory 1

2 Characteristics of Memory Systems 2

3 Memory Hierarchy 3

4 Locality of Reference During the course of the execution of a program, memory references tend to cluster 4

5 Cache and Main Memory 5

6 6

7 7

8 Cache Design 8

9 9

10 Cache Memory 10

11 ProcessorType Year of Introduction L1 cacheL2 cacheL3 cache IBM 360/85Mainframe196816 to 32 KB—— PDP-11/70Minicomputer19751 KB—— VAX 11/780Minicomputer197816 KB—— IBM 3033Mainframe197864 KB—— IBM 3090Mainframe1985128 to 256 KB—— Intel 80486PC19898 KB—— PentiumPC19938 KB/8 KB256 to 512 KB— PowerPC 601PC199332 KB—— PowerPC 620PC199632 KB/32 KB—— PowerPC G4PC/server199932 KB/32 KB256 KB to 1 MB2 MB IBM S/390 G4Mainframe199732 KB256 KB2 MB IBM S/390 G6Mainframe1999256 KB8 MB— Pentium 4PC/server20008 KB/8 KB256 KB— IBM SP High-end server/ supercomputer 200064 KB/32 KB8 MB— CRAY MTA b Supercomputer20008 KB2 MB— ItaniumPC/server200116 KB/16 KB96 KB4 MB SGI Origin 2001High-end server200132 KB/32 KB4 MB— Itanium 2PC/server200232 KB256 KB6 MB IBM POWER5High-end server200364 KB1.9 MB36 MB CRAY XD-1Supercomputer200464 KB/64 KB1MB— 11

12 Direct Mapping 12

13 13

14 Associative Mapping 14

15 15

16 Set Associative Mapping 16

17 17

18 18

19 19

20 20

21 21

22 22

23 Intel Cache Evolution ProblemSolution Processor on which feature first appears External memory slower than the system bus. Add external cache using faster memory technology. 386 Increased processor speed results in external bus becoming a bottleneck for cache access. Move external cache on-chip, operating at the same speed as the processor. 486 Internal cache is rather small, due to limited space on chip Add external L2 cache using faster technology than main memory 486 Contention occurs when both the Instruction Prefetcher and the Execution Unit simultaneously require access to the cache. In that case, the Prefetcher is stalled while the Execution Unit’s data access takes place. Create separate data and instruction caches. Pentium Increased processor speed results in external bus becoming a bottleneck for L2 cache access. Create separate back-side bus that runs at higher speed than the main (front-side) external bus. The BSB is dedicated to the L2 cache. Pentium Pro Move L2 cache on to the processor chip. Pentium II Some applications deal with massive databases and must have rapid access to large amounts of data. The on-chip caches are too small. Add external L3 cache.Pentium III Move L3 cache on-chip.Pentium 4 23

24 24

25 ARM Cache and Write Buffer Organization 25


Download ppt "Advanced Computer Architecture Cache Memory 1. Characteristics of Memory Systems 2."

Similar presentations


Ads by Google