chapter7-MemoryHierarchy-partA-cache_organization-Fall2008-final

Chapter7-MemoryHierarchy-partA-cache_organization-Fall2008-final

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Processor Processor-Memory (DRAM) Memory (DRAM) ∆ιαφορά επίδοσης μProc 60%/yr ance 10000 form a 100 1000 Processor-Memory Performance Gap: (grows 50% / year) Per f 10 DRAM 7%/yr. 1980 1981 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 1982 1 2001 2002 2003 2004 2005 [email protected] 2008-2009 2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
εραρχία μνήμης Ιεραρχία Part of The On-chip CPU Datapath - 56 Registers Όσο απομακρυνόμαστε από τη CPU : Μικρότερο κόστος /Bit 16 256 One or more levels (Static RAM): Level 1: On-chip 16-64K Level 2: On or Off-chip 128-512K Registers Μεγαλύτερη χωρητικότητα Μεγαλύτερος χρόνος ρόσβασης αθυστέρηση Lf f p K Level 3: Off-chip 128K-8M Cache ain Memory πρόσβασης - καθυστέρηση Χαμηλότερος ρυθμός εξόδου Dynamic RAM (DRAM) M G Main Memory Magnetic Disc 16M-16G Interface: SCSI, RAID, DE 1394 Optical Disk or Magnetic Tape IDE, 1394 4G-100G [email protected] 2008-2009
Background image of page 2
Παράδειγμα Ιεραρχίας Μνήμης ( με 2 επίπεδα cache ) Μεγαλύτερη Ταχύτητα Μεγαλύτερη Χωρητικότητα i t l Processor Control Virtual Memory, Secondary Storage R Main emory Second evel Tertiary Storage (Tape) n- hip Datapath g (Disk) egisters Memory (DRAM) Level Cache (SRAM) L 2 On Chip Level One Cache L 1 1-5ns 10ms Ταχύτητα : 10ns 50ns KB GB έγεθος 56KB GB 10sec B 30ns MB [email protected] 2008-2009 <1KB >1GB Μέγεθος : <256KB <4GB TB <8MB 150GB/s 10MB/s Bandwidth : 50GB/s 4GB/s 25GB/s
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ο μοντέλο της Ιεραρχίας Μνήμης Το Disk memory μέγεθος : 500bytes 64KB 512MB 100GB ταχύτητα : 0,25ns 1ns 100ns 5ms [email protected] 2008-2009
Background image of page 4
Παράδειγμα Ιεραρχίας μνήμης Digital PWS 600 au Digital PWS 600 au - Alpha 21164 CPU Alpha 21164 CPU – 600MHz 600MHz CPU evel apacity Throughput Latency 32 registers Level Capacity Register 512B 24GB/sec 2ns 1000W L1 cache 2000W L2 cache L1 cache 8KB 16GB/sec 2ns L2 cache 96KB 8GB/sec 6ns 12000W L2 cache 0.5MW ext.L3 cache L3 cache 4MB 888MB/sec 24ns 64MW main memory W Disk space Main Mem 512MB 1GB/sec 112ns [email protected] 2008-2009 1GW Disk space
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Τυπικές Αρχιτεκτονικές IBM Power 3: • L1 = 64 KB, 128-way set associative • L2 = 4 MB, direct mapped, line size = 128, write back Compaq EV6 (Alpha 21264): L1 = 64 KB 2 ay associative line size= 32 • L1 = 64 KB, 2-way associative, line size= 32 • L2 = 4 MB (or larger), direct mapped, line size = 64 P PA: o L2 HP PA: no L2 • PA8500, PA8600: L1 = 1.5 MB • PA8700: L1 = 2.25 MB AMD Athlon: L1 = 64 KB, L2 = 256 KB Intel Pentium 4: L1 = 8 KB, L2 = 256 KB Intel Itanium: • L1 = 16 KB, 4-way associative [email protected] 2008-2009 • L2 = 96 KB, 6-way associative • L3 = off chip, size varies
Background image of page 6
Γιατί είναι ωφέλιμη η Ιεραρχία Μνήμης ; Τοπικότητα δεδομένων (data locality data locality) Κατά κανόνα τα προγράμματα προσπελαύνουν ένα μικρό μόνο μέρος του συνόλου των διευθύνσεων ( εντολές / δεδομένα ) κατά την εκτέλεση ενός υγκεκριμένου τμήματός τους
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/02/2009 for the course G 001 taught by Professor Shmmygr during the Spring '07 term at National Technical University of Athens, Athens.

Page1 / 78

Chapter7-MemoryHierarchy-partA-cache_organization-Fall2008-final

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online