1 COMP 206: Computer Architecture and Implementation Montek Singh Wed., Nov. 20, 2002 Topic: Storage Systems (Disk Technology)

Slides:



Advertisements
Similar presentations
I/O Management and Disk Scheduling
Advertisements

Faculty of Information Technology Department of Computer Science Computer Organization Chapter 7 External Memory Mohammad Sharaf.
RAID (Redundant Arrays of Independent Disks). Disk organization technique that manages a large number of disks, providing a view of a single disk of High.
Magnetic Disk Magnetic disks are the foundation of external memory on virtually all computer systems. A disk is a circular platter constructed of.
Operating Systems ECE344 Ashvin Goel ECE University of Toronto Disks and RAID.
Chapter 6 External Memory Disk and RAID (Redundant Arrays of Independent Disks) CS-147 Fall 2010 Jonathan Wang.
Chapter4: Memory External Memory.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 6 External Memory.
R.A.I.D. Copyright © 2005 by James Hug Redundant Array of Independent (or Inexpensive) Disks.
CSE521: Introduction to Computer Architecture Mazin Yousif I/O Subsystem RAID (Redundant Array of Independent Disks)
Computer ArchitectureFall 2007 © November 28, 2007 Karem A. Sakallah Lecture 24 Disk IO and RAID CS : Computer Architecture.
Other Disk Details. 2 Disk Formatting After manufacturing disk has no information –Is stack of platters coated with magnetizable metal oxide Before use,
1 Chapter 6 Storage and Multimedia: The Facts and More.
1 Lecture 26: Storage Systems Topics: Storage Systems (Chapter 6), other innovations Final exam stats:  Highest: 95  Mean: 70, Median: 73  Toughest.
Disk Drivers May 10, 2000 Instructor: Gary Kimura.
1 COMP 206: Computer Architecture and Implementation Montek Singh Mon, Nov 21, 2005 Mon, Nov 28, 2005 Topic: Storage Systems (Disk Technology)
Computer Organization and Architecture External Memory.
SECTIONS 13.1 – 13.3 Sanuja Dabade & Eilbroun Benjamin CS 257 – Dr. TY Lin SECONDARY STORAGE MANAGEMENT.
S.1 Review: Major Components of a Computer Processor Control Datapath Memory Devices Input Output Cache Main Memory Secondary Memory (Disk)
Secondary Storage CSCI 444/544 Operating Systems Fall 2008.
Physical Storage Organization. Advanced DatabasesPhysical Storage Organization2 Outline Where and How data are stored? –physical level –logical level.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
Operating Systems COMP 4850/CISG 5550 Disks, Part II Dr. James Money.
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 Drives Non-Volatile Storage. Hard Drives Hard Drives (HD) The primary storage device in a computer system.
CS 346 – Chapter 10 Mass storage –Advantages? –Disk features –Disk scheduling –Disk formatting –Managing swap space –RAID.
Storage & Peripherals Disks, Networks, and Other Devices.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Storage Systems.
1 Recitation 8 Disk & File System. 2 Disk Scheduling Disks are at least four orders of magnitude slower than main memory –The performance of disk I/O.
Two or more disks Capacity is the same as the total capacity of the drives in the array No fault tolerance-risk of data loss is proportional to the number.
External Memory.
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
Physical Storage Organization. Advanced DatabasesPhysical Storage Organization2 Outline Where and How are data stored? –physical level –logical level.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
Disk Access. DISK STRUCTURE Sector: Smallest unit of data transfer from/to disk; 512B 2/4/8 adjacent sectors transferred together: Blocks Read/write heads.
Lecture 9 of Advanced Databases Storage and File Structure (Part II) Instructor: Mr.Ahmed Al Astal.
Topic: Disks – file system devices. Rotational Media Sector Track Cylinder Head Platter Arm Access time = seek time + rotational delay + transfer time.
I/O Management and Disk Structure Introduction to Operating Systems: Module 14.
Disks Chapter 5 Thursday, April 5, Today’s Schedule Input/Output – Disks (Chapter 5.4)  Magnetic vs. Optical Disks  RAID levels and functions.
GENERAL INFORMATION Invented in 1950's on mainframe computers with 20 inches diameter with only few megabytes of data. Originally called 'Fixed Disc'
Physical Storage Organization. Advanced DatabasesPhysical Storage Organization2 Outline Where and How data are stored? –physical level –logical level.
Chapter 12 – Mass Storage Structures (Pgs )
The concept of RAID in Databases By Junaid Ali Siddiqui.
Auxiliary Memory Magnetic Disk:
Chapter 8 Secondary Memory. Topics Types of External Memory Magnetic Disk Optical Magnetic Tape.
1 Lecture 27: Disks Today’s topics:  Disk basics  RAID  Research topics.
1 Lecture 23: Storage Systems Topics: disk access, bus design, evaluation metrics, RAID (Sections )
Abstract Increases in CPU and memory will be wasted if not matched by similar performance in I/O SLED vs. RAID 5 levels of RAID and respective cost/performance.
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.
CPSC 231 Secondary storage (D.H.)1 Learning Objectives Understanding disk organization. Sectors, clusters and extents. Fragmentation. Disk access time.
Indira Gandhi National Open University presents. A Video Lecture Course: Computer Platforms.
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.
W4118 Operating Systems Instructor: Junfeng Yang.
LECTURE 13 I/O. I/O CANNOT BE IGNORED Assume a program requires 100 seconds, 90 seconds for main memory, 10 seconds for I/O. Assume main memory access.
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.
CS422 Principles of Database Systems Disk Access Chengyu Sun California State University, Los Angeles.
CMSC 611: Advanced Computer Architecture I/O & Storage Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems DISK I/0.
COMP 740: Computer Architecture and Implementation
Computer Architecture Principles Dr. Mike Frank
Multiple Platters.
External Memory.
Module: Storage Systems
Disks and RAID.
Part V Memory System Design
Lecture 13 I/O.
Lecture 28: Reliability Today’s topics: GPU wrap-up Disk basics RAID
TECHNICAL SEMINAR PRESENTATION
UNIT IV RAID.
Presentation transcript:

1 COMP 206: Computer Architecture and Implementation Montek Singh Wed., Nov. 20, 2002 Topic: Storage Systems (Disk Technology)

2 Disk Systems: Characteristics  Capacity [bytes] Mainframes typically have  3.7 GB of disk storage per MIPS Mainframes typically have  3.7 GB of disk storage per MIPS PCs rend to require  5 MB of disk storage per MIPS PCs rend to require  5 MB of disk storage per MIPS  Bandwidth (throughput) Bytes transferred per unit time Bytes transferred per unit time  Service rate Number of service requests satisfied per unit time Number of service requests satisfied per unit time Supercomputer I/O requests tend to involve large amounts of data, transaction processing systems tend to involve small ones Supercomputer I/O requests tend to involve large amounts of data, transaction processing systems tend to involve small ones  Response time (latency) Time between start and completion of an event Time between start and completion of an event  Cost [$/MB]

3 Parameters of A Single Disk Drive

4 Technical Details (1)  Platters 2-4mm thick, made of an aluminum alloy 2-4mm thick, made of an aluminum alloy Typically 1-5 platters in a hard disk Typically 1-5 platters in a hard disk Both sides of each platter generally used Both sides of each platter generally used One side of one platter dedicated to information to guide the servomechanisms that control speed of rotation and head movement One side of one platter dedicated to information to guide the servomechanisms that control speed of rotation and head movement Each recording surface has its own read-write head Each recording surface has its own read-write head  Only one operational at any time  Data transfer to and from disk is bit-serial  Rotation Speed of rotation carefully controlled by servomechanism Speed of rotation carefully controlled by servomechanism  E.g., 3600 rpm  1% or even  1 rpm All disk drives are synchronized in some disk arrays All disk drives are synchronized in some disk arrays  Angular positions are identical (within tolerance) at any time

5 Technical Details (2)  Flying height Read/write heads do not touch rotating disk surface Read/write heads do not touch rotating disk surface Careful aerodynamic design keeps small constant distance (  0.2  ) Careful aerodynamic design keeps small constant distance (  0.2  ) Disk moves with approximate linear speed of 700 inches/sec Disk moves with approximate linear speed of 700 inches/sec  18m/s, 40 miles/hour Smaller flying height  higher writing density Smaller flying height  higher writing density  Platters and heads sealed hermetically in clean space for this reason  Called Winchester drives for historical reasons  “Parking the heads” Before disk is allowed to slow down and stop, heads are moved over an area of the disk not used for recording, where they are allowed to come into contact with the disk surface Before disk is allowed to slow down and stop, heads are moved over an area of the disk not used for recording, where they are allowed to come into contact with the disk surface

6 Why Disks Are Bit-Serial  Bit stored in an approximate trapezoid whose sides are 0.3  and 7   High TPI value makes parallel access disks unworkable Reading heads move as rigid unit Reading heads move as rigid unit One of them (the one over the servo disk) supposedly defines radial (track) position One of them (the one over the servo disk) supposedly defines radial (track) position  Ensemble is not truly rigid, and various reasons (like thermal dilations) prevent all heads being positioned over same track simultaneously, repeatedly, and reliably  Only one head is positioned accurately at a time: servo guides the assembly to approximate position of requested track, reading head does final positioning using a high frequency signal between data tracks  Sector ID always contains track number for confirmation Portable disks use shock sensors to prevent overwriting of adjacent tracks caused by jarring of R/W head Portable disks use shock sensors to prevent overwriting of adjacent tracks caused by jarring of R/W head

7 Track Densities  Until recently, only innermost track was recorded with maximum density All other tracks contained same number of sectors and bytes All other tracks contained same number of sectors and bytes  Recently, manufacturers are using bands of tracks Total number of tracks (100s-1000s) divided into bands or zones (4, 8, 16, …) each containing the same number of tracks Total number of tracks (100s-1000s) divided into bands or zones (4, 8, 16, …) each containing the same number of tracks Each band has innermost track recorded at maximum density, with other tracks having same capacity Each band has innermost track recorded at maximum density, with other tracks having same capacity Greatest capacity gains occur with a small number of bands Greatest capacity gains occur with a small number of bands  Two scheduling options Constant rotational speed, use buffer for speed matching Constant rotational speed, use buffer for speed matching Constant data rate, head spinning with rotational speed corresponding to recording density of zone Constant data rate, head spinning with rotational speed corresponding to recording density of zone

8 Sector Format  Sector is the smallest unit of data that can be read or written Typically between 32B and 4KB, with 512B being a common size Typically between 32B and 4KB, with 512B being a common size  Format of sector ID: Identifies sector with information such as angular position and track # ID: Identifies sector with information such as angular position and track #  Has its own error correcting code (ECC) GAP: Permits electronics to process ECC information GAP: Permits electronics to process ECC information DATA and its ECC DATA and its ECC IDECC GAP DATAECC GAP Total sector size is measure of formatted capacity of disk as fraction of nominal capacity

9 Disk Miscellanea  Smaller disks tend to be more cost-effective Smaller inertia, lower power consumption per megabyte, shorter seek distances, less vibration, less heat generated Smaller inertia, lower power consumption per megabyte, shorter seek distances, less vibration, less heat generated Heat generation proportional to N  RPM 2.8  D 4.6 Heat generation proportional to N  RPM 2.8  D 4.6  N = number of platters  D = diameter  RPM = rotational speed  Disk access time = seek time + rotational latency + transfer time Typical values: ms seek time, 8.3 ms rotational latency Typical values: ms seek time, 8.3 ms rotational latency  Disk growth rates Disk areal density doubling every three years Disk areal density doubling every three years Disk transfer rate doubling every five years Disk transfer rate doubling every five years Disk access time halving every ten years Disk access time halving every ten years

10 Ensembles of Disks  Key idea Use collection of disk drives to improve characteristics of disk systems (storage capacity, bandwidth, etc.) Use collection of disk drives to improve characteristics of disk systems (storage capacity, bandwidth, etc.)  Used in mainframes for a long time  RAID Redundant Array of Inexpensive Disks (original 1988 acronym) Redundant Array of Inexpensive Disks (original 1988 acronym) Redundant Array of Independent Disks (redefined in 1992) Redundant Array of Independent Disks (redefined in 1992)

11 Improving Bandwidth with Disk Arrays  Arrays of independent disk drives Similar to high-order interleaving in main memories Similar to high-order interleaving in main memories Each file assigned to different disk drive Each file assigned to different disk drive Simultaneous access to files Simultaneous access to files Load balancing issues Load balancing issues  File striping/disk striping/disk interleaving Single file distributed across array of disks Single file distributed across array of disks Similar to low-order interleaving in main memories Similar to low-order interleaving in main memories Each logical I/O request corresponds to a data stripe Each logical I/O request corresponds to a data stripe  Data stripe divided into number of equal sized stripe units  Stripe units assigned to different disk units Two kinds of striping depending on size of stripe unit Two kinds of striping depending on size of stripe unit  Fine-grained striping: Stripe unit chosen to balance load  Coarse-grained striping: Larger stripe unit

12 Improving Availability with Disk Arrays  MTTF of large-system disks approaches 1,000,000 hours  MTTF of PC-class disks approaches 150,000 hours  However, array of 1,000 PC-class disks has MTTF of 150 hours  All schemes to cope with low MTTF aim to “fail soft” Operation should be able to continue while repair is made Operation should be able to continue while repair is made Always depends on some form of redundancy Always depends on some form of redundancy