Lecture 17 Final Review Prof. Mike Schulte Computer Architecture ECE 201.

Slides:



Advertisements
Similar presentations
Virtual Memory In this lecture, slides from lecture 16 from the course Computer Architecture ECE 201 by Professor Mike Schulte are used with permission.
Advertisements

Lecture 19: Cache Basics Today’s topics: Out-of-order execution
1 Lecture 13: Cache and Virtual Memroy Review Cache optimization approaches, cache miss classification, Adapted from UCB CS252 S01.
Lecture 8: Memory Hierarchy Cache Performance Kai Bu
CSIE30300 Computer Architecture Unit 10: Virtual Memory Hsin-Chou Chi [Adapted from material by and
1 Lecture 20: Cache Hierarchies, Virtual Memory Today’s topics:  Cache hierarchies  Virtual memory Reminder:  Assignment 8 will be posted soon (due.
CSCE 212 Chapter 7 Memory Hierarchy Instructor: Jason D. Bakos.
1 Lecture 20 – Caching and Virtual Memory  2004 Morgan Kaufmann Publishers Lecture 20 Caches and Virtual Memory.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Computer Organization Lecture 23 - Course.
Review CPSC 321 Andreas Klappenecker Announcements Tuesday, November 30, midterm exam.
1 Chapter Seven Large and Fast: Exploiting Memory Hierarchy.
331 Lec20.1Fall :332:331 Computer Architecture and Assembly Language Fall 2003 Week 13 Basics of Cache [Adapted from Dave Patterson’s UCB CS152.
Csci4203/ece43631 Review Quiz. 1)It is less expensive 2)It is usually faster 3)Its average CPI is smaller 4)It allows a faster clock rate 5)It has a simpler.
ENEE350 Ankur Srivastava University of Maryland, College Park Based on Slides from Mary Jane Irwin ( )
331 Lec20.1Spring :332:331 Computer Architecture and Assembly Language Spring 2005 Week 13 Basics of Cache [Adapted from Dave Patterson’s UCB CS152.
Review for Midterm 2 CPSC 321 Computer Architecture Andreas Klappenecker.
7/2/ _23 1 Pipelining ECE-445 Computer Organization Dr. Ron Hayne Electrical and Computer Engineering.
Lecture 41: Review Session #3 Reminders –Office hours during final week TA as usual (Tuesday & Thursday 12:50pm-2:50pm) Hassan: Wednesday 1pm to 4pm or.
©UCB CS 161 Ch 7: Memory Hierarchy LECTURE 24 Instructor: L.N. Bhuyan
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Computer Organization Memory Hierarchy 2.
CMPE 421 Parallel Computer Architecture
CSE431 L22 TLBs.1Irwin, PSU, 2005 CSE 431 Computer Architecture Fall 2005 Lecture 22. Virtual Memory Hardware Support Mary Jane Irwin (
Lecture 19: Virtual Memory
Lecture 10 Memory Hierarchy and Cache Design Computer Architecture COE 501.
The Memory Hierarchy 21/05/2009Lecture 32_CA&O_Engr Umbreen Sabir.
CS1104 – Computer Organization PART 2: Computer Architecture Lecture 12 Overview and Concluding Remarks.
Virtual Memory Expanding Memory Multiple Concurrent Processes.
CSIE30300 Computer Architecture Unit 08: Cache Hsin-Chou Chi [Adapted from material by and
1  1998 Morgan Kaufmann Publishers Recap: Memory Hierarchy of a Modern Computer System By taking advantage of the principle of locality: –Present the.
Virtual Memory. Virtual Memory: Topics Why virtual memory? Virtual to physical address translation Page Table Translation Lookaside Buffer (TLB)
Lecture 08: Memory Hierarchy Cache Performance Kai Bu
1 Chapter Seven. 2 Users want large and fast memories! SRAM access times are ns at cost of $100 to $250 per Mbyte. DRAM access times are ns.
Multilevel Caches Microprocessors are getting faster and including a small high speed cache on the same chip.
Nov. 15, 2000Systems Architecture II1 Machine Organization (CS 570) Lecture 8: Memory Hierarchy Design * Jeremy R. Johnson Wed. Nov. 15, 2000 *This lecture.
CS.305 Computer Architecture Memory: Caches Adapted from Computer Organization and Design, Patterson & Hennessy, © 2005, and from slides kindly made available.
1 Chapter Seven CACHE MEMORY AND VIRTUAL MEMORY. 2 SRAM: –value is stored on a pair of inverting gates –very fast but takes up more space than DRAM (4.
1 Introduction ELG 6158 Digital Systems Architecture Miodrag Bolic.
1 Chapter Seven. 2 Users want large and fast memories! SRAM access times are ns at cost of $100 to $250 per Mbyte. DRAM access times are ns.
1  1998 Morgan Kaufmann Publishers Chapter Seven.
Final Review Prof. Mike Schulte Advanced Computer Architecture ECE 401.
1 Lecture: Virtual Memory Topics: virtual memory, TLB/cache access (Sections 2.2)
Summary of caches: The Principle of Locality: –Program likely to access a relatively small portion of the address space at any instant of time. Temporal.
1 Chapter Seven. 2 SRAM: –value is stored on a pair of inverting gates –very fast but takes up more space than DRAM (4 to 6 transistors) DRAM: –value.
Page 1 Computer Architecture and Organization 55:035 Final Exam Review Spring 2011.
COSC 3330/6308 Second Review Session Fall Instruction Timings For each of the following MIPS instructions, check the cycles that each instruction.
EECS 370 Discussion 1 Calvin and Hobbes by Bill Watterson.
High Performance Computing1 High Performance Computing (CS 680) Lecture 2a: Overview of High Performance Processors * Jeremy R. Johnson *This lecture was.
1 Lecture 20: OOO, Memory Hierarchy Today’s topics:  Out-of-order execution  Cache basics.
Soner Onder Michigan Technological University
ECE232: Hardware Organization and Design
CS2100 Computer Organization
Lecture 21: Memory Hierarchy
Lecture 14 Virtual Memory and the Alpha Memory Hierarchy
Part V Memory System Design
Lecture 23: Cache, Memory, Virtual Memory
FIGURE 12-1 Memory Hierarchy
Chapter 5 Memory CSE 820.
Lecture 08: Memory Hierarchy Cache Performance
Lecture 22: Cache Hierarchies, Memory
Lecture 20: OOO, Memory Hierarchy
Lecture 20: OOO, Memory Hierarchy
TLB Performance Seung Ki Lee.
MIPS Microarchitecture Multicycle Processor
Virtual Memory Overcoming main memory size limitation
Lecture 21: Memory Hierarchy
Lecture 7 Memory Hierarchy and Cache Design
Introduction to Computer Systems Engineering
10/18: Lecture Topics Using spatial locality
Presentation transcript:

Lecture 17 Final Review Prof. Mike Schulte Computer Architecture ECE 201

Final Format 3 hour exam. 4:00 to 7:00 PM in PL101 on 5/10/01. Open book, open note 20% on chapters 1-4, 80% on chapters 5-7 –stuff from chapters 1-4 in context of chapters problems with multiple parts Similar in format to the midterm and the practice final

Things to Review Homeworks assignments, especially 3-5 Lecture notes, especially 8 to 16 Book, especially chapters 5-7 Sample final and practice final Your own notes The project

Chapter 5: Processor Design Know elemenents used for datapath design –registers, register file, memory, multiplexors, adders, ALUs, etc. Single cycle and multicycle implementations –Construct a datapath and control for a specific set of instructions –Modify the datapath and control to add instructions –Knowing what parts of the datapath are active for various instructions –Single cycle vs. multicycle processor design »how do they differ? –Determining and comparing performance –Exceptions and exception handling

Chapter 6: Pipelining Basic pipeline performance and effects of hazards on performance Pipelined version of the MIPS processor How does pipelined processor design differ from multiple cycle processor design? Pipeline harzards –Structural hazards –Data hazards –Control hazards –Drawing pipeline diagrams to identify hazards and stalls add $5, $7, $1 add $6, $3, $5, sw $6, 200($0)

Chapter 6: Pipelining Dealing with hazards –Pipeline stalls –Forwarding –Duplication of resources –Branch prediction –Delayed branches –Reordering instructions –Loop unrolling Superscalar and superpiplining in MIPS What are the advantages and disadvantages of superscalar and superpipelining? What are the effects of increasing the pipeline depth?

Chapter 7: Memory Hierarchy Temporal and spatial locality - examples Concepts of memory hierarchies –Memory close to the processor is faster, smaller, and more expensive –Take advantage of locality Basics of caches –How to access a cache, hit or miss –Determining the size of the byte offset, index, and tags –Determining total number of bits in the cache –Drawing diagrams of different types of caches Improving cache performance –Increasing the size of the cache –Increasing the block size –Increasing associativity –Adding a second level cache

Chapter 7: Memory Hierarchy The four Q's of memory hierarchies –Where can a block be placed? –How is a block found? –Which block should be replaced on a miss? (LRU vs. Random) –What happens on a write? (write thorugh vs. write back) The three C's of memory misses –Compulsory misses : first access to a block –Capacity misses : cache cannot contain all the blocks –Conflict misses : due to limited associativity Memory performance and determining the average memory access time

Chapter 7: Memory Hierarchies Virtual Memory –Benefits of virtual memory – Address tranlation processes: virtual address -> physical address –Page tables –Translation lookaside buffers –Handling page faults –Virtually vs. physcially addressed caches