Chapter 9: Peripheral Devices: Magnetic Disks



Similar documents
Storing Data: Disks and Files

Sistemas Operativos: Input/Output Disks

File System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

COS 318: Operating Systems. Storage Devices. Kai Li Computer Science Department Princeton University. (

COS 318: Operating Systems. Storage Devices. Kai Li and Andy Bavier Computer Science Department Princeton University

Chapter 10: Mass-Storage Systems

Chapter 12: Mass-Storage Systems

Price/performance Modern Memory Hierarchy

Data Storage - II: Efficient Usage & Errors

Introduction Disks RAID Tertiary storage. Mass Storage. CMSC 412, University of Maryland. Guest lecturer: David Hovemeyer.

William Stallings Computer Organization and Architecture 7 th Edition. Chapter 6 External Memory

Devices and Device Controllers

1 Storage Devices Summary

Storing Data: Disks and Files. Disks and Files. Why Not Store Everything in Main Memory? Chapter 7

Disk Storage & Dependability

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 13-1

William Stallings Computer Organization and Architecture 8 th Edition. External Memory

Chapter 13 Disk Storage, Basic File Structures, and Hashing.

Introduction to I/O and Disk Management

CS 153 Design of Operating Systems Spring 2015

Input / Ouput devices. I/O Chapter 8. Goals & Constraints. Measures of Performance. Anatomy of a Disk Drive. Introduction - 8.1

HARD DRIVE CHARACTERISTICS REFRESHER

Computer Systems Structure Main Memory Organization

Filing Systems. Filing Systems

Physical Data Organization

Storage. The text highlighted in green in these slides contain external hyperlinks. 1 / 14

Database Management Systems

Chapter 13. Disk Storage, Basic File Structures, and Hashing

Lecture 36: Chapter 6

RAID. RAID 0 No redundancy ( AID?) Just stripe data over multiple disks But it does improve performance. Chapter 6 Storage and Other I/O Topics 29

Disks and RAID. Profs. Bracy and Van Renesse. based on slides by Prof. Sirer

technology brief RAID Levels March 1997 Introduction Characteristics of RAID Levels

Chapter 6 External Memory. Dr. Mohamed H. Al-Meer

RAID HARDWARE. On board SATA RAID controller. RAID drive caddy (hot swappable) SATA RAID controller card. Anne Watson 1

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

An Introduction to RAID. Giovanni Stracquadanio

CS420: Operating Systems

Floppy Drive & Hard Drive

System Architecture. CS143: Disks and Files. Magnetic disk vs SSD. Structure of a Platter CPU. Disk Controller...

Read this before starting!

A Comparison of Client and Enterprise SSD Data Path Protection

Input/output (I/O) I/O devices. Performance aspects. CS/COE1541: Intro. to Computer Architecture. Input/output subsystem.

6. Storage and File Structures

Chapter 13. Chapter Outline. Disk Storage, Basic File Structures, and Hashing

CS161: Operating Systems

CS 464/564 Introduction to Database Management System Instructor: Abdullah Mueen

Fault Tolerance & Reliability CDA Chapter 3 RAID & Sample Commercial FT Systems

Computer Architecture Prof. Mainak Chaudhuri Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

HP Smart Array Controllers and basic RAID performance factors

Big Picture. IC220 Set #11: Storage and I/O I/O. Outline. Important but neglected

SIMULATION AND MODELLING OF RAID 0 SYSTEM PERFORMANCE

Reliability and Fault Tolerance in Storage

How To Improve Performance On A Single Chip Computer

DISTRIBUTED MULTIMEDIA SYSTEMS

Q & A From Hitachi Data Systems WebTech Presentation:

Chapter 11 I/O Management and Disk Scheduling

Dependable Systems. 9. Redundant arrays of. Prof. Dr. Miroslaw Malek. Wintersemester 2004/05

CS 6290 I/O and Storage. Milos Prvulovic

Operating Systems. RAID Redundant Array of Independent Disks. Submitted by Ankur Niyogi 2003EE20367

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

What is RAID? data reliability with performance

Overview of I/O Performance and RAID in an RDBMS Environment. By: Edward Whalen Performance Tuning Corporation

CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner

access To read, write, or update information on some storage media, such as a disk.

Communicating with devices

Storage in Database Systems. CMPSCI 445 Fall 2010

4.2: Multimedia File Systems Traditional File Systems. Multimedia File Systems. Multimedia File Systems. Disk Scheduling

Chapter 12: Secondary-Storage Structure

OPTIMIZING VIRTUAL TAPE PERFORMANCE: IMPROVING EFFICIENCY WITH DISK STORAGE SYSTEMS

DELL RAID PRIMER DELL PERC RAID CONTROLLERS. Joe H. Trickey III. Dell Storage RAID Product Marketing. John Seward. Dell Storage RAID Engineering

Storage and File Systems. Chester Rebeiro IIT Madras

Hard Disk Drives and RAID

CSE 120 Principles of Operating Systems

File System Management

Enterprise-class versus Desktopclass

RAID Overview

RAID. Tiffany Yu-Han Chen. # The performance of different RAID levels # read/write/reliability (fault-tolerant)/overhead

Chapter 2 Data Storage

Systems Infrastructure for Data Science. Web Science Group Uni Freiburg WS 2014/15

Definition of RAID Levels

RAID. Storage-centric computing, cloud computing. Benefits:

11: I/O Device Management

Difference between Enterprise SATA HDDs and Desktop HDDs. Difference between Enterprise Class HDD & Desktop HDD

Review. Lecture 21: Reliable, High Performance Storage. Overview. Basic Disk & File System properties CSC 468 / CSC /23/2006

Quiz for Chapter 6 Storage and Other I/O Topics 3.10

Oracle Database 10g: Performance Tuning 12-1

1 File Management. 1.1 Naming. COMP 242 Class Notes Section 6: File Management

Data Storage and Backup. Sanjay Goel School of Business University at Albany, SUNY

Striped Set, Advantages and Disadvantages of Using RAID

Platter. Track. Index Mark. Disk Storage. PHY 406F - Microprocessor Interfacing Techniques

Outline. Principles of Database Management Systems. Memory Hierarchy: Capacities and access times. CPU vs. Disk Speed

Distribution One Server Requirements

University of Dublin Trinity College. Storage Hardware.

With respect to the way of data access we can classify memories as:

Intel RAID Controllers

Transcription:

Chapter 9: Peripheral Devices: Magnetic Disks Basic Disk Operation Performance Parameters and History of Improvement Example disks RAID (Redundant Arrays of Inexpensive Disks) Improving Reliability Improving Performance

Magnetic Disk Drives High density and non-volatile Densities similar to semiconductor RAM on an inexpensive medium No power required to retain stored information Motion of medium supplies power for sensing More random access than tape: direct access Different platters selected electronically Track on platter selected by head movement Cyclic sequential access to data on a track Structured address of data on disk Drive: Platter: Track: Sector: Byte

Multi-Platter Hard Disk Drive

Simplified View of Disk Track and Sector Organization An integral number of sectors are recorded around a track A sector is the unit of data transfer to or from the disk

Simplified View of Individual Bits Encoded on a Disk Track Inside tracks are shorter & thus have higher densities or fewer words All sectors contain the same number of bytes Inner portions of a platter may have fewer sectors per track Small areas of the disk are magnetized in different directions Change in magnetization direction is what is detected on read

Typical Hard Disk Sector Organization Serial bit stream has header, data, & error code Header synchronizes sector read and records sector address Data length is usually power of 2 bytes Error detection/correction code needed at end

Disk Formatting Disks are pre-formatted with track and sector address written in headers Disk surface defects may cause some sectors to be marked unusable for the software

The PC AT Block Address for Disk Access Head number determines platter surface Cylinder is track number for all heads Count sectors, up to a full track, can be accessed in one operation

The Disk Access Process 1. OS Communicates LBA to the disk interface, and issues a READ command. 2. Drive seeks to the correct track by moving heads to correct position, and enabling the appropriate head. 3. Sector data and ECC stream into buffer. ECC is done "on the fly." 4. When correct sector is found data is streamed into a buffer. 5. Drive communicates "data ready" to the OS 6. OS reads data byte by byte or by using DMA.

Static Disk Characteristics Areal density of bits on surface density = 1/(bit spacing track spacing) Maximum density: density on innermost track Unformatted capacity: includes header and error control bits Formatted capacity: capacity = bytes sector sectors track tracks surface # of surfaces

Dynamic Disk Characteristics Seek time: time to move heads to cylinder Track-to-track access: time to adjacent track Rotational latency: time for correct sector to come under read/write head Average access time: seek time + rotational latency Burst rate (maximum transfer bandwidth) burst rate = revs sec sectors rev bytes sector

Improving Disk Reliability & Performance: RAID, Redundant Array of Inexpensive Disks Raid LEVEL 0: Speed improvement only, by "striping" data across several disks so they can be accessed in parallel. RAID Level 1: "Mirroring," writing the exact same data to two different disk drives. If one drive fails, the other can be used. RAID Level 2: Data is striped at the bit level across several disks with additional ECC bits to recover data if one drive fails.

Improving Disk Reliability & Performance: RAID, Redundant Array of Inexpensive Disks RAID Level 3: Striped as in level 0, but at the byte level, and ECC data is written to a separate drive. RAID Level 4: Same as level 3, but blocks are used instead of bytes, and data are written asynchronously. Often used in transaction-based systems, such as in airline reservation systems. RAID Level 5: Similar to level 4, but both data and ECC bits are both striped across 3 or more drives. RAID Level 6: Similar to level 5, but extra correction bits are present to permit recovery from multiple errors.