Chapter 9 เทคโนโลยีหน่วยความจำ Memory Technology

Preview:

DESCRIPTION

Chapter 9 เทคโนโลยีหน่วยความจำ Memory Technology. เนื้อหา. โครงสร้างของหน่วยความจำ หน่วยความจำแคชในไมโครโพรเซสเซอร์ การออกแบบหน่วยความจำแคชแบบต่างๆ - Direct mappe - Fully associative - Set associative. Technology Trend. CapacitySpeed Logic :2x in 3 years2x in 3 years - PowerPoint PPT Presentation

Citation preview

Computer System Design

By Wannarat Suntiamorntatwannarat@coe.psu.ac.th

240-334

August 20, 2003

240-334 Computer System Design Chapter 9 - Memory Technology 2

9Chapterเทคโนโลยหีน่วยความจำา

Memory Technology

240-334 Computer System Design Chapter 9 - Memory Technology 3

เน้ือหา

โครงสรา้งของหน่วยความจำาหน่วยความจำาแคชในไมโครโพรเซสเซอร์การออกแบบหน่วยความจำาแคชแบบต่างๆ- Direct mappe- Fully associative- Set associative

240-334 Computer System Design Chapter 9 - Memory Technology 4

Technology TrendCapacity Speed

Logic : 2x in 3 years 2x in 3 years

DRAM :4x in 3 years 2x in 10 years

Disk : 4x in 3 years 2x in 10 years

240-334 Computer System Design Chapter 9 - Memory Technology 5

Processor-DRAM memory Gap

240-334 Computer System Design Chapter 9 - Memory Technology 6

Expanded of Memory System

240-334 Computer System Design Chapter 9 - Memory Technology 7

Hierarchy of Modern computer

240-334 Computer System Design Chapter 9 - Memory Technology 8

How hierarchy manage?

Registers <--> Memory by compiler

Cache <--> Memory by Hardware

Memory <--> Disks by Hardware/OS, programmer (files)

240-334 Computer System Design Chapter 9 - Memory Technology 9

Logic Diagram of a Typical SRAM

240-334 Computer System Design Chapter 9 - Memory Technology 10

Typical of SRAM Timing

240-334 Computer System Design Chapter 9 - Memory Technology 11

Classical DRAM Organization

240-334 Computer System Design Chapter 9 - Memory Technology 12

Logic Diagram of a Typical DRAM

240-334 Computer System Design Chapter 9 - Memory Technology 13

Art of Memory Design

240-334 Computer System Design Chapter 9 - Memory Technology 14

1 KB Direct Mapped Cache with 32 B Blocks

240-334 Computer System Design Chapter 9 - Memory Technology 15

Example : Fully Associative

240-334 Computer System Design Chapter 9 - Memory Technology 16

A Two-way Set Associative Cache

240-334 Computer System Design Chapter 9 - Memory Technology 17

Disadvantage of Set Associative Cache

240-334 Computer System Design Chapter 9 - Memory Technology 18

How do you Design Cache?

240-334 Computer System Design Chapter 9 - Memory Technology 19

1 KB Direct mapped Cache, 32B blocks

240-334 Computer System Design Chapter 9 - Memory Technology 20

Improvement of Cache

Reduce Miss rate Reduce Miss penalty Reduce time to hit in cache

240-334 Computer System Design Chapter 9 - Memory Technology 21

Where can a block be placed

in the upper level?

240-334 Computer System Design Chapter 9 - Memory Technology 22

Example

240-334 Computer System Design Chapter 9 - Memory Technology 23

จบ บทท่ี 9

Recommended