… General Decoder for a Linear Block Code … …

Slides:



Advertisements
Similar presentations
Disk Arrays COEN 180. Large Storage Systems Collection of disks to store large amount of data. Performance advantage: Each drive can satisfy only so many.
Advertisements

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 Array of Independent Disks
Hamming Code.
Lecture 12 Layer 2 – Data Link Layer Protocols
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)
Computer ArchitectureFall 2007 © November 28, 2007 Karem A. Sakallah Lecture 24 Disk IO and RAID CS : Computer Architecture.
Coding and Error Control
PART III DATA LINK LAYER. Position of the Data-Link Layer.
Lecture 9-10: Error Detection and Correction Anders Västberg Slides are a selection from the slides from chapter 8 from:
RAID Systems CS Introduction to Operating Systems.
Storage System: RAID Questions answered in this lecture: What is RAID? How does one trade-off between: performance, capacity, and reliability? What is.
Redundant Array of Inexpensive Disks (RAID). Redundant Arrays of Disks Files are "striped" across multiple spindles Redundancy yields high data availability.
Chapter 6 RAID. Chapter 6 — Storage and Other I/O Topics — 2 RAID Redundant Array of Inexpensive (Independent) Disks Use multiple smaller disks (c.f.
RAID Ref: Stallings. Introduction The rate in improvement in secondary storage performance has been considerably less than the rate for processors and.
Lecture 4 1 Reliability vs Availability Reliability: Is anything broken? Availability: Is the system still available to the user?
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Storage Systems.
CSE 321b Computer Organization (2) تنظيم الحاسب (2) 3 rd year, Computer Engineering Winter 2015 Lecture #4 Dr. Hazem Ibrahim Shehata Dept. of Computer.
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.
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.
RAID REDUNDANT ARRAY OF INEXPENSIVE DISKS. Why RAID?
1 Chapter 8. Coding and Error Control Wen-Shyang Hwang KUAS EE.
Error Detection. Data can be corrupted during transmission. Some applications require that errors be detected and corrected. An error-detecting code can.
Error Detection and Correction – Hamming Code
Error Detection and Correction
Computer Architecture Error Correcting Codes Ralph Grishman Oct (Text pp and B-65-67) NYU.
Introduction to RAID Rogério Perino de Oliveira Neves Patrick De Causmaecker
Part III: Data Link Layer Error Detection and Correction
ECE 442 COMMUNICATION SYSTEM DESIGN LECTURE 10. LINEAR BLOCK CODES Husheng Li Dept. of EECS The University of Tennessee.
I/O Errors 1 Computer Organization II © McQuain RAID Redundant Array of Inexpensive (Independent) Disks – Use multiple smaller disks (c.f.
CS Introduction to Operating Systems
Dr. Clincy Professor of CS
CSE 5345 – Fundamentals of Wireless Networks
A Case for Redundant Arrays of Inexpensive Disks (RAID)
Computer Architecture and Assembly Language
Multiple Platters.
Data Link Layer Objective: to achieve reliable and efficient communication between 2 adjacent machines Data link layer design issues services provided.
ERROR DETECTION AND CORRECTION
Cyclic Redundancy Check (CRC)
Cyclic Redundancy Check (CRC)
External Memory.
RAID, Programmed I/O, Interrupt Driven I/O, DMA, Operating System
RAID Non-Redundant (RAID Level 0) has the lowest cost of any RAID
Vladimir Stojanovic & Nicholas Weaver
Communication Networks: Technology & Protocols
Error Correcting Code.
Coding Theory Dan Siewiorek June 2012.
Error Detection Bit Error Rate(BER): It is the ratio of number Ne of errors appearing over a certain time interval t to the number Nt of 1 and 0 pulses.
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani
II. Linear Block Codes.
Lecture 28: Reliability Today’s topics: GPU wrap-up Disk basics RAID
RAID Disk Arrays Hank Levy 1.
Chapter 9 Error Detection and Correction
Information Redundancy Fault Tolerant Computing
TECHNICAL SEMINAR PRESENTATION
RAID Redundant Array of Inexpensive (Independent) Disks
UNIT IV RAID.
Coding and Error Control
COMPUTER NETWORKS CS610 Lecture-5 Hammad Khalid Khan.
Chapter 9 Error Detection and Correction
RAID Disk Arrays Hank Levy 1.
CS 325: CS Hardware and Software Organization and Architecture
Computer Architecture and Assembly Language
RAID RAID Mukesh N Tekwani April 23, 2019
Chapter 10 Error Detection and Correction
Presentation transcript:

… General Decoder for a Linear Block Code … … Received vector buffer register r r … r0 r1 rn-1 Syndrome calculation circuit General Decoder for a Linear Block Code … s0 s1 sn-1 Error-pattern-detecting circuit … e0 e1 en-1 r0 r1 rn-1 + + + v0 v1 vn-1 Corrected Output

CS501 Advanced Computer Architecture Lecture 33 Dr.Noor Muhammad Sheikh

Review

Operating System Interface

Parity Check Code

Hamming code

Redundant Array of Independence Disk

Hamming Code First class of linear codes devised for error correction

For any positive integer m<=3 ,a Hamming code with following parameters exists: Code Length: n=2m-1 Number of information symbols: k = 2m-1-m Number of parity-check symbols: n – k = m

Example For m=3, The parity-check matrix of Hamming code is (7,4) linear code.

Example: Encode 1011 Using the Hamming Code and Odd Parity Insert the data bits: P1 P2 1 P4 0 1 1 P1 is computed from P1 Å D3 Å D5 Å D7 = 1, so P1 = 1. P2 is computed from P2 Å D3 Å D6 Å D7 = 1, so P1 = 0. P4 is computed from P1 Å D5 Å D6 Å D7 = 1, so P1 = 1. The final encoded number is 1 0 1 1 0 1 1.

Example : Compute the Odd Parity SECDED Encoding of the 8-bit value 01101011 The 8 data bits 01101011 would have 5 parity bits added to them to make the 13-bit value P0 P1 P2 0 P4 1 1 0 P8 1 0 1 1. P1 = 0, P2 = 1, P4 = 0, and P8 = 0 we can compute that P0, overall parity, = 1, giving the encoded value: 1 0 1 0 0 1 1 0 0 1 0 1 1

CRC Generator Based on the Polynomial x16 + x12 + x5 + 1 1 2 3 4 5 6 7 8 9 1 1 1 1 2 1 3 1 4 1 5 Data

The number and position of XOR gates is determined by the polynomial. CRC does not support error correction but the CRC bits generated can be used to detect multibit errors. The CRC results in extra CRC bits, which are appended to the data word and sent along. The receiving entity can check for errors by recomputing the CRC and comparing it with the one that was transmitted.

RAID Level 0 … … … … Strip8 Strip4 Strip12 Strip0 Strip1 Strip10

RAID Level 0 Not a true member of the RAID family. Does not include redundancy to improve performance.

In few applications, capacity and performance are primary concerns than improved reliability. So RAID level 0 is used in such applications.

RAID Level 0 The user and system data are distributed across all the disks in the array. Notable advantage over the use of a single large disk. Two requests can be issued in parallel, requesting the I/O queuing time.

Performance of RAID Levels Performance of RAID Levels depends upon two factors: Request pattern of the host system Layout of the data

RAID Level 2 b0 … b1 … b2 … b3 … f0 (b) … f1(b) … f2(b) …

RAID Level 3 b0 … b1 … b2 … b3 … P (b) …

RAID 2 and RAID 3 Make use of parallel access techniques. All member disks participate in execution of every request. Spindles of the individual drives are synchronized

RAID 2 and RAID 3 Data striping is used. Strips are as small as a single byte or word. In RAID 2, error-correcting code is calculated across corresponding bits on each data disk.

Difference between RAID2 and RAID 3 RAID 3 requires only a single redundant disk. Instead of an error-correcting code, a simple parity bit is computed for the set of individual bits in RAID 3

RAID Level 4 … … … … … Block8 Block4 Block12 Block0 Block1 Block2 P(8-11) P(4-7) P(12-15) P(0-3) … Block5 Block6 Block7 Block9 Block10 Block11 Block13 Block14 Block15 … … …

RAID Level 5 … … … … … Block8 Block4 Block12 Block0 Block1 P(12-15)

RAID Level 4 Make use of independent access technique. Both RAID levels 4 and 5 are suitable for those applications which require high I/O requests rates, and less suitable which require high data rate transfer. Data striping is used. A bit-by-bit parity strip is calculated across corresponding strip on each data disk.

RAID 4 Involves a write penalty when an I/O write request of small size is performed. To calculate the new parity, the array management software must read the old user parity strip.

RAID 4 Each strip involves two reads and two writes. For large size I/O writes, parity is easily computed by calculation using only the new data bits. Parallel drives can be updated in parallel with data drives.