Académique Documents
Professionnel Documents
Culture Documents
By
Scheme of Presentation
Overview of Main Memory
SRAM, DRAM
64MB DRAM Logical Organization Improved Architectures of DRAM for Performance Enhancement
SDRAM (Synchronous DRAM) RDRAM (Rambus DRAM) DDR (Double Data Rate DRAM)
Memory Hierarchy
Regs Instructions, Operands L1 Cache Inside CPU
Upper Level
Faster
Virtual Memory
Bandwidth (the number of bytes read or written per unit time): I/O & Large Block Miss Penalty (L2)
Memory Background: Static RAM (SRAM) Six transistors in cross connected fashion
Provides regular AND inverted outputs Implemented in CMOS process
. . .
Bit Line
Sense Amp
Static RAM
Bits stored as on/off switches, uses digital flip-flops No charges to leak No refreshing needed when powered More complex construction Larger per bit More expensive Does not need refresh circuits Faster Cache
Dynamic RAM
Bits stored as charge in capacitors Essentially analogue
Level of charge determines value
Charges leak Need refreshing even when powered Simpler construction Smaller per bit Less expensive Need refresh circuits Slower Main memory
SRAM v DRAM
Both volatile
Power needed to preserve data
Dynamic cell
Simpler to build, smaller More dense Less expensive Needs refresh Larger memory units
Static
Faster Cache
Programmable (once)
PROM Needs special equipment to program
Read mostly
Erasable Programmable (EPROM)
Erased by UV
Flash memory
Erase whole memory electrically
Packaging
RAMBUS (contd)
Adopted by Intel for Pentium & Itanium Main competitor to SDRAM Vertical package all pins on one side Data exchange over 28 wires < cm long Bus addresses up to 320 RDRAM chips at 1.6Gbps Asynchronous block protocol
480ns access time Then 1.6 Gbps
RAMBUS Bank
SIMM is an acronym for Single Inline Memory Module DIMM is an acronym for Dual Inline Memory Module. RIMM is an acronym for Rambus Inline Memory Module
Registers
Cache
Instr. Operands prog./compiler Cache Blocks Memory Pages Disk Files Tape
1-8 bytes
Main Memory
Disk
OS 512-4K bytes
Tape
user/operator Mbytes
Larger
Lower Level
CPU
Performance
100
1 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000
Time
Temporal locality: recently accessed items are likely to be accessed in the near future Keep them close to the processor Spatial locality: items whose addresses are near one another tend to be referenced close together in time Move blocks consisted of contiguous words to the upper level
Virtual memory divides physical memory into blocks and allocate them to different processes
Allows available physical memory to be very well utilized Exploits memory hierarchy to keep average access time low
B A C