Part V Memory System Design

Slides:



Advertisements
Similar presentations
Faculty of Information Technology Department of Computer Science Computer Organization Chapter 7 External Memory Mohammad Sharaf.
Advertisements

CSE431 Chapter 6A.1Irwin, PSU, 2008 Chapter 6A: Disk Systems Mary Jane Irwin ( ) [Adapted from Computer Organization.
Nov. 2014Computer Architecture, Memory System DesignSlide 1 Part V Memory System Design.
CPE 442 io.1 Introduction To Computer Architecture CpE 442 I/O Systems.
Feb. 2011Computer Architecture, Memory System DesignSlide 1 Part V Memory System Design.
Storage. The Memory Hierarchy fastest, but small under a microsecond, random access, perhaps 2Gb Typically magnetic disks, magneto­ optical (erasable),
CS4432: Database Systems II Data Storage - Lecture 2 (Sections 13.1 – 13.3) Elke A. Rundensteiner.
1 Advanced Database Technology February 12, 2004 DATA STORAGE (Lecture based on [GUW ], [Sanders03, ], and [MaheshwariZeh03, ])
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
13.2 Disks Mechanics of Disks Presented by Chao-Hsin Shih Feb 21, 2011.
1 Lecture 26: Storage Systems Topics: Storage Systems (Chapter 6), other innovations Final exam stats:  Highest: 95  Mean: 70, Median: 73  Toughest.
1 Storage Hierarchy Cache Main Memory Virtual Memory File System Tertiary Storage Programs DBMS Capacity & Cost Secondary Storage.
1 CS143: Disks and Files. 2 System Architecture CPU Main Memory Disk Controller... Disk Word (1B – 64B) ~ x GB/sec Block (512B – 50KB) ~ x MB/sec System.
SECTIONS 13.1 – 13.3 Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin SECONDARY STORAGE MANAGEMENT.
CS4432: Database Systems II Lecture 2 Timothy Sutherland.
SECTIONS 13.1 – 13.3 Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin SECONDARY STORAGE MANAGEMENT.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
1 Secondary Storage Devices. 2 Content ►Secondary storage devices ►Organization of disks ►Organizing tracks by sector ►Organizing tracks by blocks ►Non-data.
1 Introduction to Computers Day 4. 2 Storage device A functional unit into which data can be –placed –retained(stored) –retrieved(accessed)
Introduction to Database Systems 1 The Storage Hierarchy and Magnetic Disks Storage Technology: Topic 1.
Distinguish between primary and secondary storage.
Computer Hardware. “ Copyright 2005 John Wiley & Sons Inc.” TG 12 Chapter Outline Introduction The Central Processing Unit Computer Memory Evolution of.
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
Storing Data On Your Computer Chapter 12, Exploring the Digital Domain.
1 Secondary Storage Management Submitted by: Sathya Anandan(ID:123)
Chapter 111 Chapter 11: Hardware (Slides by Hector Garcia-Molina,
Comp 335 – File Structures Why File Structures?. Goal of the Class To develop an understanding of the file I/O process. Software must be able to interact.
Disks Chapter 5 Thursday, April 5, Today’s Schedule Input/Output – Disks (Chapter 5.4)  Magnetic vs. Optical Disks  RAID levels and functions.
2.1 Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General.
Chapter 8 External Storage. Primary vs. Secondary Storage Primary storage: Main memory (RAM) Secondary Storage: Peripheral devices  Disk drives  Tape.
11.1Database System Concepts. 11.2Database System Concepts Now Something Different 1st part of the course: Application Oriented 2nd part of the course:
CS4432: Database Systems II Data Storage 1. Storage in DBMSs DBMSs manage large amounts of data How does a DBMS store and manage large amounts of data?
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
CS 101 – Sept. 28 Main vs. secondary memory Examples of secondary storage –Disk (direct access) Various types Disk geometry –Flash memory (random access)
1 Lecture 27: Disks Today’s topics:  Disk basics  RAID  Research topics.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
COSC 6340: Disks 1 Disks and Files DBMS stores information on (“hard”) disks. This has major implications for DBMS design! » READ: transfer data from disk.
Mar. 2006Computer Architecture, Memory System DesignSlide 1 Part V Memory System Design.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 25 I/O Systems May 2,
W4118 Operating Systems Instructor: Junfeng Yang.
1 Components of the Virtual Memory System  Arrows indicate what happens on a lw virtual address data physical address TLB page table memory cache disk.
File organization Secondary Storage Devices Lec#7 Presenter: Dr Emad Nabil.
CHAPTER 10: Computer Peripherals
APPENDIX A Hardware and Software Basics
Computer Architecture Principles Dr. Mike Frank
Chapter 2: Computer-System Structures
Module: Storage Systems
Database Management Systems (CS 564)
CS 554: Advanced Database System Notes 02: Hardware
Backing Store.
CPSC-608 Database Systems
Oracle SQL*Loader
Introduction to Computing
BUSINESS PLUG-IN B3 HARDWARE AND SOFTWARE BASICS
SEKUNDARNA MEMORIJA.
Disks and Files DBMS stores information on (“hard”) disks.
Lecture 11: DMBS Internals
Lecture 13 I/O.
Device Management Damian Gordon.
Lecture 9: Data Storage and IO Models
Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin
Storage in Computers I/O
Lecture 21: Storage Systems
Secondary Storage Devices
Input-output I/O is very much architecture/system dependent
Persistence: hard disk drive
1 BY Prof. S. DAS (PhD, UK). 2 CONTENTS Introduction RAM,ROM,PROM,EPROM Auxiliary Storage Devices-Magnetic Tape, Hard Disk, Floppy Disk Optical Disks:
Chapter 11: Mass-Storage Systems
CPS216: Advanced Database Systems Notes 04: Data Access from Disks
[Altinbuke, Walsh, Weatherspoon, Bala, Bracy, McKee, and Sirer]
Presentation transcript:

Part V Memory System Design Mar. 2007 Computer Architecture, Memory System Design

About This Presentation This presentation is intended to support the use of the textbook Computer Architecture: From Microprocessors to Supercomputers, Oxford University Press, 2005, ISBN 0-19-515455-X. It is updated regularly by the author as part of his teaching of the upper-division course ECE 154, Introduction to Computer Architecture, at the University of California, Santa Barbara. Instructors can use these slides freely in classroom teaching and for other educational purposes. Any other use is strictly prohibited. © Behrooz Parhami Edition Released Revised First July 2003 July 2004 July 2005 Mar. 2006 Mar. 2007 Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design V Memory System Design Design problem – We want a memory unit that: Can keep up with the CPU’s processing speed Has enough capacity for programs and data Is inexpensive, reliable, and energy-efficient Topics in This Part Chapter 17 Main Memory Concepts Chapter 18 Cache Memory Organization Chapter 19 Mass Memory Concepts Chapter 20 Virtual Memory and Paging Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design 19 Mass Memory Concepts Today’s main memory is huge, but still inadequate for all needs Magnetic disks provide extended and back-up storage Optical disks & disk arrays are other mass storage options Topics in This Chapter 19.1 Disk Memory Basics 19.2 Organizing Data on Disk 19.3 Disk Performance 19.4 Disk Caching 19.5 Disk Arrays and RAID 19.6 Other Types of Mass Memory Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design 19.1 Disk Memory Basics Fig. 19.1 Disk memory elements and key terms. Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design Disk Drives Typically 2 - 8 cm Typically 2-8 cm Comprehensive info about disk memory: http://www.storageview.com/guide/ Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design Access Time for a Disk The three components of disk access time. Disks that spin faster have a shorter average and worst-case access time. Mar. 2007 Computer Architecture, Memory System Design

Representative Magnetic Disks Table 19.1 Key attributes of three representative magnetic disks, from the highest capacity to the smallest physical size (ca. early 2003). [More detail (weight, dimensions, recording density, etc.) in textbook.] Manufacturer and Model Name Seagate Barracuda 180 Hitachi DK23DA IBM Microdrive Application domain Server Laptop Pocket device Capacity 180 GB 40 GB 1 GB Platters / Surfaces 12 / 24 2 / 4 1 / 2 Cylinders 24 247 33 067 7 167 Sectors per track, avg 604 591 140 Buffer size 16 MB 2 MB 1/8 MB Seek time, min,avg,max 1, 8, 17 ms 3, 13, 25 ms 1, 12, 19 ms Diameter 3.5 2.5 1.0 Rotation speed, rpm 7 200 4 200 3 600 Typical power 14.1 W 2.3 W 0.8 W   Mar. 2007 Computer Architecture, Memory System Design

19.2 Organizing Data on Disk Fig. 19.2 Magnetic recording along the tracks and the read/write head. Fig. 19.3 Logical numbering of sectors on several adjacent tracks. Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design 19.3 Disk Performance Seek time = a + b(c – 1) + b(c – 1)1/2 Average rotational latency = (30 / rpm) s = (30 000 / rpm) ms Fig. 19.4 Reducing average seek time and rotational latency by performing disk accesses out of order. Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design 19.4 Disk Caching Same idea as processor cache: bridge main-disk speed gap Read/write an entire track with each disk access: “Access one sector, get 100s free,” hit rate around 90% Disks listed in Table 19.1 have buffers from 1/8 to 16 MB Rotational latency eliminated; can start from any sector Need back-up power so as not to lose changes in disk cache (need it anyway for head retraction upon power loss) Placement options for disk cache In the disk controller: Suffers from bus and controller latencies even for a cache hit Closer to the CPU: Avoids latencies and allows for better utilization of space Intermediate or multilevel solutions Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design 19.5 Disk Arrays and RAID The need for high-capacity, high-throughput secondary (disk) memory Processor speed RAM size Disk I/O rate Number of disks Disk capacity 1 GIPS 1 GB 100 MB/s 1 100 GB 1 TIPS 1 TB 100 GB/s 1000 100 TB 100 1 PIPS 1 PB 100 TB/s 1 Million 100 PB 100 000 1 EIPS 1 EB 100 PB/s 1 Billion 100 EB 100 Million Amdahl’s rules of thumb for system balance 1 RAM byte for each IPS 1 I/O bit per sec for each IPS 100 disk bytes for each RAM byte Mar. 2007 Computer Architecture, Memory System Design

Redundant Array of Independent Disks (RAID) B C D P A  B  C  D  P = 0  B = A  C  D  P Fig. 19.5 RAID levels 0-6, with a simplified view of data organization. Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design RAID Product Examples IBM ESS Model 750 Mar. 2007 Computer Architecture, Memory System Design

19.6 Other Types of Mass Memory Fig. 3.12 Magnetic and optical disk memory units. Mar. 2007 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design Optical Disks Spiral, rather than concentric, tracks Fig. 19.6 Simplified view of recording format and access mechanism for data on a CD-ROM or DVD-ROM.   Mar. 2007 Computer Architecture, Memory System Design

Automated Tape Libraries Mar. 2007 Computer Architecture, Memory System Design