Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,

Slides:



Advertisements
Similar presentations
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
Advertisements

CS61C L13 I/O © UC Regents 1 CS 161 Chapter 8 - I/O Lecture 17.
Agenda Types of Storage Media Semiconductor ROM and RAM Magnetic Tapes, Floppy Disks, and Hard Disks Optical CS C446 Data Storage Technologies & Networks.
1 Devices: Magnetic Disks Sector Track Cylinder Head Platter Purpose: – Long-term, nonvolatile storage – Large, inexpensive, slow level in the storage.
Input/OutputCS510 Computer ArchitecturesLecture Lecture 16 Input and Output Devices and Systems.
CS 430 – Computer Architecture Disks
I/O Systems Processor Cache Memory - I/O Bus Main Memory I/O Controller Disk I/O Controller I/O Controller Graphics Network interrupts.
CS4432: Database Systems II Data Storage - Lecture 2 (Sections 13.1 – 13.3) Elke A. Rundensteiner.
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
CS61C L16 Disks © UC Regents 1 CS61C - Machine Structures Lecture 16 - Disks October 20, 2000 David Patterson
Review of Mem. HierarchyCSCE430/830 Review of Memory Hierarchy CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U.
ENGS 116 Lecture 171 Introduction to I/O Vincent Berk November 19, 2008 Reading for today: Sections 4.4 – 4.9 Reading for Monday: Sections 6.1 – 6.4 Reading.
CS61C L40 I/O: Disks (1) Garcia, Fall 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
DISK STORAGE IBM 305 RAMAC, MB on inch disks
1 Storage Hierarchy Cache Main Memory Virtual Memory File System Tertiary Storage Programs DBMS Capacity & Cost Secondary Storage.
CS4432: Database Systems II Lecture 2 Timothy Sutherland.
Disks.
Disk Technologies. Magnetic Disks Purpose: – Long-term, nonvolatile, inexpensive storage for files – Large, inexpensive, slow level in the memory hierarchy.
Cs 61C L15 Disks.1 Patterson Spring 99 ©UCB CS61C Anatomy of I/O Devices: Magnetic Disks Lecture 15 March 10, 1999 Dave Patterson (http.cs.berkeley.edu/~patterson)
12/3/2004EE 42 fall 2004 lecture 391 Lecture #39: Magnetic memory storage Last lecture: –Dynamic Ram –E 2 memory This lecture: –Future memory technologies.
DAP Fall.‘00 ©UCB 1 Storage Devices and RAID Professor David A. Patterson Computer Science 252 Fall 2000.
CS252/Patterson Lec 5.1 1/31/01 CS252 Graduate Computer Architecture Lecture 5: I/O Introduction: Storage Devices & RAID January 31, 2001 Prof. David A.
Secondary Storage CSCI 444/544 Operating Systems Fall 2008.
1 CS222: Principles of Database Management Fall 2010 Professor Chen Li Department of Computer Science University of California, Irvine Notes 01.
CS 61C L41 I/O Disks (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
CS252/Culler Lec 6.1 2/7/02 CS252 Graduate Computer Architecture I/O Introduction: Storage Devices & RAID Jason Hill.
Storage Systems Types of Storage Devices:Types of Storage Devices: magnetic disks, magnetic tapes, automated tape libraries, CDs, DVDs, and flash memories.
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.
Hard Drive / Hard Disk Functions of hard disk
IO System CPU Performance: 60% per year
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
CPE 631: Storage Electrical and Computer Engineering University of Alabama in Huntsville Aleksandar Milenkovic
Lecture 11: DMBS Internals
Physical Storage and File Organization COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
IT 344: Operating Systems Winter 2010 Module 13 Secondary Storage Chia-Chi Teng CTB 265.
Lecture No 11 Storage Devices
Computer Architecture
Chapter 8 External Storage. Primary vs. Secondary Storage Primary storage: Main memory (RAM) Secondary Storage: Peripheral devices  Disk drives  Tape.
DMBS Internals I. What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the database concurrently.
Csci 136 Computer Architecture II – IO and Storage Systems Xiuzhen Cheng
Disk Basics CS Introduction to Operating Systems.
DMBS Internals I February 24 th, What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the.
DMBS Internals I. What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the database concurrently.
Disk Average Seek Time. Multi-platter Disk platter Disk read/write arm read/write head.
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.
Mohamed Younis CMCS 411, Computer Architecture 1 CMCS Computer Architecture Lecture 25 I/O Systems May 2,
1 Lecture 16: Data Storage Wednesday, November 6, 2006.
W4118 Operating Systems Instructor: Junfeng Yang.
File organization Secondary Storage Devices Lec#7 Presenter: Dr Emad Nabil.
Chapter 10: Mass-Storage Systems
CHAPTER 10: Computer Peripherals
Hardware Technology Trends and Database Opportunities
Module: Storage Systems
Backing Store.
Part V Memory System Design
Disks and Files DBMS stores information on (“hard”) disks.
Lecture 11: DMBS Internals
Lecture 21: Storage Systems
CS 704 Advanced Computer Architecture
CSE 451: Operating Systems Autumn 2003 Lecture 12 Secondary Storage
Persistence: hard disk drive
CSE 451: Operating Systems Winter 2003 Lecture 12 Secondary Storage
CS252 Graduate Computer Architecture I/O Introduction: Storage Devices & RAID Jason Hill.
CSE 451: Operating Systems Autumn 2004 Secondary Storage
CSE 451: Operating Systems Winter 2004 Module 13 Secondary Storage
Chapter 11: Mass-Storage Systems
Presentation transcript:

Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall, 2006 Portions of these slides are derived from: Dave Patterson © UCB

Disk Storage SystemsCSCE430/830 I/O Systems

Disk Storage SystemsCSCE430/830 Motivation: Who Cares About I/O? CPU Performance: 50% to 100% per year I/O system performance limited by mechanical delays < 5% per year (IO per sec or MB per sec) Amdahl's Law: system speed-up limited by the slowest part! 10% IO & 10x CPU  5x Performance (lose 50%) 10% IO & 100x CPU  10x Performance (lose 90%) I/O bottleneck: Diminishing fraction of time in CPU Diminishing value of faster CPUs

Disk Storage SystemsCSCE430/830 Today: Processing power doubles every 18 months Today: Memory size doubles every 18 months (4X/3 yrs) Today: Disk capacity doubles every 18 months Disk positioning rate (seek + rotate) doubles every ten years! Technology Trends The I/O GAP

Disk Storage SystemsCSCE430/830 Storage Technology Drivers Driven by the prevailing computing paradigm –1950s: migration from batch to on-line processing –1990s: migration to ubiquitous computing »computers in phones, books, cars, video cameras, … »nationwide fiber optical network with wireless tails Effects on storage industry: –Embedded storage »smaller, cheaper, more reliable, lower power –Data utilities »high capacity, hierarchically managed storage

Disk Storage SystemsCSCE430/830 Historical Perspective 1956 IBM Ramac — early 1970s Winchester –Developed for mainframe computers, proprietary interfaces –Steady shrink in form factor: 27 in. to 14 in. 1970s developments –5.25-inch floppy disk formfactor –early emergence of industry standard disk interfaces »ST506, SASI, SMD, ESDI Early 1980s –PCs and first generation workstations Mid 1980s –Client/server computing –Centralized storage on file server »accelerates disk downsizing: 8 inch to 5.25 inch –Mass market disk drives become a reality »industry standards: SCSI, IDE »5.25-inch drives for standalone PCs, end of proprietary interfaces

Disk Storage SystemsCSCE430/830 Disk History Data density Mbit/sq. in. Capacity of Unit Shown Megabytes 1973: 1. 7 Mbit/sq. in 140 MBytes 1979: 7. 7 Mbit/sq. in 2,300 MBytes Source: New York Times, 2/23/98, page C3, “Makers of disk drives crowd even more data into even smaller spaces”

Disk Storage SystemsCSCE430/830 Disk History 1989: 63 Mbit/sq. in 60,000 MBytes 1997: 1450 Mbit/sq. in 2300 MBytes Source: New York Times, 2/23/98, page C3, “Makers of disk drives crowd even more data into even smaller spaces” 1997: 3090 Mbit/sq. in 8100 MBytes

Disk Storage SystemsCSCE430/830 1 inch disk drive! 2000 IBM MicroDrive: – 1.7” x 1.4” x 0.2” –1 GB, 3600 RPM, 5 MB/s, 15 ms seek –Digital camera, PalmPC? 2006 MicroDrive? 9 GB, 50 MB/s! –Assuming it finds a niche in a successful product –Assuming past trends continue

Disk Storage SystemsCSCE430/830 Disk Trends

Disk Storage SystemsCSCE430/830 Devices: Magnetic Disks Purpose: –Long-term, nonvolatile storage –Large, inexpensive, slow level in the storage hierarchy Characteristics: –Seek Time (~ 8 ms avg) »positional latency »rotational latency Transfer rate –About a sector per ms (5-15 MB/s) –Blocks Capacity –Gigabytes –Quadruples every 3 years 7200 RPM = 120 RPS  8 ms per rev avg. rot. latency = 4 ms 128 sectors per track  ms per sector 1 KB per sector  16 MB / s Response time = Queue + Controller + Seek + Rot + Transfer Service time Sector Track Cylinder Head Platter

Disk Storage SystemsCSCE430/830 Devices: Magnetic Disks

Disk Storage SystemsCSCE430/830 Devices: Magnetic Disks

Disk Storage SystemsCSCE430/830 Photo of Disk Head, Arm, Actuator Actuator Arm Head Platters (12) { Spindle

Disk Storage SystemsCSCE430/830 Devices: Magnetic Disks

Disk Storage SystemsCSCE430/830 Disk Device Terminology Several platters, with information recorded magnetically on both surfaces (usually) Actuator moves head (end of arm,1/surface) over track (“seek”), select surface, wait for sector rotate under head, then read or write – “Cylinder”: all tracks under heads Bits recorded in tracks, which in turn divided into sectors (e.g., 512 Bytes) Platter Outer Track Inner Track Sector Actuator HeadArm

Disk Storage SystemsCSCE430/830 Disk Device Terminology

Disk Storage SystemsCSCE430/830 Disk Device Performance Platter Arm Actuator HeadSector Inner Track Outer Track Disk Latency = Seek Time + Rotation Time + Transfer Time + Controller Overhead Seek Time? depends no. tracks move arm, seek speed of disk Rotation Time? depends on speed disk rotates, how far sector is from head Transfer Time? depends on data rate (bandwidth) of disk (bit density), size of request Controller Spindle

Disk Storage SystemsCSCE430/830 Disk Device Terminology Disk Latency = Queuing Time + Controller Time + Seek Time + Rotation Time + Transfer Time Order-of-magnitude times for 4K byte transfers: Seek: 8 ms or less Rotate: rpm Transfer: rpm Platter Outer Track Inner Track Sector Head Arm Actuator

Disk Storage SystemsCSCE430/830 Tape vs. Disk Longitudinal tape uses same technology as hard disk; tracks its density improvements Disk head flies above surface, tape head lies on surface Inherent cost-performance based on geometries: fixed rotating platters with gaps (random access, limited area, 1 media / reader) vs. removable long strips wound on spool (sequential access, "unlimited" length, multiple / reader) New technology trend: Helical Scan (VCR, Camcorder, DAT) Spins head at angle to tape to improve density

Disk Storage SystemsCSCE430/830 R-DAT Technology 90° Wrap Angle Drum Direction of Tape Track Rotary Drum Four Head Recording Tracks Recorded ± 20° w/o guard band Read After Write Verify Helical Recording Scheme 2000 RPM R R W W

Disk Storage SystemsCSCE430/830 Disk I/O Performance Response time = Queue + Device Service time Proc Queue IOCDevice Metrics: Response Time Throughput

Disk Storage SystemsCSCE430/830 The following shows two potential ways of numbering the sectors of data on a disk (only two tracks are shown and each track has eight sectors). Assuming that typical reads are contiguous (e.g., all 16 sectors are read in order), which way of numbering the sectors will be likely to result in higher performance? Why? Cylinder and Head Skew