Pattara Leelaprute Computer Engineering Department

Slides:



Advertisements
Similar presentations
Resource Management §A resource can be a logical, such as a shared file, or physical, such as a CPU (a node of the distributed system). One of the functions.
Advertisements

1.6 Behavioral Equivalence. 2 Two very important concepts in the study and analysis of programs –Equivalence between programs –Congruence between statements.
1 Fault-Tolerant Computing Systems #6 Network Reliability Pattara Leelaprute Computer Engineering Department Kasetsart University
Lauritzen-Spiegelhalter Algorithm
COE 444 – Internetwork Design & Management Dr. Marwan Abu-Amara Computer Engineering Department King Fahd University of Petroleum and Minerals.
“Devo verificare un’equivalenza polinomiale…Che fò? Fò dù conti” (Prof. G. Di Battista)
Approximation Algorithms Chapter 28: Counting Problems 2003/06/17.
The Theory of NP-Completeness
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
© 2011 Carnegie Mellon University Binary Decision Diagrams Part Bug Catching: Automated Program Verification and Testing Sagar Chaki September.
ELEC692 VLSI Signal Processing Architecture Lecture 4
Boolean Algebra Applications1 BOOLEAN ALGEBRA APPLICATIONS RELIABILITY OF CIRCUITS.
Path Protection in MPLS Networks Ashish Gupta Design and Evaluation of Fault Tolerance Algorithms with Performance Constraints.
Reliability of Networks. 1 2 B E D AC Simple 2 Terminal Networks Reliability of a 2 terminal network is the probability there is a connection between.
1 Simple Network Codes for Instantaneous Recovery from Edge Failures in Unicast Connections Salim Yaacoub El Rouayheb, Alex Sprintson Costas Georghiades.
1 Engineering Computation Part 4. 2 Enrique Castillo University of Cantabria An algorithm that permits solving many problems in Algebra. Applications.
CS541 Advanced Networking 1 Routing and Shortest Path Algorithms Neil Tang 2/18/2009.
Applications of Depth-First Search
Chapter 11: Limitations of Algorithmic Power
9-1 Chapter 9 Approximation Algorithms. 9-2 Approximation algorithm Up to now, the best algorithm for solving an NP-complete problem requires exponential.
1 The Theory of NP-Completeness 2 NP P NPC NP: Non-deterministic Polynomial P: Polynomial NPC: Non-deterministic Polynomial Complete P=NP? X = P.
KNURE, Software department, Ph , N.V. Bilous Faculty of computer sciences Software department, KNURE Discrete.
What is Fault Tree Analysis?
CSE 589 Applied Algorithms Spring Colorability Branch and Bound.
Introduction to Graph Theory
1 Source-to-all-terminal diameter constrained network reliability Louis Petingi Computer Science Dept. College of Staten Island City University of New.
1 Quantum query complexity of some graph problems C. DürrUniv. Paris-Sud M. HeiligmanNational Security Agency P. HøyerUniv. of Calgary M. MhallaInstitut.
Dept. of Electrical & Computer engineering
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
Combinatorial Optimization Minimum Cuts in Undirected Graphs Global Minimum Cuts.
1 Network Coding and its Applications in Communication Networks Alex Sprintson Computer Engineering Group Department of Electrical and Computer Engineering.
The minimum cost flow problem. Simplifying assumptions Network is connected (as an undirected graph). – We can consider each connected component separately.
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Diverse Routing Algorithms
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
CHAPTERS 5 & 6 CHAPTERS 5 & 6 NETWORKS 1: NETWORKS 1: October 2002 – Lecture 5b ROWAN UNIVERSITY College of Engineering Professor.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
An Introduction to Variational Methods for Graphical Models
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
1 3. System reliability Objectives Learn the definitions of a component and a system from a reliability perspective Be able to calculate reliability of.
Copyright 2004 Koren & Krishna ECE655/Koren Part.8.1 UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Fault Tolerant Computing ECE.
Network Flows. Menger ’ s Theorem Theorem 7.1. (Menger [1927] ) Let G be a graph (directed or undirected), let s and t be two vertices, and k  N. Then.
Chapter 8 Maximum Flows: Additional Topics All-Pairs Minimum Value Cut Problem  Given an undirected network G, find minimum value cut for all.
Variations of the Prize- Collecting Steiner Tree Problem Olena Chapovska and Abraham P. Punnen Networks 2006 Reporter: Cheng-Chung Li 2006/08/28.
Discrete Structures CISC 2315 FALL 2010 Graphs & Trees.
A Framework for Reliable Routing in Mobile Ad Hoc Networks Zhenqiang Ye Srikanth V. Krishnamurthy Satish K. Tripathi.
David Stotts Computer Science Department UNC Chapel Hill.
Chapter 9: Graphs.
R-customizers Goal: define relation between graph and its customizers, study domains of adaptive programs, merging of interface class graphs.
Stracener_EMIS 7305/5305_Spr08_ System Reliability Analysis - Multi State Models and General Configurations Dr. Jerrell T. Stracener, SAE Fellow.
CS623: Introduction to Computing with Neural Nets (lecture-7) Pushpak Bhattacharyya Computer Science and Engineering Department IIT Bombay.
Copyright 2007 Koren & Krishna, Morgan-Kaufman Part.12.1 FAULT TOLERANT SYSTEMS Part 12 - Networks.
Over Lesson 1–4 A.A B.B C.C D.D 5-Minute Check 1 A.V B.P C.Q D.R E.T F.S G.U Name the coordinates of the following points (1, 3) (2, 5) (3, 2) (4, 3) (6,
Series-Parallel Circuits. Most practical circuits have both series and parallel components. Components that are connected in series will share a common.
Overwiew of Various System Reliability Analysis Methods Kim Hyoung Ju 1.
A fault tree – Based Bayesian network construction for the failure rate assessment of a complex system 46th ESReDA Seminar May 29-30, 2014, Politecnico.
1 Minimum Routing Cost Tree Definition –For two nodes u and v on a tree, there is a path between them. –The sum of all edge weights on this path is called.
Fault Tree Analysis Using Binary Decision Diagrams
Fault-Tolerant Computing Systems #3 Fault-Tolerant Software
Minimum Spanning Tree 8/7/2018 4:26 AM
Coverage and Connectivity in Sensor Networks
Shortest-Paths Trees Kun-Mao Chao (趙坤茂)
Md. Abul Kashem, Chowdhury Sharif Hasan, and Anupam Bhattacharjee
Graphs.
CC 215 Data Structures Graph Terminology
5.4 T-joins and Postman Problems
FAULT TOLERANT SYSTEMS ecs. umass
Graphs.
GRAPHS.
Presentation transcript:

Fault-Tolerant Computing Systems #7 Network Reliability 2 & Sum of Disjoint Products Pattara Leelaprute Computer Engineering Department Kasetsart University pattara.l@ku.ac.th

Review

Network Network is made up of network component Network component Nodes Links (arcs, edges) connecting by HW or software component States of Network component Operational Failed

Network Reliability Problems Network Model Input: Probability that each component can operates normally Output:Network Reliability Network Model Undirected graph G = (V, E) (V=vertices, E=edges) Edge:operational or failed Pe = Pr [edge e is operational] = reliability of e Unnecessary to think about time (=availability)

Fault Model Situation of Network Pe = Pr [edge e is operational] = reliability of e v2 pa =0.9 pb =0.8 pc =0.9 pd =0.9 pe =0.95 a b e v1 v4 c d v3 Situation of Network …

Network Reliability k-terminal reliability Two terminal reliability K = set of nodes V = all nodes k-terminal reliability Probability that there exist operating paths between every pair of nodes in K Two terminal reliability Probability that there exist operating path between 2 nodes (|K| = 2) All terminal reliability Probability that there exist operating paths between all nodes (K=V)

Minpaths Pathset Minpath A set of components (edges) whose operation implies (guarantees) system operation Minpath A minimal Pathset Ex.K={v1,v4} v1 v4

Mincuts Cutset A set of components (edges) whose failure implies (guarantees) system failure Mincut A minimal Cutset Ex.K={v1,v4} v1 v4

Quiz v2 Minpaths of the system that 3 successively connected nodes are operating normally a b v1 e v4 c d v3

Computation of Reliability Complexity for two-terminal reliability and all terminal reliability NP-hard (#P-complete) Algorithms Efficient Algorithms for Restricted Classes Exponential time algorithm for general networks

Transformations and Reductions R(G) = (multiplicative factor) * R(G’) G’ = contraction of G R(G) = reliability of G R(G’) = reliability of G’ Contraction G, G’ = (contraction of G, G•e) Multiplicative factor = pe When e is mandatory (mandatory = an edge that appears in every minpath) u v G: G’: e u (= v)

Transformations and Reductions Parallel Reduction G, G’ Multiplicative factor = 1 Series Reduction p1 1- (1- p1) (1- p2) G: G’: p2 p1 p1 p2 p2 G: G’:

Series-Parallel Graphs A graph that can be contracted to one edge by using Series and Parallel Replacement Series Replacement Parallel Replacement There exists that algorithm to calculate K-terminal reliability in polynomial time.

An Example Series Replacement Parallel Replacement

An Example 1-(1-pe)(1- pbpd) pb pa pa pbpd pa pa pe pe pc pc pd pc pc(1-(1-pe) (1- pbpd)) p1 p1 p2 p2 p1 1- (1- p1) (1- p2) 1-(1-pa)(1-pc(1-(1-pe)(1- pbpd))) p2

Algorithm to calculate K-terminal reliability There exists an algorithm to calculate K-terminal reliability in polynomial time. Factoring Sum of Disjoint Products (SDP)

Factoring A Naïve approach Reliability calculation costs too much. … papbpc pd pe + (1-pa)pbpc pd pe + pa(1-pb)pc pd pe + … pa pb pc pd pe

Factoring Concept G Select one edge (e) R(G) = pe*R(G•e)+(1-pe)*R(G-e) G•e = graph obtained by contracting edge e in G G-e = graph obtained by deleting edge e in G G•e When G − e is failed, any sequence of contractions and deletions results in a failed network Hence there is no need to factor G − e. G e G-e

Sum of Disjoint Products (SDP)

Sum of Disjoint Products (SDP) Approach implemented by using Boolean algebra Ex. Two terminal reliability between v1, v4 Minpath: ab, cd, ade, bce v2 a b e v1 v4 Can be expressed with the following Boolean expression:  = AB ∨ CD ∨ ADE ∨ BCE c d v3

Sum of Disjoint Products (SDP) Reliability R(G) = Pr [AB ∨ CD ∨ ADE ∨ BCE = 1] Probability for each path which operates correctly can be simply calculated as follows: Pr[AB]=papb, Pr[CD]=pcpd, ... However, R(G) can not be directly calculated when there exists Pr of the paths which are not disjoint event (exclusive)

Sum of Disjoint Products (SDP) Reliability = Pr [AB ∨ CD ∨ ADE ∨ BCE] ¬A A ¬C C C ¬C ¬E E E ¬E ¬E E E ¬E papb ¬D B D D ¬B ¬D pcpd

Sum of Disjoint Products (SDP) SDP Algorithm Transform the Boolean expression so that each product term is exclusive for each other. AB ∨ CD ∨ ADE ∨ BCE = AB ∨ (¬A )CD ∨ (A¬B)CD ∨ (¬B)(¬C)ADE ∨(¬A)(¬D)BCE = AB ∨ (¬A ∨ A¬B)CD ∨ (¬B)(¬C)ADE ∨(¬A)(¬D)BCE Reliability = Sum of probability (Pr) of each product term Pr [AB ∨ (¬A ∨ A¬B)CD ∨ (¬B)(¬C)ADE ∨(¬A)(¬D)BCE] = papb + ((1-pa) + (pa(1-pb))pcpd + (1-pb)(1-pc)papdpe + (1-pa)(1-pd)pbpcpe

Sum of Disjoint Products (SDP) Reliability = Pr [AB ∨ CD ∨ ADE ∨ BCE] = Pr [AB ∨ (¬A ∨ A¬B)CD ∨ (¬B)(¬C)ADE ∨(¬A)(¬D)BCE] = papb + ((1-pa)+(pa(1-pb))pcpd + (1-pb)(1-pc)papdpe+(1-pa)(1-pd)pbpcpe ¬A A ¬C C C ¬C papb ¬E E E ¬E ¬E E E ¬E ¬D B D D ¬B ¬D