Chapter 6 External Memory

Similar documents
Magnetic Disk. Optical. Magnetic Tape. RAID Removable. CD-ROM CD-Recordable (CD-R) CD-R/W DVD

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

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

External Memory. Types of External Memory. Magnetic Disk. Optical. Magnetic Tape. RAID Removable. CD-ROM CD-Recordable (CD-R) CD-R/W DVD

Semiconductor Memory Types Microprocessor Design & Organisation HCA2102

External Memory. Computer Architecture. Magnetic Disk. Outline. Data Organization and Formatting. Write and Read Mechanisms

Semiconductor Memory Types. Computer & Microprocessor Architecture HCA103. Memory Cell Operation. Semiconductor Memory.

EXTERNAL MEMORY (Part 1)

External Memory. Patrick Happ Raul Queiroz Feitosa. Parts of these slides are from the support material provided by W. Stallings

Advanced Parallel Architecture Lesson 4 bis. Annalisa Massini /2015

Memory and Disk Systems

A track on a magnetic disk is a concentric rings where data is stored.

CO212 Lecture 6: Memory Organization III

Principles of Operating Systems CS 446/646

Advanced Parallel Architecture Lesson 4. Annalisa Massini /2015

Mass-Storage Structure

Chapter 9: Peripheral Devices: Magnetic Disks

Computer Organization and Technology External Memory

Chapter 6 - External Memory

I/O, Disks, and RAID Yi Shi Fall Xi an Jiaotong University

Overview. EE 4504 Computer Organization. Historically, the limiting factor in a computer s performance has been memory access time

Chapter 11. I/O Management and Disk Scheduling

CSCI-GA Operating Systems. I/O : Disk Scheduling and RAID. Hubertus Franke

Contents. Memory System Overview Cache Memory. Internal Memory. Virtual Memory. Memory Hierarchy. Registers In CPU Internal or Main memory

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering

Part IV I/O System. Chapter 12: Mass Storage Structure

I/O CANNOT BE IGNORED

CSE325 Principles of Operating Systems. Mass-Storage Systems. David P. Duggan. April 19, 2011

Appendix D: Storage Systems

Homework, etc. Computer Science Foundations

I/O CANNOT BE IGNORED

COMP283-Lecture 3 Applied Database Management

CS2410: Computer Architecture. Storage systems. Sangyeun Cho. Computer Science Department University of Pittsburgh

SEN361 Computer Organization. Prof. Dr. Hasan Hüseyin BALIK (6 th Week)

Computer System Architecture

Hard Disk Organization. Vocabulary

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

Disks and RAID. CS 4410 Operating Systems. [R. Agarwal, L. Alvisi, A. Bracy, E. Sirer, R. Van Renesse]

Tape pictures. CSE 30341: Operating Systems Principles

COSC 243. Memory and Storage Systems. Lecture 10 Memory and Storage Systems. COSC 243 (Computer Architecture)

Virtual Memory. Reading. Sections 5.4, 5.5, 5.6, 5.8, 5.10 (2) Lecture notes from MKP and S. Yalamanchili

Part IV I/O System Chapter 1 2: 12: Mass S torage Storage Structur Structur Fall 2010

Chapter 13: Mass-Storage Systems. Disk Scheduling. Disk Scheduling (Cont.) Disk Structure FCFS. Moving-Head Disk Mechanism

Chapter 13: Mass-Storage Systems. Disk Structure

Introduction Disks RAID Tertiary storage. Mass Storage. CMSC 420, York College. November 21, 2006

Module 13: Secondary-Storage

Chapter 14: Mass-Storage Systems

CSCI-GA Database Systems Lecture 8: Physical Schema: Storage

Monday, May 4, Discs RAID: Introduction Error detection and correction Error detection: Simple parity Error correction: Hamming Codes

Storage Devices for Database Systems

Hard facts. Hard disk drives

Lecture 25: Interconnection Networks, Disks. Topics: flow control, router microarchitecture, RAID

UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Computer Architecture ECE 568

Chapter 12: Mass-Storage Systems. Operating System Concepts 8 th Edition,

Disk scheduling Disk reliability Tertiary storage Swap space management Linux swap space management

Wednesday, April 25, Discs RAID: Introduction Error detection and correction Error detection: Simple parity Error correction: Hamming Codes

Chapter 6. Storage and Other I/O Topics

Today: Secondary Storage! Typical Disk Parameters!

CS3600 SYSTEMS AND NETWORKS

Chapter 10: Mass-Storage Systems

Database Systems II. Secondary Storage

Lecture: Storage, GPUs. Topics: disks, RAID, reliability, GPUs (Appendix D, Ch 4)

UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Computer Architecture ECE 568

Silberschatz, et al. Topics based on Chapter 13

COS 318: Operating Systems. Storage Devices. Vivek Pai Computer Science Department Princeton University

V. Mass Storage Systems

Operating Systems 2010/2011

UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Computer Architecture ECE 568

CMSC 424 Database design Lecture 12 Storage. Mihai Pop

Storage System COSC UCB

Lecture 23: Storage Systems. Topics: disk access, bus design, evaluation metrics, RAID (Sections )

Address Accessible Memories. A.R. Hurson Department of Computer Science Missouri University of Science & Technology

Storage and File Structure. Classification of Physical Storage Media. Physical Storage Media. Physical Storage Media

Physical Storage Media

Chapter 12: Mass-Storage

CISC 7310X. C11: Mass Storage. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 4/19/2018 CUNY Brooklyn College

Lecture 9. I/O Management and Disk Scheduling Algorithms

File. File System Implementation. Operations. Permissions and Data Layout. Storing and Accessing File Data. Opening a File

Page 1. Magnetic Disk Purpose Long term, nonvolatile storage Lowest level in the memory hierarchy. Typical Disk Access Time

BBM371- Data Management. Lecture 2: Storage Devices

MASS-STORAGE STRUCTURE

Ch 11: Storage and File Structure

COS 318: Operating Systems. Storage Devices. Jaswinder Pal Singh Computer Science Department Princeton University

CS 201 The Memory Hierarchy. Gerson Robboy Portland State University

Storage. CS 3410 Computer System Organization & Programming

CIT 668: System Architecture. Computer Systems Architecture

Chapter 10: Mass-Storage Systems

Chapter 10: Mass-Storage Systems. Operating System Concepts 9 th Edition

Chapter 14: Mass-Storage Systems

IST346. Data Storage

u Covered: l Management of CPU & concurrency l Management of main memory & virtual memory u Currently --- Management of I/O devices

Chapter 10: Mass-Storage Systems. Operating System Concepts 9 th Edition

Module 1: Basics and Background Lecture 4: Memory and Disk Accesses. The Lecture Contains: Memory organisation. Memory hierarchy. Disks.

Chapter 12: Mass-Storage

Module 13: Secondary-Storage Structure

Chapter 12: Mass-Storage

Physical Representation of Files

Chapter 11 I/O Management and Disk Scheduling

Advanced Database Systems

CS 554: Advanced Database System

Transcription:

Chapter 6 External Memory

Magnetic Disk Removable RAID

Disk substrate coated with magnetizable material (iron oxide rust) Substrate used to be aluminium Now glass Improved surface uniformity Increases reliability Reduction in surface defects Reduced read/write errors Lower flight heights (See later) Better stiffness Better shock/damage resistance

Recording & retrieval via conductive coil called a head May be single read/write head or separate ones During read/write, head is stationary, platter rotates Write Current through coil produces magnetic field Pulses sent to head Magnetic pattern recorded on surface below Read (traditional) Magnetic field moving relative to coil produces current Coil is the same for read and write Read (contemporary) Separate read head, close to write head Partially shielded magneto resistive (MR) sensor Electrical resistance depends on direction of magnetic field High frequency operation Higher storage density and speed

Concentric rings or tracks Gaps between tracks Reduce gap to increase capacity Same number of bits per track (variable packing density) Constant angular velocity Tracks divided into sectors Minimum block size is one sector May have more than one sector per block

Bit near centre of rotating disk passes fixed point slower than bit on outside of disk Increase spacing between bits in different tracks Rotate disk at constant angular velocity (CAV) Gives pie shaped sectors and concentric tracks Individual tracks and sectors addressable Move head to given track and wait for given sector Waste of space on outer tracks Lower data density Can use zones to increase capacity Each zone has fixed bits per track More complex circuitry

Must be able to identify start of track and sector Format disk Additional information not available to user Marks tracks and sectors

Fixed (rare) or movable head Removable or fixed Single or double (usually) sided Single or multiple platter Head mechanism Contact (Floppy) Fixed gap Flying (Winchester)

Fixed head One read write head per track Heads mounted on fixed ridged arm Movable head One read write head per side Mounted on a movable arm

Removable disk Can be removed from drive and replaced with another disk Provides unlimited storage capacity Easy data transfer between systems Nonremovable disk Permanently mounted in the drive

One head per side Heads are joined and aligned Aligned tracks on each platter form cylinders Data is striped by cylinder reduces head movement Increases speed (transfer rate)

8, 5.25, 3.5 Small capacity Up to 1.44Mbyte (2.88M never popular) Slow Universal Cheap Obsolete?

Developed by IBM in Winchester (USA) Sealed unit One or more platters (disks) Heads fly on boundary layer of air as disk spins Very small head to disk gap Getting more robust

Universal Cheap Fastest external storage Getting larger all the time 250 Gigabyte now easily available

Seek time Moving head to correct track (Rotational) latency Waiting for data to rotate under head Access time = Seek + Latency Transfer rate

Redundant Array of Independent Disks Redundant Array of Inexpensive Disks 6 levels in common use Not a hierarchy Set of physical disks viewed as single logical drive by O/S Data distributed across physical drives Can use redundant capacity to store parity information

No redundancy Data striped across all disks Round Robin striping Increase speed Multiple data requests probably not on same disk Disks seek in parallel A set of data is likely to be striped across multiple disks

Mirrored Disks Data is striped across disks 2 copies of each stripe on separate disks Read from either Write to both Recovery is simple Swap faulty disk & re-mirror No down time Expensive

Disks are synchronized Very small stripes Often single byte/word Error correction calculated across corresponding bits on disks Multiple parity disks store Hamming code error correction in corresponding positions Lots of redundancy Expensive Not used

Similar to RAID 2 Only one redundant disk, no matter how large the array Simple parity bit for each set of corresponding bits Data on failed drive can be reconstructed from surviving data and parity info Very high transfer rates

Each disk operates independently Good for high I/O request rate Large stripes Bit by bit parity calculated across stripes on each disk Parity stored on parity disk

Like RAID 4 Parity striped across all disks Round robin allocation for parity stripe Avoids RAID 4 bottleneck at parity disk Commonly used in network servers N.B. DOES NOT MEAN 5 DISKS!!!!!

Two parity calculations Stored in separate blocks on different disks User requirement of N disks needs N+2 High data availability Three disks need to fail for data loss Significant write penalty

RAID

W. Stallings, Computer Organization and Architecture: Designing for performance, Pearson Education/ Prentice Hall of India, 2013, ISBN 978-93-317-3245-8, 8th Edition.