Chapter 6 Memory Linda Null, Julia Lobur.

Slides:



Advertisements
Similar presentations
Appendix B. Memory Hierarchy CSCI/ EENG – W01 Computer Architecture 1 Dr. Babak Beheshti Slides based on the PowerPoint Presentations created by.
Advertisements

Virtual Memory. Hierarchy Cache Memory : Provide invisible speedup to main memory.
CSC 4250 Computer Architectures December 8, 2006 Chapter 5. Memory Hierarchy.
1 Memory Systems Virtual Memory Lecture 25 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007.
Spring 2003CSE P5481 Introduction Why memory subsystem design is important CPU speeds increase 55% per year DRAM speeds increase 3% per year rate of increase.
Memory Organization.
CDA 3103 Computer Organization Review Instructor: Hao Zheng Dept. Comp. Sci & Eng. USF.
©UCB CS 161 Ch 7: Memory Hierarchy LECTURE 24 Instructor: L.N. Bhuyan
Figure Figure 18-1 part 1 Figure 18-1 part 2.
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
Lecture 21 Last lecture Today’s lecture Cache Memory Virtual memory
CMP 301A Computer Architecture 1 Lecture 4. Outline zVirtual memory y Terminology y Page Table y Translation Lookaside Buffer (TLB)
Data Representation in Computer Systems
TCP/IP Protocol Suite 1 Chapter 17 Upon completion you will be able to: Domain Name System: DNS Understand how the DNS is organized Know the domains in.
Cosc 2150: Computer Organization Chapter 6, Part 2 Virtual Memory.
IT253: Computer Organization
Damian Gordon. HARD DISK (MAIN MEMORY) (SECONDARY MEMORY) 2 CACHE 1.
Virtual Memory. DRAM as cache What about programs larger than DRAM? When we run multiple programs, all must fit in DRAM! Add another larger, slower level.
Virtual Memory. Virtual Memory: Topics Why virtual memory? Virtual to physical address translation Page Table Translation Lookaside Buffer (TLB)
Chapter 91 Logical Address in Paging  Page size always chosen as a power of 2.  Example: if 16 bit addresses are used and page size = 1K, we need 10.
Multilevel Caches Microprocessors are getting faster and including a small high speed cache on the same chip.
Chapter 5 Computer Systems Organization. Levels of Abstraction – Figure 5.1e The Concept of Abstraction.
Virtual Memory Review Goal: give illusion of a large memory Allow many processes to share single memory Strategy Break physical memory up into blocks (pages)
For each of these, where could the data be and how would we find it? TLB hit – cache or physical memory TLB miss – cache, memory, or disk Virtual memory.
3/1/2002CSE Virtual Memory Virtual Memory CPU On-chip cache Off-chip cache DRAM memory Disk memory Note: Some of the material in this lecture are.
Chapter 9 Memory Organization. 9.1 Hierarchical Memory Systems Figure 9.1.
Memory Management & Virtual Memory. Hierarchy Cache Memory : Provide invisible speedup to main memory.
Virtual Memory (Section 9.3). The Need For Virtual Memory Many computers don’t have enough memory in RAM to accommodate all the programs a user wants.
CS161 – Design and Architecture of Computer
Memory: Page Table Structure
Virtual Memory Chapter 7.4.
Cache Memory.
ECE232: Hardware Organization and Design
CS161 – Design and Architecture of Computer
Memory and cache CPU Memory I/O.
Ramya Kandasamy CS 147 Section 3
Memory Hierarchy Virtual Memory, Address Translation
CS 286: Memory Paging and Virtual Memory
Figure 11.1 A basic personal computer system
Part V Memory System Design
Memory Management 11/17/2018 A. Berrached:CS4315:UHD.
Paging Lecture November 2018.
Memory and cache CPU Memory I/O.
Virtual Memory S04, Recitation, Section A
FIGURE 12-1 Memory Hierarchy
Chapter 5 Memory CSE 820.
Computer Architecture
Page that info back into your memory!
Lecture 22: Cache Hierarchies, Memory
Computer System Design (Processor Design)
Direct Mapping.
Module IV Memory Organization.
Memory Hierarchy Memory: hierarchy of components of various speeds and capacities Hierarchy driven by cost and performance In early days Primary memory.
10/16: Lecture Topics Memory problem Memory Solution: Caches Locality
Chap. 12 Memory Organization
MARIE: An Introduction to a Simple Computer
Cache Memory.
Memory Systems CH008.
Introduction to the Pentium’s support for “virtual” memory
A Closer Look at Instruction Set Architectures
Computer System Design Lecture 11
Domain Name System: DNS
Fundamentals of Computing: Computer Architecture
4.3 Virtual Memory.
Copyright © 2013 Elsevier Inc. All rights reserved.
Memory Management & Virtual Memory
Presentation transcript:

Chapter 6 Memory Linda Null, Julia Lobur

Figure 06. UN01: "RAM/abr. /: Rarely Adequate Memory Figure 06.UN01: "RAM/abr./: Rarely Adequate Memory. because the more memory a computer has, the faster it can produce error messages." - Anonymous Anonymous

Figure 06. UN02: "640k [of memory] ought to be enough for anybody Figure 06.UN02: "640k [of memory] ought to be enough for anybody." - Anonymous CREDIT UPDATE NEEDED: Anonymous

Figure 06.F01: The Memory Hierarchy -

Figure 06.F02: Direct Mapping of Main Memory Blocks to Cache Blocks -

Figure 06.F03: The Format of a Main Memory Address Using Direct Mapping -

Figure 06.F04: Diagrams for Example 6.1 -

Figure 06.F05: The Main Memory Address Format for Example 6.2 -

Figure 06.F06: The Memory from Example 6.3 Mapped to Cache -

Figure 06.F07: The Main Memory Address Format for Example 6.3 -

Figure 06.F08: The Main Memory Address 9 = 1001₂ Split into Fields -

Figure 06.F09: Associative Cache -

Figure 06.F10: The Main Memory Address Format for Associative Mapping -

Figure 06.F11: A 2-Way Set Associative Cache

Figure 06.F12: Format for Set Associative Mapping for Example 6.5 -

Figure 06.F13: Direct Mapped Memory Format for Example 6.6 -

Figure 06. F14: The Address 0x326A0 from Example 6 Figure 06.F14: The Address 0x326A0 from Example 6.6 Divided into Fields for Direct Mapping -

Figure 06.F15: Fully Associative Memory Format for Example 6.6 -

Figure 06.F16: 4-Set Associative Mapped Memory Format for Example 6.6

Figure 06. F17: The Address 0x326A0 from Example 6 Figure 06.F17: The Address 0x326A0 from Example 6.6 Divided into Fields for Set Associative Mapping -

Figure 06.F18: Current State Using Paging and Associated Page Table -

Figure 06.F19: Format for an 8-Bit Virtual Address with 25 = 32 Byte Page Size

Figure 06.F20: Format for Virtual Address 000011012 = 0x0D -

Figure 06.F21: Format for Physical Address 10011012 = 4D16 -

Figure 06.F22: A Small Memory from Example 6.8 Using Paging -

Figure 06.F23: A Larger Memory Example Using Paging -

Figure 06.F24: Format for Virtual Address 0x1211232A -

Figure 06.F25: Format for physical address 0x3F00F32A -

Figure 06.F26: Current State of the TLB for Figure 6.23 -

Figure 06.F27: Using the TLB -

Figure 06.F28: Putting It All Together: The TLB, Page Table, Cache, and Main Memory -

Figure 06.F29: Pentium Memory Hierarchy -