COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 1:00-2:00 PM.

Slides:



Advertisements
Similar presentations
Distributed DBMSPage © 1998 M. Tamer Özsu & Patrick Valduriez Outline Introduction Background Distributed DBMS Architecture Distributed Database.
Advertisements

CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
Making Services Fault Tolerant
Soft. Eng. II, Spr. 2002Dr Driss Kettani, from I. Sommerville1 CSC-3325: Chapter 9 Title : Reliability Reading: I. Sommerville, Chap. 16, 17 and 18.
THE MANAGEMENT AND CONTROL OF QUALITY, 5e, © 2002 South-Western/Thomson Learning TM 1 Chapter 13 Reliability.
1 Making Services Fault Tolerant Pat Chan, Michael R. Lyu Department of Computer Science and Engineering The Chinese University of Hong Kong Miroslaw Malek.
Page 1 Copyright © Alexander Allister Shvartsman CSE 6510 (461) Fall 2010 Selected Notes on Fault-Tolerance (12) Alexander A. Shvartsman Computer.
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
March 13, 2001CSci Clark University1 CSci 250 Software Design & Development Lecture #15 Tuesday, March 13, 2001.
COT 4600 Operating Systems Spring 2011 Dan C. Marinescu Office: HEC 304 Office hours: Tu-Th 5:00 – 6:00 PM.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 9 Slide 1 Critical Systems Specification 2.
Copyright © Clifford Neuman and Dongho Kim - UNIVERSITY OF SOUTHERN CALIFORNIA - INFORMATION SCIENCES INSTITUTE Advanced Operating Systems Lecture.
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
High Performance Embedded Computing © 2007 Elsevier Lecture 5: Embedded Systems Issues Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte.
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
Ch. 1.  High-profile failures ◦ Therac 25 ◦ Denver Intl Airport ◦ Also, Patriot Missle.
COP 4600 Operating Systems Fall 2010 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 3:30-4:30 PM.
Building Dependable Distributed Systems Chapter 1 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
CprE 458/558: Real-Time Systems
Safety-Critical Systems 7 Summary T V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis.
CS 505: Thu D. Nguyen Rutgers University, Spring CS 505: Computer Structures Fault Tolerance Thu D. Nguyen Spring 2005 Computer Science Rutgers.
Fault-Tolerant Computing Systems #4 Reliability and Availability
Hwajung Lee. One of the selling points of a distributed system is that the system will continue to perform even if some components / processes fail.
Lecture 1N. Kandasamy1/14/2008 ECEC : Dependable Computing Systems N. Kandasamy 603 Bossone, ECE Department Lecture: Monday,
1 Fault-Tolerant Computing Systems #1 Introduction Pattara Leelaprute Computer Engineering Department Kasetsart University
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 1:00-2:00 PM.
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
Faults and fault-tolerance One of the selling points of a distributed system is that the system will continue to perform even if some components / processes.
1 Lecture 3: Pipelining Basics Today: chapter 1 wrap-up, basic pipelining implementation (Sections C.1 - C.4) Reminders:  Sign up for the class mailing.
COT 4600 Operating Systems Fall 2010 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 3:30-4:30 PM.
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
CS203 – Advanced Computer Architecture Dependability & Reliability.
COT 4600 Operating Systems Spring 2011 Dan C. Marinescu Office: HEC 304 Office hours: Tu-Th 5:00 – 6:00 PM.
Chapter 8 Fault Tolerance. Outline Introductions –Concepts –Failure models –Redundancy Process resilience –Groups and failure masking –Distributed agreement.
1 Introduction to Engineering Spring 2007 Lecture 16: Reliability & Probability.
Software Metrics and Reliability
Faults and fault-tolerance
Outline Introduction Background Distributed DBMS Architecture
Fault Tolerance & Reliability CDA 5140 Spring 2006
Software Reliability PPT BY:Dr. R. Mall 7/5/2018.
Fault Tolerance In Operating System
Software Reliability: 2 Alternate Definitions
COT 5611 Operating Systems Design Principles Spring 2014
Software Test Termination
COP 5611 Operating Systems Fall 2011
COT 5611 Operating Systems Design Principles Spring 2014
CGS 3763 Operating Systems Concepts Spring 2013
Fault Tolerance Distributed Web-based Systems
CGS 3763 Operating Systems Concepts Spring 2013
Faults and fault-tolerance
COT 5611 Operating Systems Design Principles Spring 2014
COT 5611 Operating Systems Design Principles Spring 2012
CGS 3763 Operating Systems Concepts Spring 2013
COP 5611 Operating Systems Spring 2010
COP 5611 Operating Systems Spring 2010
COP 5611 Operating Systems Spring 2010
COT 5611 Operating Systems Design Principles Spring 2012
COT 4600 Operating Systems Fall 2010
COP 5611 Operating Systems Spring 2010
COT 4600 Operating Systems Spring 2011
THE MANAGEMENT AND CONTROL OF QUALITY, 5e, © 2002 South-Western/Thomson Learning TM 1 Chapter 13 Reliability.
Fault Tolerance Distributed
Chapter 2 Operating System Overview
COT 5611 Operating Systems Design Principles Spring 2012
COT 5611 Operating Systems Design Principles Spring 2012
Tutorial 1.
CGS 3763 Operating Systems Concepts Spring 2013
Presentation transcript:

COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 1:00-2:00 PM

Lecture 13 Reading Assignment: Chapter 8 from the online textbook Homework 3 due on March 3 Midterm: Wednesday March 17, the first week after Spring Break Last time:  End-to-end-layer  Resource Management - Congestion Today:  Faults, Failures and Fault-Tolerant Design  Measures of Reliability and Failure Tolerance  Tolerating active Faults Next time

Reliable Systems from Unreliable Components Problem investigated first in mid 1940s by John von Neumann. Steps to build reliable systems  Error detection Network protocols (link and end-to-end)  Error containment – limit the effect of errors Enforced modularity: client-server architectures, virtual memory, etc.  Error masking – ensure correct operation in the presence of errors Network protocols: error correction, repetition, interpolation for data cu real- time constrains 3

Faults and errors Fault  a flaw with the potential to cause problems  Software  Hardware  Design  Implementation  Operation  Environment Types of faults  Latent  Active Error  the consequence of an active fault. 4

Error containment in a layered system Several design strategies are possible. The layer where an error occurs:  Masks the error  correct it internally so that the higher layer is not aware of it.  Detects the error and report its to the higher layer  fail-fast.  Stops  fail-stop.  Does nothing. Types of faults  Transient (caused by passing external condition)/Persistent  Soft /Hard  Can be masked or not by a retry.  Intermittent  occurs only occasionally and it is not reproducible Latency of a fault – time until a fault causes an error  A long latency may allow errors to accumulate and defeat periodic error correction 5

The fault-tolerance design process is iterative 1. Begin the design of a fault-tolerant model 1. Identify potential faults 2. Estimate the risk of each one 3. Design methods to detect the errors for the highest risk faults. 4. Design methods to deal with the errors for the highest risk faults 2. Contain the damage from high risk errors through modularity. 3. Design procedures to contain the errors detected by: 1. Temporal redundancy (retry the operation) 2. Spatial redundancy (deploy multiple components) 4. Update the model to account for the error masking procedures 5. Iterate until the probability of un-tolerated faults is small 6. Observe the system in the real world 1. Study the error logs 2. Identify the cause of each error 7. Use the information collected to improve the model and iterate again 6

Measures of reliability TTF – time to failure  MTTF – mean time to failure MTTF = 1/N ∑ TTF i TTR – time to repair  MTTR – mean time to repair MTTR = 1/N ∑ TTR i MTBF – mean time between failures MTBF =MTTF + MTTR Availability =MTTF/MTBF Down time = ( 1- Availability) = MTTR/MTBF 7

The conditional failure rate 8

Reliability functions Unconditional failure rate f(t) = Pr(module fails between t and t = dt) Reliability R(t) = Pr(module functions at time t given that it was functioning at time 0). This function is memoryless 9

10

11

12

13