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

Slides:



Advertisements
Similar presentations
Cache Heng Sovannarith
Advertisements

Chapter 6 Computer Architecture
Computer Memory System
Computer Organization and Architecture
Processor history / DX/SX SX/DX Pentium 1997 Pentium MMX
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 4: Computer Performance.
Associative Cache Mapping A main memory block can load into any line of cache Memory address is interpreted as tag and word (or sub-address in line) Tag.
Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 7: CPU and Memory (3)
Memory Cache Internal External
TK 2123 COMPUTER ORGANISATION & ARCHITECTURE
1 CS402 PPP # 1 Computer Architecture Evolution. 2 John Von Neuman original concept.
TK6123: COMPUTER ORGANISATION & ARCHITECTURE Lecture 8: CPU and Memory (3) 1 Prepared By: Associate Prof. Dr Masri Ayob.
Cache memory Direct Cache Memory Associate Cache Memory Set Associative Cache Memory.
Computer performance.
Information and Communication Technology Fundamentals Credits Hours: 2+1 Instructor: Ayesha Bint Saleem.
Semiconductor Memory 1970 Fairchild Size of a single core –i.e. 1 bit of magnetic core storage Holds 256 bits Non-destructive read Much faster than core.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 4 Cache Memory.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Computer Organization & Assembly Language
Cache Memory. Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation.
Led the WWII research group that broke the code for the Enigma machine proposed a simple abstract universal machine model for defining computability devised.
Pre-Pentium Intel Processors /
High Performance Computing Processors Felix Noble Mirayma V. Rodriguez Agnes Velez Electric and Computer Engineer Department August 25, 2004.
1 CSC 101 Introduction to Computing Lecture 11 Dr. Iftikhar Azim Niaz 1.
Computer Architecture Lecture 3 Cache Memory. Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics.
03-04 Cache Memory Computer Organization. Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics.
Cache Memory.
What is cache memory?. Cache Cache is faster type of memory than is found in main memory. In other words, it takes less time to access something in cache.
Computer Architecture Lecture 8: Memory hierarchy. Cache memory Piotr Bilski.
1 CACHE MEMORY 1. 2 Cache Memory ■ Small amount of fast memory, expensive memory ■ Sits between normal main memory (slower) and CPU ■ May be located on.
Memory Hierarchy. Hierarchy List Registers L1 Cache L2 Cache Main memory Disk cache Disk Optical Tape.
Chapter 4: MEMORY Cache Memory.
Lecture#15. Cache Function The data that is stored within a cache might be values that have been computed earlier or duplicates of original values that.
Chapter 5: Computer Systems Design and Organization Dr Mohamed Menacer Taibah University
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
1 Chapter 5 Cache Memory Chapter Five : Cache Memory Memory Processor Input/Output.
Chapter 4 Cache Memory. Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation.
Characteristics Location Capacity Unit of transfer Access method Performance Physical type Physical characteristics Organisation.
Lecture # 10 Processors Microcomputer Processors.
William Stallings Computer Organization and Architecture 6th Edition
Кеш меморије Приципи рада кеш меморија Величина кеша
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
Computer Organization and Architecture William Stallings 8th Edition
William Stallings Computer Organization and Architecture 8th Edition
Yunju Baek 2006 spring Chapter 4 Cache Memory Yunju Baek 2006 spring.
HISTORY OF MICROPROCESSORS
William Stallings Computer Organization and Architecture 7th Edition
HISTORY OF MICROPROCESSORS
Cache memory Direct Cache Memory Associate Cache Memory
Module IV Memory Organization.
Computer Architecture
Computer Architecture
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Advanced Computer Architecture Cache Memory 1

Characteristics of Memory Systems 2

Memory Hierarchy 3

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

Cache and Main Memory 5

6

7

Cache Design 8

9

Cache Memory 10

ProcessorType Year of Introduction L1 cacheL2 cacheL3 cache IBM 360/85Mainframe to 32 KB—— PDP-11/70Minicomputer19751 KB—— VAX 11/780Minicomputer KB—— IBM 3033Mainframe KB—— IBM 3090Mainframe to 256 KB—— Intel 80486PC19898 KB—— PentiumPC19938 KB/8 KB256 to 512 KB— PowerPC 601PC KB—— PowerPC 620PC KB/32 KB—— PowerPC G4PC/server KB/32 KB256 KB to 1 MB2 MB IBM S/390 G4Mainframe KB256 KB2 MB IBM S/390 G6Mainframe KB8 MB— Pentium 4PC/server20008 KB/8 KB256 KB— IBM SP High-end server/ supercomputer KB/32 KB8 MB— CRAY MTA b Supercomputer20008 KB2 MB— ItaniumPC/server KB/16 KB96 KB4 MB SGI Origin 2001High-end server KB/32 KB4 MB— Itanium 2PC/server KB256 KB6 MB IBM POWER5High-end server KB1.9 MB36 MB CRAY XD-1Supercomputer KB/64 KB1MB— 11

Direct Mapping 12

13

Associative Mapping 14

15

Set Associative Mapping 16

17

18

19

20

21

22

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

ARM Cache and Write Buffer Organization 25