RAID Ref: Stallings. Introduction The rate in improvement in secondary storage performance has been considerably less than the rate for processors and.

Slides:



Advertisements
Similar presentations
I/O Management and Disk Scheduling
Advertisements

1 Chapter 11 I/O Management and Disk Scheduling Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and.
I/O Management and Disk Scheduling Chapter 11. I/O Driver OS module which controls an I/O device hides the device specifics from the above layers in the.
What is RAID Redundant Array of Independent Disks.
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.
I/O Management and Disk Scheduling
Chapter 11 I/O Management and Disk Scheduling
RAID Redundant Array of Independent Disks
CS 6560: Operating Systems Design
Raid dr. Patrick De Causmaecker What is RAID Redundant Array of Independent (Inexpensive) Disks A set of disk stations treated as one.
CSCE430/830 Computer Architecture
R.A.I.D. Copyright © 2005 by James Hug Redundant Array of Independent (or Inexpensive) Disks.
2P13 Week 11. A+ Guide to Managing and Maintaining your PC, 6e2 RAID Controllers Redundant Array of Independent (or Inexpensive) Disks Level 0 -- Striped.
Lecture 36: Chapter 6 Today’s topic –RAID 1. RAID Redundant Array of Inexpensive (Independent) Disks –Use multiple smaller disks (c.f. one large disk)
REDUNDANT ARRAY OF INEXPENSIVE DISCS RAID. What is RAID ? RAID is an acronym for Redundant Array of Independent Drives (or Disks), also known as Redundant.
1 Storage (cont’d) Disk scheduling Reducing seek time (cont’d) Reducing rotational latency RAIDs.
Other Disk Details. 2 Disk Formatting After manufacturing disk has no information –Is stack of platters coated with magnetizable metal oxide Before use,
Disks CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
I/O Systems and Storage Systems May 22, 2000 Instructor: Gary Kimura.
RAID Systems CS Introduction to Operating Systems.
ICOM 6005 – Database Management Systems Design Dr. Manuel Rodríguez-Martínez Electrical and Computer Engineering Department Lecture 6 – RAID ©Manuel Rodriguez.
RAID Shuli Han COSC 573 Presentation.
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.
CSE 321b Computer Organization (2) تنظيم الحاسب (2) 3 rd year, Computer Engineering Winter 2015 Lecture #4 Dr. Hazem Ibrahim Shehata Dept. of Computer.
Redundant Array of Independent Disks
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.
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
Lecture 9 of Advanced Databases Storage and File Structure (Part II) Instructor: Mr.Ahmed Al Astal.
Redundant Array of Inexpensive Disks aka Redundant Array of Independent Disks (RAID) Modified from CCT slides.
RAID REDUNDANT ARRAY OF INEXPENSIVE DISKS. Why RAID?
Chapter 11 I/O Management and Disk Scheduling Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and.
1 I/O Management and Disk Scheduling Chapter Categories of I/O Devices Human readable Used to communicate with the user Printers Video display terminals.
1 IO Management and Disk Scheduling Chapter Categories of I/O Devices n Human readable u used to communicate with the user u video display terminals.
1 I/O Management and Disk Scheduling Chapter
1 I/O Management and Disk Scheduling Chapter Categories of I/O Devices Human readable  Used to communicate with the user  Printers  Video display.
I/O Management and Disk Structure Introduction to Operating Systems: Module 14.
RAID SECTION (2.3.5) ASHLEY BAILEY SEYEDFARAZ YASROBI GOKUL SHANKAR.
1 I/O Management and Disk Scheduling Chapter Categories of I/O Devices Human readable –Used to communicate with the user –Printers –Video display.
Redundant Array of Independent Disks.  Many systems today need to store many terabytes of data.  Don’t want to use single, large disk  too expensive.
The concept of RAID in Databases By Junaid Ali Siddiqui.
RAID Disk Arrays Hank Levy. 212/5/2015 Basic Problems Disks are improving, but much less fast than CPUs We can use multiple disks for improving performance.
Auxiliary Memory Magnetic Disk:
I/O Management and Disk Scheduling Chapter 11. Categories of I/O Devices Human readable Used to communicate with the user  Printers, Display terminals,
1 I/O Management and Disk Scheduling Chapter I/O Devices Can be group into three categories: 1.Human readable Used to communicate with the computer.
Storage and File structure COP 4720 Lecture 20 Lecture Notes.
Introduction to RAID Rogério Perino de Oliveira Neves Patrick De Causmaecker
Part IV I/O System Chapter 12: Mass Storage Structure.
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
Chapter 11 I/O Management and Disk Scheduling Dave Bremer Otago Polytechnic, NZ ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
RAID Technology By: Adarsha A,S 1BY08A03. Overview What is RAID Technology? What is RAID Technology? History of RAID History of RAID Techniques/Methods.
RAID TECHNOLOGY RASHMI ACHARYA CSE(A) RG NO
Network-Attached Storage. Network-attached storage devices Attached to a local area network, generally an Ethernet-based network environment.
I/O Errors 1 Computer Organization II © McQuain RAID Redundant Array of Inexpensive (Independent) Disks – Use multiple smaller disks (c.f.
1 Chapter 11 I/O Management and Disk Scheduling Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and.
CS Introduction to Operating Systems
Multiple Platters.
External Memory.
RAID, Programmed I/O, Interrupt Driven I/O, DMA, Operating System
… General Decoder for a Linear Block Code … …
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani
RAID Disk Arrays Hank Levy 1.
TECHNICAL SEMINAR PRESENTATION
UNIT IV RAID.
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani April 23, 2019
Presentation transcript:

RAID Ref: Stallings

Introduction The rate in improvement in secondary storage performance has been considerably less than the rate for processors and main memory. In the case of disk storage, this leads to the development of arrays of disks that operate independently and in parallel With multiple disks, separate I/O requests can be handled in parallel, as long as the data required reside on separate disks. Industry has agreed on a standardized scheme for multiple-disk database design, known as RAID (redundant array of independent disks)

3 RAID Redundant Array of Independent Disks The RAID scheme consists of seven levels, Zero to Six 3 common characteristics of RAID – RAID is a set of physical disk drives viewed by the operating system as a single logical drive – Data are distributed across the physical drives of an array in a scheme known as striping – Redundant disk capacity is used to store parity information, which guarantees data recoverability in case of a disk failure.

4 RAID Level 0 (non-redundant) strip = one unit of data ( physical blocks, sectors, or some other unit) User and system data are distributed across all of the disks Multiple parallel independent disks High Data Transfer Capacity High I/O Request Rate

5 RAID Level 1 (mirrored) Two copies of Level 0 disks (mirror each other) A single read request is served by the disk with the minimum access time A write is done in parallel to both disks – Write access time is maximum of both write times Data redundancy but twice the cost Recovery from a failure is simple

RAID Level 2 An error-correcting code is calculated across corresponding bits on each data disk, and the bits of the code are stored in the corresponding bit positions on multiple parity disks Hamming code is used, which is able to correct single-bit errors and detect double-bit errors it is costly than RAID 1 On a single read all disks are simultaneously accessed. The requested data and the associated error-correcting code are delivered to the array controller. If there is a single-bit error, the controller can recognize and correct the error instantly, so that the read access time is not slowed. On a single write, all data disks and parity disks must be accessed for the write operation

how does hamming code work?

Requires only a single redundant disk a simple parity bit is computed for the set of individual bits in the same position on all of the data disks. In the event of a drive failure, the parity drive is accessed and data is reconstructed from the remaining devices Performance: 1.very high data transfer rates because strip size is very small

Raid level 4 Uses independent access technique – each member disk operates independently, so that separate I/O requests can be satisfied in parallel suitable for applications that require high I/O request rates and are relatively less suited for applications that require high data transfer rates

Raid Level 5 Organised like RAID 4 Parity bits are distributed across the disks in a round robin fashion

Raid level 6 Two different parity calculations are carried out and stored in separate blocks on different disks Extremely high data availability Each write has to be updated in two parity blocks

Disk cache Disk cache is a buffer in main memory for disk sectors Contains a copy of some of the sectors on the disk When an I/O request is made for a particular sector, a check is made to determine if the sector is in the disk cache If so, the request is satisfied via the cache If not, the requested sector is read into the disk cache from the disk

Design consideration First, when an I/O request is satisfied from the disk cache, the data in the disk cache must be delivered to the requesting process – transferring the block of data within main memory from the disk cache to memory assigned to the user process – using a shared memory capability and passing a pointer to the appropriate slot in the disk cache

Design consideration Contd… replacement strategy LRU LFU

Least Recently used Replace that block that has been in the cache longest with no reference to it cache consists of a stack of blocks most recently referenced block on the top of the stack When a block in the cache is referenced, it is moved from its existing position on the stack to the top of the stack When a block is brought in from secondary memory, remove the block that is on the bottom of the stack and push the incoming block onto the top of the stack

Least Frequently used Replace that block in the set that has experienced the fewest references implemented by associating a counter with each block When a block is brought in, it is assigned a count of 1; with each reference to the block, its count is incremented by 1.When replacement is required, the block with the smallest count is selected.