scieee AI-readable full text Open interactive document viewer

Tight steady-state availability bounds using the failure distance concept

Carrasco, Juan A.

Abstract

Continuous-time Markov chains are commonly used for dependability modeling of repairable fault-tolerant computer systems. Realistic models of non-trivial fault-tolerant systems often have very large state spaces. An attractive approach for dealing with the largeness problem is the use of pruningmethods with error bounds. Several such methods for computing steady-state availability bounds have been proposed recently. This paper presents a new method which exploits the failure distance concept to bound more efficiently the behavior in the non-generated state space. It is proved that the bounding method gives tighter bounds than previous methods. Numerical analysis shows that the new bounds can be significantly tighter.

Full text

Tight Steady-State Availability Bounds using the Failure Distance Concept Juan A. Carrasco Departament d’Enginyeria Electr`onica Universitat Polit`ecnica de Catalunya Diagonal 647, plta. 9 08028 Barcelona, Spain [email protected] Except for formatting details and the correction of some errata, this version matches exactly the version published with the same title and authors in Performance Evaluation, vol. 34, no. 1, 1998, pp. 27–64 Abstract Continuous-timeMarkovchainsare commonlyusedfordependabilitymodelingof repairable fault-tolerant computer systems. Realistic models of non-trivial fault-tolerant systems often have very large state spaces. An attractive approach for dealing with the largeness problem is the use of pruning methods with error bounds. Several such methods for computing steady-state availability bounds have been proposed recently. This paper presents a new method which exploits the failure distance concept to bound more efficiently the behavior in the non-generated state space. It is proved that the bounding method gives tighter bounds than previous methods. Numerical analysis shows that the new bounds can be significantly tighter. Keywords: Repairable fault-tolerant computer systems; Steady-state availability; Continuous-time Markov chains; State space reduction; Bounds 1 Introduction Modeling plays an important role in the design, analysis and management of fault-tolerant computer systems. These systems are characterized by their stochastic behavior and, accordingly, probabilistic measures are used for their quantitative assessment. Many systems are seen by their users as simply providing service or not. For these systems, dependability measures such as the steady-state availability and reliability are appropriate. The steady-state availability is a useful measure for repairable systems when the long-term behavior is of interest. In some cases, this measure can be computed using combinatorial techniques [1] or closed-product solution queueing networks [14]. However, in general, the dependencies introduced by lack of coverage, failure propagation, operational configurations and maintenance are such that general-purpose, state-level model solution techniques are required. Continuous-time Markov chains (CTMCs) are often used to analyze the steady-state availability of systems with these dependencies and a number of tools for the specification and solution of CTMCs have been developed [2, 6, 9, 13, 15, 22, 25, 27]. The use of CTMC models is hampered by the generally exponential growth of the number of states with the structural complexity of the system. The “largeness” problem has been attacked from three directions1: (a) hierarchical model solution [25, 29], (b) state lumping techniques [8, 13, 18], and (c) bounding methods. Hierarchical model solution is possible when the components exhibit independent behavior or have restricted dependencies. State lumping requires the presence of symmetries in the modeled system. Bounding methods compute bounds using detailed knowledge of the model in a subset of generated states Gand bounding somehow the behavior in the nongenerated state space U. The first such method was developed by Muntz et al. [23] using results from [11, 12]. In the method described in [23] the subset Gincludes all states with up to Kfailed components and the behavior in Uis bounded by a submodel in which each state represents the subset Ukof Uincluding the states with a given number of failed components k. The bounding submodel includes “forward” transitions upper bounding failure rates and “backward” transitions lower bounding repair rates. A model has to be solved for each “return” state (state of Gwith exactly Kfailed components). In order to reduce the computational cost, a state cloning technique is proposed in [23] which modifies the return subset so that it includes the states with F < K failed components. The state cloning technique introduces some looseness in the bounds. Lui and Muntz [20] proposed a refinement of the method for the particular case F= 0 by including a reuse technique which, at the price of an additional looseness in the bounds, avoids a complete reapplication of the method each time Kis incremented in the search for the desired accuracy. The additional looseness was reduced in another paper from the same authors [21]. Souza e Silva and Ochoa [26] developed state space exploration techniques in which Gis generated incrementally following heuristics which try to obtain the tightest possible bounds for a given number of generated states. More recently [5] two algorithms have been proposed which obtain the bounds of the method described in [23] without state cloning, solving |W|+2 and 4 linear systems, where Wis the subset of integers ksuch that Ghas transitions to Uk. 1Simulation with accelerating techniques such as importance sampling [4, 16] is another approach. However, such methods only give a statistical assessment of the accuracy of the solution. 1 This paper describes a newmethod to compute bounds for steady-state availability. The method exploits the failure distance concept to bound more efficiently the behavior in Uand, thus, obtain tighter bounds. The rest of the paper is organized as follows. Section 2 establishes basic results which: (1) are needed to justify the method, and (2) provide a basis for comparison with the method described in [23]. The bounding method and more specific theoretical developments associated with it are given in Section 3. Section 4 includes implementation details and a summary algorithmic description of the bounding method. In Section 5 we show that the new method achieves bounds which are guaranteed not to be looser than the bounds given by the method described in [23] and compare the computational costs of the new method with the second algorithm given in [5]. Section 6 illustrates the performance of the method using large examples. Section 7 concludes the paper. 2 Preliminaries We consider models of repairable fault-tolerant systems made up of components which fail and are repaired. Components are grouped in classes, the components of the same class being indistinguishable. Thus, collections of components will be bags. The fault-tolerant system is assumed operational/down as determined by a coherent structure function [1] made up of atoms c[n], which evaluate to true when ninstances of component class care unfailed, connected by logical AND, OR operators. The structure function evaluates to true when the system is operational. In first instance, we will assume all minimal cuts of the structure function, i.e. all minimal bags of components whose failure implies the failure of the system, to be known. We will also show that the bounding method can be easily adapted to cover the case in which only the minimal cuts with up to a given cardinality Mare known. A fault-tree whose top event indicates the failure of the system can be easily constructed from the coherent structure function by exchanging the operators AND, OR and substituting the atoms c[inst(c)−n]for c[n], where inst(c)denotes the number of instances of component class cand the new atoms c[n′]evaluate to true when at least n′instances of component class care failed. Efficient existing procedures to compute minimal cuts [19, 24] are easily generalized to deal with bags of events (component failures). We have developed an efficient algorithm [7] for that task. The state of the system is modified by failure and repair events which occur at constant rates, which may depend on the state of the system. Repair events are assumed to involve only one component. Failure events may involve an arbitrary number of components. We will call failure bag any bag of components which may fail simultaneously (in a single transition). Edenotes the set of failure bags of the model, FC the set of different cardinalities of the failure bags of the model, and Ei,i∈FC the set of failure bags with cardinality i. We will assume known: (1) all failure bags of the model, (2) for each failure bag e, an upper bound λub(e)for the rate with which the components of efail simultaneously, and (3) lower bounds g(k)>0,k > 0for the repair rate from any state with kfailed components. It will also be assumed that efficient procedures exist for: (1) determining the bag of failed components F(x)in a given state xand (2) determining the failure bag associated with a failure transition. Finally, we assume that there is a single state owith no failed components. 2 G SUF+1UF+2UK+1UK+2UK+3 ... ... UN′ Figure 1: Structure of the CTMC models with the state cloning technique applied. The class of models just described is quite large and encompasses, for instance, all the models of repairable systems which can be specified by the SAVE modeling language [15]. Let X={X(t); t≥0}be the finite irreducible CTMC modeling the system and let Ωbe the state space of X. As in previous methods, bounds for the steady-state availability are computed using detailed knowledge of Xin a subset G(the generated states) and bounding the behavior of X in U= Ω−G. We will include in Gall the states of the model with up to agiven number Kof failed components. We will also adopt the state cloning technique proposed in [23]. The technique can be explained as a modification of Xin which clones of the states with a number of failed components > F and ≤Kare added to U, accounting for the visits to the corresponding states of Gafter the number of failed components has been made greater than Kand before it has fallen below F+ 1. Let Sbe the “return” subset, i.e. the subset of Gincluding the states through which the model can jump from Uto G. We will consider in Uthe partition ∪F+1≤k≤N′Uk,Uk={states with kfailed components}, where N′≤N,Nbeing the number of components of the system modeled by X. The single component repair transition hypothesis implies the absence of transitions from Ukto Ul, l < k −1and from Ukto G,k > F + 1. Fig. 1 illustrates the structure of X. Throughout the paper we will denote by λij,i, j ∈Ωthe transition rate from state ito state j, by λi=Pj∈Ωλij,i∈Ωthe output rate of state i, and by λiC =Pj∈Cλij,i∈Ω,C⊂Ωthe transition rate from ito subset C, all referred to Xunless otherwise stated. We will also consider a number of transient CTMCs Y. Each such CTMC Yhas a state space of the form B∪ {a}, where all states in Bare transient and ais an absorbing state, and has a well-defined initial probability distribution with P[Y(0) ∈B] = 1. We will denote by τ(i, Y ),i∈Bthe mean time spent by Y in ibefore absorption (τ(i, Y ) = R∞ 0P[Y(t) = i]dt). We will also use the notation τ(C, Y ) = Pi∈Cτ(i, Y ). It is well-known (see, for instance, [3]) that the mean times to absorption vector τ= (τ(i, Y ))i∈Bis the solution of the linear system τTA=−qT, where Ais the restriction of the transition rate matrix of Yto Band q= (P[Y(0) = i])i∈B. The expected number of times that a transition (i, j)with rate λij is followed is µij =τ(i, Y )λij . The result follows easily: µij =R∞ 0P[Y(t) = i]λij dt =λij R∞ 0P[Y(t) = i]dt =λijτ(i, Y ). It can be similarly shown that, given a partition B∪Bcof the state space of Xand assuming X(0) ∈B, the probability that X enters Bcthrough a state j∈Bcis Pi∈B′τ(i, YB)λij, where YBis the transient CTMC tracking Xtill the exit of B(YBhas state space B′∪ {a}, where ais an absorbing state and B′is the subset of Bincluding all states reachable before exit from Bfrom states with non-null initial probability, the same initial probability distribution and transition rates among states in B′as X, and transition 3 rates λ′ i,a =λi,Bc, so that YBenters awhenever Xexits B). Note that τ(i, YB)>0,i∈B′. Since the steady-state availability Ais typically very close to 1, it is more convenient to consider the complementary steady-state unavailability measure UA = 1 −A. With Ddenoting the subset of down states of Xand p= (pi)i∈Ωthe steady-state probability vector of X,UA is given by: UA =X i∈D pi. Let Xs,s∈Sbe the CTMC obtained from Xby redirecting to state sthe transitions from states in Uto S. Consider now the regenerative behavior of xswith Xs(0) = s(Xsmay be in general non-irreducible) defined by the times at which Xshits sfrom U. Let Tsand Csbe, respectively, the expected duration of a regenerative cycle and the expected down time between recurrences. Using semi-regenerative Markov process theory [10, Section 10.6] we have Theorem 1. There exist βs,s∈Swith βs>0,Ps∈Sβs= 1 such that UA = (Ps∈SβsCs)/(Ps∈SβsTs). Let UAsbe the steady-state unavailability computed from Xswith Xs(0) = s. Regenerative process theory gives UAs=Cs/Ts. We have Corollary 1. mins∈S{UAs} ≤ UA ≤maxs∈S{UAs}. Proof. The result follows easily from Theorem 1 considering that UAs=Cs/Ts. Denoting by CG,s and CU,s the contributions of, respectively, the states in Gand the states in Uto Cs, and by TG,s and TU,s the contributions to Ts, we have: UAs=CG,s +CU,s TG,s +TU,s . Assume that upper bounds [TU,s]ub and [CU,s]ub for, respectively, TU,s and CU,s are available. Let [UAs]lb =CG,s TG,s + [TU,s]ub ,(1) [UAs]ub =CG,s + [CU,s]ub TG,s + [CU,s]ub .(2) Then, we have: Theorem 2. [UAs]lb ≤UAs≤[UAs]ub, where [UAs]lb is given by (1) and [UAs]ub is given by (2). Proof. The proof of the lower bound is easy: UAs=CG,s +CU,s TG,s +TU,s ≥CG,s TG,s +TU,s ≥CG,s TG,s + [TU,s]ub . To prove the upper bound, let g(x) = (CG,s +x)/(TG,s +x). Its first derivative is dg/dx = (TG,s −CG,s)/(TG,s +x)2>0since CG,s < TG,s (the state ois operational and, since there is a path to ofrom any state in G,ois visited with non-null probability). Then, using CU,s ≤TU,s: UAs=CG,s +CU,s TG,s +TU,s ≤CG,s +CU,s TG,s +CU,s =g(CU,s)≤g([CU,s]ub) = CG,s + [CU,s]ub TG,s + [CU,s]ub . 4 Corollary 1 and Theorem 2 give the following lower and upper bounds [UA]lb,[UA]ub for UA: [UA]lb = min s∈S[UAs]lb ,(3) [UA]ub = max s∈S[UAs]ub .(4) TG,s and CG,s can be expressed in terms of the mean times to absorption vector of the transient CTMC Ys Gwith initial state stracking Xfrom still exit from G: TG,s =X i∈G τ(i, Y s G),(5) CG,s =X i∈G∩D τ(i, Y s G).(6) The derivation of [TU,s]ub and [CU,s]ub is more elaborate and is described and justified in the next section. This section ends with a result for transient CTMCs which is closely related to a similar result for irreducible DTMCs given in [11]. The result is used in the next section to justify the bounds [TU,s]ub and [CU,s]ub. Theorem 3 (Exact aggregation for transient CTMCs).Let Y={Y(t); t≥0}be a transient CTMC with state space B∪ {a}, where all states in Bare transient and ais an absorbing state, transition rates λij ,i∈B,j∈B∪ {a},i6=j, and initial probability distribution P[Y(0) = i] = πi, i∈B,Pi∈Bπi= 1. Assume τ(i, Y )>0for all i∈B. Let B1∪B2∪...∪Bnbe a partition of B. Then, there exists a transient CTMC Y′={Y′(t); t≥0}(the exact aggregation of Y) with state space {b1, b2...,bn} ∪ {a}, transition rates λ′ bk,bl=Pi∈Bkwk iλi,Bl,1≤k, l ≤n,k6=l and λ′ bk,a =Pi∈Bkwk iλi,a,1≤k≤n, with wk i>0,Pi∈Bkwk i= 1, and initial probability distribution P[Y′(0) = bk] = π′ k=Pi∈Bkπi, such that τ(bk, Y ′) = τ(Bk, Y ). Proof. See Appendix A. 3 Bounds [TU,s]ub and [CU,s]ub 3.1 Bounds [TU,s]ub Let fi=X e∈Ei λub(e).(7) [TU,s]ub,s∈Sis obtained using “bounding” transient CTMCs Yukwith initial state ukand the state transition diagram of Fig. 2(b), where for each state uland each i∈FC,l+i≤N, there is a transition with rate fifrom ulto ul+i. Let Yi U,i∈Ube the transient CTMC with initial state itracking Xfrom itill exit from Uand let Ti Ube the mean time to absorption of Yi U. Let Ys G,s∈Sbe the transient CTMC with initial state 5 ... ag' F +1( ) g' F +2 ( ) g' F +3( ) g' F +4( ) f1' F +1 ( ) f1' F +2 ( ) f1' F +3 ( ) f2' F +1( ) (a) uF+1uF+2uF+3uN' g' N'( ) ... a (b) uF+1uF+2uF+3uN f1f1f1 f2 g F +1 ( ) g F +2( ) g F +3( ) g F +4( ) g N( ) Figure 2: State transition diagrams of transient CTMCs Yj′ U(a) and Yuk(b). stracking Xfrom still exit from G. Noting that Pi∈Gτ(i, Y s G)λij is the probability that Xwith initial state s∈Swill enter Uthrough state j, we have TU,s =X j∈UX i∈G τ(i, Y s G)λijTj U=X i∈GX j∈U τ(i, Y s G)λijTj U.(8) Let T(k)be the mean time to absorption of Yuk. We will show that TU,s is upper bounded by [TU,s]ub = N X k=F+1 πs kT(k),(9) where πs k=X i∈G τ(i, Y s G)λi,Uk(10) is the probability that Xwith initial state s∈Swill enter Uthrough subset Uk. The proof requires the following lemma, closely related to the mean holding time lemma proved in [23]. Our version is required to prove Theorem 6. Lemma 1. Assume N′≤N. Let Y′={Y′(t); t≥0}be a transient CTMC with the state transition diagram of Fig. 2(a) and initial probability distribution P[Y′(0) = ui] = πi,F+ 1 ≤i≤N′, PN′ i=F+1 πi= 1. Let Y={Y(t); t≥0}be the transient CTMC with the state transition diagram of Fig. 2(b) and initial probability distribution P[Y(0) = ui] = πi,F+ 1 ≤i≤N′,P[Y(0) = ui] = 0,N′< i ≤N. Assume fj≥f′ j(i),g(i)>0,F+ 1 ≤i≤N, and g(i)≤g′(i),F+ 1 ≤i≤N′. Then, τ(ui, Y )≥τ(ui, Y ′),F+ 1 ≤i≤N′. Proof. For notational conciseness, let τi=τ(ui, Y ),τ′ i=τ(ui, Y ′). We will use as a basic tool the balance equation for a subset of states of a transient CTMC, which establishes that the initial probability of the subset plus the expected number of entries must be equal to the final probability of the subset plus the expected number of exits. The states uiof Yand Y′are transient and, therefore, have final probabilities equal to 0. 6 The balance equation applied to Y′and the subset {uF+1, uF+2,...,uN′}gives: 1 = τ′ F+1g′(F+ 1) ,(11) τ′ F+1 =1 g′(F+ 1) .(12) The balance equation applied to Y′and the subset {uF+1, uF+2,...,uk−1},F+ 1 < k ≤N′ gives k−1 X i=F+1 πi+τ′ kg′(k) = τ′ F+1g′(F+ 1) + k−1 X i=F+1 τ′ iX k−i≤j≤N′−i f′ j(i), which, using (11) and 1−Pk−1 i=F+1 πi=PN′ i=kπigives τ′ k= N′ X i=k πi+ k−1 X i=F+1 τ′ iX k−i≤j≤N′−i f′ j(i) g′(k).(13) Eqs. (12) and (13) define a recursive solution for τ′ k,k=F+ 1,...,N′. Analysis of Ygives similar equations for τk(it has been used P[Y(0) = ui] = 0 for N′< i ≤N): τF+1 =1 g(F+ 1),(14) τk= N X i=k πi+ k−1 X i=F+1 τiX k−i≤j≤N−i fj g(k)= N′ X i=k πi+ k−1 X i=F+1 τiX k−i≤j≤N−i fj g(k).(15) The result is proved inductively for k=F+ 1,...,N′. Since g(F+ 1) ≤g′(F+ 1), using (14) and (12): τF+1 =1 g(F+ 1) ≥1 g′(F+ 1) =τ′ F+1 . Assume τl≥τ′ l,F+ 1 ≤l < k. Using (15), g(k)≤g′(k),N′≤N,fj≥f′ j(i), and (13): τk= N′ X i=k πi+ k−1 X i=F+1 τiX k−i≤j≤N−i fj g(k)≥ N′ X i=k πi+ k−1 X i=F+1 τ′ iX k−i≤j≤N′−i f′ j(i) g(k)=τ′ k. Theorem 4. TU,s ≤[TU,s]ub, where [TU,s]ub is given by (9) and (10). Proof. Let l∈Ukand consider the exact aggregation Yl′ Uof Yl Ufor the partition ∪F+1≤k≤N′ lUl k, where Ul kis the subset of Ukincluding the states reachable from lbefore exit from Uand F+ 1 ≤ N′ l≤N′. The state transition diagram of Yl′ Ulooks like the state transition diagram of Fig. 2(a) with N′replaced by N′ l. Using the notation of Fig. 2(a) for the transition rates of Yl′ Uand invoking the exact aggregation theorem for transient CTMCs, we have f′ j(k) = Pi∈Ul kwk iλi,Uk+j;g′(k) = Pi∈Ul kwk iλi,Uk−1,F+ 1 < k ≤N′ l;g′(F+ 1) = Pi∈Ul F+1 wF+1 iλi,S; with wk i>0,Pi∈Ul kwk i= 7 1. Also, τ(Ul i, Y l U) = τ(ui, Y l′ U). The transition rates λi,Uk+j,i∈Ul kresult from contributions associated with failure bags involving jcomponents and, therefore, are upper bounded by fj. The transition rates λi,Uk−1,i∈Ul k,F+ 1 < k ≤N′ lare associated with repairs and, therefore, are lower bounded by g(k). Similarly, λi,S ,i∈Ul F+1 is lower bounded by g(F+ 1). Using wk i>0,Pi∈Ul kwk i= 1, we have f′ j(k) = Pi∈Ul kwk iλi,Uk+j≤Pi∈Ul kwk ifj=fj,g′(k) = Pi∈Ul kwk iλi,Uk−1≥Pi∈Ul kwk ig(k) = g(k),F+1 < k ≤N′ l, and g′(F+1) = Pi∈Ul F+1 wk iλi,S ≥ Pi∈Ul F+1 wk ig(F+ 1) = g(F+ 1). Also, since l∈Uk,P[Yl′ U(0) = uk] = 1,Yl′ Uand Yuksatisfy the conditions of Lemma 1. Then, using τ(Ul i, Y l U) = τ(ui, Y l′ U)and the lemma: Tl U= N′ l X i=F+1 τ(Ui, Y l U) = N′ l X i=F+1 τ(ui, Y l′ U)≤ N′ l X i=F+1 τ(ui, Y uk)≤ N X i=F+1 τ(ui, Y uk) = T(k). (16) Grouping in (8) the contributions of the states j∈Uaccording to the subsets Ukand using (16): TU,s =X i∈G N X k=F+1 X l∈Uk τ(i, Y s G)λilTl U ≤X i∈G N X k=F+1 X l∈Uk τ(i, Y s G)λilT(k) = X i∈G N X k=F+1 τ(i, Y s G)λi,UkT(k) = N X k=F+1 X i∈G τ(i, Y s G)λi,UkT(k) = N X k=F+1 πs kT(k). 3.2 Bounds [CU,s]ub The bounds [CU,s]ub are computed using the failure distance concept. Let xbe any state of X. Then, the failure distance from x,d(x), is defined as the minimum number of components which have to fail in addition to those already failed in xto take the system down. Since a state yis down if and only if m⊂F(y)for some m∈MC,d(x)can be computed as d(x) = min m∈MC |m−F(x)|,(17) where |b|denotes the cardinality of bag b. Let L= minm∈MC |m|. Let Uk,d be the subset of Uincluding the states with kfailed components and failure distance d. The pairs (k, d)for which Uk,d might be 6=∅are constrained by: F+ 1 ≤k≤N , dm(k) = max{0, L −k} ≤ d≤min{L, N −k}=dM(k). The constraints d≥0and d≤Lare obvious. The constraint d≥L−kresults from the fact that in any state xwith kfailed components, at most kcomponents are failed in any minimal cut m, implying |m−F(x)| ≥ |m| − k≥L−kand d(x)≥L−k. The constraint d≤N−k 8 with: T1=I(d= 0) −I(d+ 1 = 0) g(k), T2=I(k > F + 1) hI(d > L −k)C(k−1, d) + I(d≤L−k)C(k−1, d + 1) −I(d+ 1 > L −k)C(k−1, d + 1) −I(d+ 1 ≤L−k)C(k−1, d + 2)i, T3(i) = A(k, d, i)−A(k, d + 1, i) g(k), where A(k, d, i)is as defined in Proposition 2. (k, d)∈ R implies d≥0,d+1 >0, and T1=I(d= 0)/g(k)≥0. To show T2≥0, we consider the cases: (1) k=F+1, (2) k > F +1,d > L−k, and (3) k > F +1,d=L−k. These cases cover all the possibilities since (k, d)∈ R implies k≥F+1 and d≥L−k(see Fig. 3). In case (1), T2= 0. In case (2), T2=C(k−1, d)−C(k−1, d+1) ≥0. In case (3), T2=C(k−1, d + 1) −C(k−1, d + 1) = 0.T3(i)is ≥0by Proposition 2. Then C′(k, d)≥C′(k, d + 1). Theorem 7. Assume that F(k, d, i, r),(k, d, i, r)∈ R′and F(k, d, i, d),(k, d, i, d)∈ R′are decreasing on d. Then, the bounds C(k, d)obtained by algorithm Compute Cbounds(k, d)(Fig. 4) are correct and decreasing on d. Proof. We consider the algorithm split into phases and prove inductively that the bounds Cm(k, d), m≥0available at the beginning (m= 0) and after each phase m > 0are correct and decrease on d. Each phase includes the updating operations performed for a given value of k(loop of algorithm with control variable d). C0(k, d) = C(k), which are correct and decreasing (but, of course, not strictly) on d. Assume that the bounds available after phase m,Cm(k, d), are correct and decreasing on d. Let k′be the value of kfor which the bounds are updated in phase m+ 1. According to (22), Cm+1(k′, d)only depend on Cm(k, d)for k6=k′, and all Cm+1(k′, d)are computed using the same set of bounds Cm(k, d). Then, Proposition 1 guarantees that C′(k′, d)are correct, and Proposition 3 that they are decreasing on d. Using the induction hypothesis, this implies that Cm+1(k′, d) = min{Cm(k′, d), C′(k′, d)}are correct and decreasing on d. 3.3 Bounds F(k, d, i, r) Analysis of equations (22)–(24) reveals that the tighter the bounds F(k, d, i, r)are, the tighter the final bounds C(k, d)(and therefore [CU,s]ub) will be. Also, for the procedure to compute the bounds C(k, d)to be correct F(k, d, i, r),(k, d, i, r)∈ R′and F(k, d, i, d),(k, d, i, d)∈ R′must be decreasing on d. A set of bounds F(k, d, i, r)satisfying these requirements which is relatively inexpensive to compute and is quite tight for small values of kcan be derived using the concepts of importance and activity of failure bags. The importance Imp(e)of a failure bag eis defined as the minimum number of components which are left unfailed in any minimal cut affected by the failure bag. The activity Act(e)of a failure bag eis defined as the maximum number of components of the 15 failure bag in any minimal cut. Formally: Imp(e) = min m∈MC m∩e6=∅ |m−e|,(25) Act(e) = max m∈MC |m∩e|.(26) Consider a state xwith kfailed components and failure distance dand another state yreached from it through a failure bag ewith cardinality i. Thus, we have (17) d= minm∈MC |m−F(x)|. Clearly, d(y)≤d. Also, imposing (k+i, d(y)) ∈ R, we have (see Fig. 3) d(y)≤N−k−i. Therefore, we have d(y)≤min{d, N −k−i}. Lower bounds for |m−F(y)|,m∈MC can be derived as follows considering F(y) = F(x) + e. First, for m∩e=∅: |m−F(y)|=|m−F(x)−e|=|m−F(x)| ≥ d , and for m∩e6=∅ |m−F(y)|=|m−F(x)−e| ≥ |m−e| − |F(x)|=|m−e| − k . Also, for any e: |m−F(y)|=|m−F(x)−e| ≥ |m−F(x)| − |m∩e| ≥ d− |m∩e|. Then, assumming m∩e6=∅for some m∈MC for d(y)we have d(y) = min m∈MC |m−F(y)|= minnmin m∈MC m∩e=∅ |m−F(y)|,min m∈MC m∩e6=∅ |m−F(y)|o ≥minnd, min m∈MC m∩e6=∅ |m−e| − ko= min{d, Imp(e)−k}, and d(y) = min m∈MC |m−F(y)| ≥ min m∈MC{d− |m∩e|} =d−max m∈MC |m∩e|=d−Act(e). Since d(y)≤min{d, N −k−i}for all failure bags e∈Ei, the transition rate to states with failure distance ≤min{d, N −k−i}due to failure bags with cardinality iis upper bounded by F(k, d, i, min{d, N −k−i}) = X e∈Ei λub(e) = fi.(27) Consider now an rwith max{0, d −i} ≤ r < min{d, N −k−i}. If m∩e=∅for all m∈MC, ecannot reduce the failure distance. Assume m∩e6=∅for some m∈MC, since d(y)is lowerbounded by min{d, Imp(e)−k}and d−Act(e), only failure bags esatisfying Imp(e)−k≤rand d−Act(e)≤rcan lead to states with failure distance ≤r. The transition rate to such states due to failure bags with cardinality iis upper bounded by F(k, d, i, r) = X e∈Ei m∩e6=∅for some m∈MC Imp(e)≤k+r Act(e)≥d−r λub(e),max{0, d −i} ≤ r < min{d, N −k−i}.(28) 16 It is easy to check that the derived F(k, d, i, r),(k, d, i, r)∈ R′are decreasing on d. Also, for (k, d, i, d)∈ R′,F(k, d, i, d) = Pe∈Eiλub(e), independent on d, and, therefore, F(k, d, i, d) is (not strictly) decreasing on d. Thus, the derived F(k, d, i, r)bounds satisfy the requirements imposed by Theorem 7. 4 Implementation details and algorithmic description 4.1 An algorithmic technique to compute the bounds solving five linear systems of size |G| According to (1)–(4), [UA]lb and [UA]ub can be expressed as [UA]lb = min s∈SnCG,s TG,s + [TU,s]ub o,(29) [UA]ub = max s∈SnCG,s + [CU,s]ub TG,s + [CU,s]ub o.(30) Direct computation of TG,s,CG,s,[TU,s]ub and [CU,s]ub,s∈S, using (5), (6), (9), (10), (19) and (20), involves the computation of τ(i, Y s G),i∈G,s∈S. This can be done by solving the |S| linear systems: τsT GAG=−eT s, s ∈S , where τs G= (τ(i, Y s G))i∈G,AGis the restriction of the transition rate matrix of Xto G, and esis a vector with component associated to state sequal to 1 and all other components equal to 0. Clearly, this procedure is very expensive when |S|is large, as is the case when F > 0. Consider the transient CTMC’sYs Gwith a reward rate structure vi,i∈Gon them. The expected reward to absorption of Ys G,Vs, can be expressed as: Vs=X i∈G viτ(i, Y s G).(31) Let C′′ s=CG,s + [CU,s]ub,T′ s=TG,s + [TU,s]ub and T′′ s=TG,s + [CU,s]ub.[UA]lb and [UA]ub can be expressed in terms of them and CG,s as (29), (30): [UA]lb = min s∈SnCG,s T′ so,(32) [UA]ub = max s∈SnC′′ s T′′ so.(33) Combining (5), (6), (9), (10), (19) and (20), we can write CG,s,C′′ s,T′ s, and T′′ sin the form (31) with the reward rate structures vi,i∈G: vi=I(i∈D)for CG,s , 17 vi=I(i∈D) + N X k=F+1 dM(k) X d=dm(k) λi,Uk,d C(k, d)for C′′ s, vi= 1 + N X k=F+1 λi,UkT(k)for T′ s, vi= 1 + N X k=F+1 dM(k) X d=dm(k) λi,Uk,d C(k, d)for T′′ s. Then, we can adapt the second algorithm given in [5] to compute CG,s,C′ s,T′ S, and T′′ s,s∈S solving only 5 linear systems, irrespectively of |S|. Without loss of generality assume that state 1 is the only state oin Gwithout failed components, let qij =λij/λi, let the matrix: ˜ B=       1−q12 · · · −q1,|G| 0 1 · · · −q2,|G| ··· 0−q|G|,2··· 1       , and let the column vectors: ˜ C= ( ˜ CG,i)i∈G, ˜ C′′ = ( ˜ C′′ i)i∈G, ˜ T′= ( ˜ T′ i)i∈G, ˜ T′′ = ( ˜ T′′ i)i∈G, γ= (γi)i∈G, c= (I(i∈D)/λi)i∈G, c′′ = (I(i∈D)/λi+PkPd(λi,Uk,d /λi)C(k, d))i∈G, µ′= (1/λi+Pk(λi,Uk/λi)T(k))i∈G, µ′′ = (1/λi+PkPd(λi,Uk,d /λi)C(k, d))i∈G, ω= (λi,U /λi)i∈G. The systems to be solved are: ˜ B˜ C=c,(34) ˜ B˜ C′′ =c′′ ,(35) ˜ B˜ T′=µ′,(36) ˜ B˜ T′′ =µ′′ ,(37) ˜ Bγ=ω.(38) CG,s,C′′ s,T′ s,T′′ s,s∈Scan be computed from ˜ C,˜ C′′,˜ T′,˜ T′′ and γusing: CG,s =˜ CG,s +1−γs γ1 ˜ CG,1,(39) 18 C′′ s=˜ C′′ s+1−γs γ1 ˜ C′′ 1,(40) T′ s=˜ T′ s+1−γs γ1 ˜ T′ 1,(41) T′′ s=˜ T′′ s+1−γs γ1 ˜ T′′ 1.(42) The properties of the matrix ˜ Bensure the convergence of basic iterative methods (Gauss-Seidel and Jacobi) for the solution of the linear systems (34)–(38) (see [28] for the basic results and [5] for a detailed discussion). Experiments have shown that convergence under these methods is extremely fast [5]. Theoretical results explaining this fast convergence have also been obtained recently [17]. 4.2 Computation of failure distances In order to obtain the transition rates λi,Uk,d ,i∈Grequired by the method, it is necessary to compute the failure distances from the successors out of Gof the states in the frontier of G. Since G includes all states with up to a given number of failed components, those successors will be reached through failure transitions. Let ybe a successor of a state xin the frontier of Gand let ebe the failure bag causing the transition (x, y). The bag of failed components in yis F(x) + eand both F(x)and eare assumed to be known (see Section 3.1). Thus, we could compute d(y)using (17) as d(y) = min m∈MC |m−(F(x) + e)|.(43) However, such a procedure can be expensive if the number of minimal cuts is large. In this section we describe more sophisticated procedures which tend to be much less expensive when the number of minimal cuts is large. We start by introducing the concept of after minimal cut. The after minimal cut associated with a minimal cut mand a failure bag e∈Eis m′=m−e. Let AMCebe the set of after minimal cuts associated to failure bag e, i.e. AMCe={m′|m′=m−e, m ∈MC, m ∩e6=∅}. Then, the failure distance from any state reached from xthrough a failure transition with failure bag e, ad(x, e), can be obtained as ad(x, e) = min{d(x),min m∈AMCe |m−F(x)|} .(44) Thus, we can obtain ad(x, e),e∈Ecomputing d(x)by (17) and using (44). In this way the total number of minimal or after minimal cuts which are “touched” to compute ad(x, e),e∈E is |MC|+Pe∈E|AMCe|, which is typically much smaller than the number of minimal cuts which would be touched (|E||MC|) if the failure distances from all the successor states were computed using (43). Further reduction in the number of minimal cut “touches” and the associated overhead can be obtained by examining only minimal cuts or after minimal cuts which may reduce a known upper bound for, respectively, d(x)or ad(x, e),e∈E. We assume that minimal cuts are indexed by their cardinality and selectors of up to a given cardinality Rincluded in the minimal cut. The parameter Rcontrols the degree of selection in the access to minimal cuts. Larger values of R 19 Algorithm Compute d(F(x),L,d(x)) d(x) = L; for (increasing minimal cut cardinality cwhile c < d(x) + |F(x)|){ q= min{R, c −d(x) + 1}; for (each bag pof cardinality qincluded in F(x)) if (pis a selector of some minimal cut of cardinality c) for (each minimal cut mwith |m|=cand p⊂m) d(x) = min{d(x),|m−F(x)|}; } Figure 5: Algorithm to compute failure distances. yield fewer minimal cut “touches”, but more potential selectors have to be tested. We have found R= 2 to be a good tradeoff in general. We assume the same indexing structure for the collection of after minimal cuts. We describe next two algorithms: the first one computes d(x); the second one computes ad(x, e),e∈E, assuming d(x)known. The algorithm to compute d(x)initializes the upper bound for d(x),ub, to L= minm∈MC |m|. Since at most |F(x)|components can be failed in any minimal cut we only need to consider the minimal cuts mwith cardinality satisfying |m|−|F(x)|<ub, i.e. |m|<ub+|F(x)|. The minimal cuts to be considered can be further restricted by noting that |m−F(x)|cannot be <ub unless mcontains a selector p⊂F(x)and |m| − |p|<ub, i.e. |p| ≥ |m| − ub + 1. Thus, for each possible minimal cut cardinality c, we can restrict our attention to the minimal cuts of cardinality c containing selectors p⊂F(x)and |p|= min{R, c −ub+ 1}=q. Possible selectors p⊂F(x)can be obtained by generating all bags of cardinality qincluded in F(x). Then, if the selectors are kept in a hash table or a similarly efficient structure, it is possible to test whether each possible selector pis in fact a selector and, with the appropriate data structures, visit all minimal cuts of cardinality c including p. The discussion justifies the algorithm given in Fig. 5. Assuming d(x)known, similar ideas can be used to reduce the number of after minimal cuts which have to be examined to obtain ad(x, e),e∈E. To reduce the overhead associated with the control of the algorithm, only an upper bound adub for all ad(x, e),e∈Eis used. The after-failure distances ad(x, e)are initialized to min{d(x), Le}, where Le= minm∈AMCe|m|. The upper bound adub can be initialized to the maximum of the initial after-failure distances. d(x)and Le,e∈Eare passed to the algorithm. The algorithm is given in Fig. 6. 4.3 Computation of T(k)and C(k) T(k)and C(k)can be computed from the mean time to absorption vector of Yukusing (16) and (21), respectively. Letting τuk U= (τ(ui, Y uk))F+1≤i≤Nand denoting by AUthe restriction of the transition rate matrix of the CTMCs Yukto its transient states, τuk Ucan be obtained solving τukT UAU=−eT uk,(45) 20 Algorithm Compute all ad(F(x),d(x),Le, ad(x, e)) for (each e∈E) ad(x, e) = min{d(x), Le}; adub = maxe∈E{ad(x, e)}; for (increasing after minimal cut cardinality cwhile c < adub +|F(x)|){ q= min{R, max{1, c −adub + 1}}; for (each bag pof cardinality qincluded in F(x)) if (pis a selector of some after minimal cut of cardinality c) for (each after minimal cut mwith |m|=cand p⊂m){ Let ebe the failure bag associated to m; ad(x, e) = min{ad(x, e),|m−F(x)|}; } } Figure 6: Algorithm to compute after failure distances. where eukis a vector with the component associated with state ukequal to 1 and all other components equal to 0. Thus, in principle, T(k),C(k),F+1 ≤k≤Ncould be computed solving N−F linear systems (45). A more efficient procedure can however be developed as follows. Let λ(k) = g(k) + X i∈FC k+i≤N fi,(46) be the output rate from state ukof the state transition diagram of Fig. 2(b). Noting that T(k)is equal to the mean time in ukplus the mean time to absorption of Yuk′, with uk′being the next transient state visited, we obtain the equations: T(k) = 1 λ(k)+g(k) λ(k)T(k−1) + X i∈FC k+i≤N fi λ(k)T(k+i), F + 1 < k < N , (47) T(N) = 1 g(N)+T(N−1).(48) According to (21) C(k)is the mean time in ukif k≥Lplus C(k′), with uk′being the next transient state visited. Then, using L≤N: C(k) = I(k≥L) λ(k)+g(k) λ(k)C(k−1) + X i∈FC k+i≤N fi λ(k)C(k+i), F + 1 < k < N , (49) C(N) = 1 g(N)+C(N−1) .(50) Using (47) and (48) it is possible to solve recursively T(k),F+ 1 ≤k < N, in T(N), yielding: T(N−1) = T(N)−1 g(N),(51) T(k) = 1 g(k+ 1)hλ(k+1)T(k+1)−1−X i∈FC k+i+1≤N fiT(k+i+1)i, k =N−2,...,F+1 .(52) 21 Similarly, using (49) and (50) it is possible to solve recursively C(k),F+ 1 ≤k < N, in C(N), yielding: C(N−1) = C(N)−1 g(N),(53) C(k) = 1 g(k+ 1)hλ(k+ 1)C(k+ 1) −I(k+ 1 ≥L)−X i∈FC k+i+1≤N fiC(k+i+ 1)i k=N−2,...,F + 1 .(54) Then, it is enough to solve (45) for k=N, use (16) and (21) to compute, respectively, T(N)and C(N), use (51) and (52) to compute the remaining T(k)’s, and use (53) and (54) to compute the remaining C(k)’s. (45) for k=Ncan be solved efficiently with direct methods exploiting the fact that, under the state ordering uF+1,...,uN,AUhas an upper Hessenberg structure and all components except the last one of euNare 0 (the last component is 1). Defining νi=τ(ui, Y uN)/τ(uF+1, Y uN), the first N−F−1equations (i.e. all except the last one) give a triangular system on νi,F+2 ≤i≤Nwhich can be easily solved. Substituting then νiτ(uF+1, Y uN),F+ 1 ≤i≤N, for τ(ui, Y uN)in the last equation and using the solution for νi,F+ 2 ≤i≤Nfound in the previous step gives an equation on τ(uF+1, Y uN). Solving that equation and using τ(ui, Y uN) = νiτ(u1, Y uN),F+ 2 ≤i≤N we can obtain τ(ui, Y uN),F+ 2 ≤i≤N. The solution procedure can be described as follows: νF+1 = 1,(55) νi=1 g(i)hλ(i−1)νi−1−X F+1≤j≤i−2 i−j−1∈FC fi−j−1νji, i =F+ 2,...,N, (56) τ(uF+1, Y uN) = 1 λ(N)νN−X F+1≤i≤N−1 N−i∈FC fN−iνi ,(57) τ(ui, Y uN) = νiτ(uF+1, Y uk), i =F+ 2,...,N. (58) 4.4 Algorithmic description For the sake of clarity a summary algorithmic description of the bounding method is given in Fig. 7. We make reference to the key equations obtained so far and the algorithms which improve iteratively the bounds C(k, d)and compute the distance and after-failure distances given in Figures. 4–6. It should be noted that, since all states up to a given number Kof failed components are generated, all transitions exiting the generated subset Gare of the failure type. Thus, the distances to the successors out of Gof states in G(required to compute α(i),i∈Gand β(i),i∈G) can be obtained by combining the procedures Compute d() and Compute all ad() described in Section 4.1 as done in the algorithm. Also, we do not store explicitly the matrix ˜ B, since the elements of that matrix can be computed with little effort from the transition rates λij and the output rates λiof X restricted to G. 22 Algorithm Bound(K,F,tol,[UA]lb,[UA]ub) L= minm∈MC |m|; for (e∈E)Le= minm∈AMCe|m|; Compute fi,i∈FC using (7); Compute τ(ui, Y uN),F+ 1 ≤i≤Nusing (55)–/(58); Compute T(N)using (16); Compute λ(k),F+ 1 ≤k < N using (46); Compute T(k),k=N−1,...,F + 1 using (51), (52); Compute C(N)using (21); Compute C(k),k=N−1,...,F + 1 using (53), (54); Compute Imp(e), Act(e),e∈Eusing (25), (26); Compute F(k, d, i, r),F+ 1 ≤k≤N,max{0, L −k} ≤ d≤min{L, N −k}, i∈FC,i≤N−k,max{0, d −i} ≤ r≤min{d, N −k−i}using (27), (28); Compute fij(k, d),F+ 1 ≤k≤N,max{0, L −k} ≤ d≤min{L, N −k}, i∈FC,i≤N−k,max{0, k +d+i−N} ≤ j≤min{i, d}using (23), (24); Compute Cbounds(C(k),fij(k, d),tol,C(k, d)); Generate the state transition diagram of Xrestricted to G(states with up to K failed components) starting from the state without failed components (state 1); for (i∈G){ if (i∈D)ci=c′′ i= 1/λi; else ci=c′′ i= 0; µ′ i=µ′′ i= 1/λi; ωi= 0; Let Succ(i)be the set of successors of iin Xnot included in G; if (Succ(i)6=∅){ Compute d(F(i),L,d(i)); Compute all ad(F(i),d(i),Le, ad(i, e)); for (j∈Succ(i)){ Let ebe the failure bag associated to transition (i, j); k=|F(i)|+|e|,d=ad(i, e); c′′ i+= (λij/λi)C(k, d); µ′ i+= (λij/λi)T(k); µ′′ i+= (λij/λi)C(k, d); ωi+= λij/λi; } } } Let c= (ci)i∈G,c′′ = (c′′ i)i∈G,µ′= (µ′ i)i∈G,µ′′ = (µ′′ i)i∈G,ω= (ωi)i∈G; Solve by Gauss-Seidel the linear systems (34)–(38); Let Sbe the subset of Gincluding the states with Ffailed components; Compute CG,s,C′′ s,T′ s, and T′′ s,s∈Susing (39)–(42); Compute [UA]lb and [UA]ub using (32), (33); Figure 7: Bounding algorithm. 23 ... uF+1uF+2uF+3uN s S G λi,UF+1 λi,UF+2 f1f1f1 f2 g F +1( ) g F +2( ) g F +3 ( ) g F +4 ( ) g N( ) Figure 8: State transition diagrams of the CTMCs Xsused in the bounding method proposed in [22]. 5 Comparison In this section we compare the tightness of the bounds and the computational requirements of the method described here with those of the second algorithm given in [5], which obtains the same bounds as in [23] at a lower computational cost, especially for F > 0. We start by comparing the tightness of the bounds. In the method proposed in [23], bounds for UA are obtained using CTMCs X′ s,s∈Swith the state transition diagram shown in Fig. 8. The portion of X′ sbounding the behavior in U(states uF+1,...,uN) is identical to the state transition diagram of the transient CTMCs Yukconsidered in our method (Fig. 2(b)). Each X′ sis associated to a possible return state s∈S. The bounds obtained in [23] are: [UA]′ lb = min s∈S{[UAs]′ lb},(59) [UA]′ ub = max s∈S{[UAs]′ ub},(60) where [UAs]′ lb is obtained from the steady-state solution of X′ sby assuming operational the states uk,F+ 1 ≤k≤N; and [UAs]′ ub is obtained from the steady-state solution of X′ sby assuming down the states uk,F+1 ≤k≤N, (for both [UAs]′ lb and [UAs]′ ub, states in Gare taken operational or down as they truly are). Consider the regenerative behavior of X′ sdefined by the times at which X′ senters sfrom uF+1. Notice that the bounding portion of X′ sis entered once in each regenerative cycle and that the detailed portion (subset G) is entered through s. Given the relationships between X′ sand Ys G,Yuk, it is clear that the mean time spent by X′ sin the subset {uF+1,...,uN}in each regenerative cycle is [TU,s]ub. Then, using regenerative process theory: [UAs]′ lb =CG,s TG,s + [TU,s]ub ,(61) [UAs]′ ub =CG,s + [TU,s]ub TG,s + [TU,s]ub .(62) Comparing (61) with (1) we have [UAs]lb = [UAs]′ lb and, therefore (59), (3), [UA]lb = [UA]′ lb. Regarding [UA]ub and [UA]′ ub we have: Theorem 8. [UA]ub ≤[UA]′ ub and a sufficient condition for [UA]ub <[UA]′ ub is F+ 1 < L. 24 Table 5: Dependence of the bounds obtained by our method on Ffor the first example. We give, in this order, the lower unavailability bound, the upper unavailability bound, and the unavailability band. K= 2 K= 3 K= 4 3.2313 ×10−63.3167 ×10−63.3192 ×10−6 F= 0 3.4746 ×10−63.3239 ×10−63.3194 ×10−6 2.4322 ×10−77.1676 ×10−91.6469 ×10−10 3.2313 ×10−63.3167 ×10−63.3192 ×10−6 F= 1 3.4627 ×10−63.3237 ×10−63.3194 ×10−6 2.3133 ×10−77.0360 ×10−91.6254 ×10−10 3.2313 ×10−63.3167 ×10−63.3192 ×10−6 F= 2 5.2557 ×10−63.3465 ×10−63.3196 ×10−6 2.0244 ×10−62.9755 ×10−84.2746 ×10−10 3.3167 ×10−63.3192 ×10−6 F= 3 3.3694 ×10−63.3199 ×10−6 5.2746 ×10−86.9468 ×10−10 3.3192 ×10−6 F= 4 3.3202 ×10−6 9.6539 ×10−10 than Mfailed components and, therefore, are assumed down. In this region an increase of Mgives small improvements in the bounds. Substantial improvement in the bounds is achieved when Mis increased beyond K. In this region, a substantial portion of the non-generated states reachable from Gthrough failure transitions have failure distance >0and give contributions to [CU,s]ub which are much smaller than previously. The region in which substantial improvement occurs extends typically to M=K+ 2. Beyond that point, the bounds do not improve substantially. The results indicate that significant improvements over the bounds given by the method described in [23] can be obtained when M > K, and that the improvement obtained by increasing Mdecreases as M increases. We also obtain results for a third example with a substantially more complex structure function than the two previous examples. The example is a fault-tolerant distributed real-time system. The architecture of the system and its configuration for a particular pattern of failed components are shown in Fig. 12. A dual configuration of data processing units (DPUs) commands control subsystems located at remote sites. Each control subsystem comprises two redundant control units (CUs) working in hot-standby redundancy. The system can be accessed through two redundant front-ends connected to the DPUs. The DPUs and CUs communicate using a redundant local area network (LAN) to which each DPU and each CU has access through dedicated communication processors (CPs). Components fail at constant rates λFE,λDPU,λCU,λCP, and λL. Two failed modes are considered for the DPUs: “soft” and “hard”. The first mode occurs with probability αand can be 31 Table 6: Dependence of the bounds obtained by our method on Ffor the second example (we give, in this order, the lower unavailability bound, the upper unavailability bound, and the unavailability band). K= 3 K= 4 K= 5 4.5418 ×10−94.7207 ×10−94.7268 ×10−9 F= 0 5.3420 ×10−94.7498 ×10−94.7276 ×10−9 8.0016 ×10−10 2.9057 ×10−11 8.3150 ×10−13 4.5418 ×10−94.7207 ×10−94.7268 ×10−9 F= 1 5.3380 ×10−94.7497 ×10−94.7276 ×10−9 7.9612 ×10−10 2.8992 ×10−11 8.3053 ×10−13 4.5418 ×10−94.7207 ×10−94.7268 ×10−9 F= 2 5.2951 ×10−94.7487 ×10−94.7276 ×10−9 7.5325 ×10−10 2.7941 ×10−11 8.0948 ×10−13 4.5418 ×10−94.7207 ×10−94.7268 ×10−9 F= 3 4.5234 ×10−85.2878 ×10−94.7349 ×10−9 4.0693 ×10−85.6709 ×10−10 8.1446 ×10−12 4.7207 ×10−94.7268 ×10−9 F= 4 5.8329 ×10−94.7423 ×10−9 1.1122 ×10−91.5514 ×10−11 4.7268 ×10−9 F= 5 4.7497 ×10−9 2.2962 ×10−11 876543210 10-3 10-2 10-1 10 0 10 1 10 2 1, K=2 1, K=3 2, K=3 2, K=4 M relative unavailability band Figure 11: Relative band achieved for the first (1) and second (2) examples for several values of K and optimum Fwhen only minimal cuts up to cardinality Mare known (the band obtained with the method proposed in [23] corresponds to M= 0). 32 Table 7: Comparison of the method described in [23] with F=Kwith the method proposed here with optimum Ffor the two first examples (for each method, we give, in this order, the lower unavailability bound, the upper unavailability bound, and the unavailability band). example K[23] proposed improvement 1 2 3.2313 ×10−63.2313 ×10−616.6 |G|= 231 7.0744 ×10−63.4627 ×10−6 3.8430 ×10−62.3133 ×10−7 1 3 3.3167 ×10−63.3167 ×10−610.8 |G|= 1763 3.3927 ×10−63.3237 ×10−6 7.6022 ×10−87.0360 ×10−9 1 4 3.3192 ×10−63.3192 ×10−67.63 |G|= 10464 3.3204 ×10−63.3194 ×10−6 1.2400 ×10−91.6254 ×10−10 2 3 4.5418 ×10−94.5418 ×10−9107 |G|= 1771 8.5492 ×10−85.2951 ×10−9 8.0950 ×10−87.5325 ×10−10 2 4 4.7207 ×10−94.7207 ×10−959.5 |G|= 10616 6.3828 ×10−94.7487 ×10−9 1.6621 ×10−92.7941 ×10−11 2 5 4.7268 ×10−94.7268 ×10−937.7 |G|= 52916 4.7573 ×10−94.7276 ×10−9 3.0480 ×10−11 8.0948 ×10−13 33 FE FE DPU1 CP1a CP1b DPU2 CP2a CP2b CP11a CU11 CP11b CP12a CU12 CP12b CP21a CU21 CP21b CP22a CU22 CP22b CP31a CU31 CP31b CP32a CU32 CP32b CP41a CU41 CP41b CP42a CU42 CP42b CP51a CU51 CP51b CP52a CU52 CP52b failed componentactive component La Lb Figure 12: Architecture of the fault-tolerant distributed real-time system and a configuration of the system. recovered by an operator restart; the second mode occurs with probability 1−αand requires hardware repair. Coverage is assumed perfect for all faults except those of the DPUs, which take the system down with a probability 1−C. Lack of coverage is modeled by propagating the failure of one DPU to the other DPU. There are three repair teams. The first repairs LANs and CPs, with preemptive priority given to LANs. The second repairs FEs, CUs and DPUs in “hard” failed mode, with preemptive priority given first to DPUs, followed by FEs and then CUs. The third makes DPU restarts. Each team includes only one repairman. Failed components with the same priority are taken at random for repair. The repair rates are denoted by µFE,µDPUh,µDPUs,µCU,µCP, and µL. The system is operational if one unfailed DPU can communicate with at least one unfailed CU of each control subsystem. Different LANs can be used for communication between the active DPU and the active CU of each control subsystem, but the communication between each pair has to be direct, i.e. involving only one CP from each unit and one LAN. Fig. 12 illustrates the configurations which the system can adopt. Each such configuration includes an active DPU, an active CU and an active CP associated to the CU at each site. Depending on whether one or both LANs are used, the active DPU will have one or both CPs associated with it active. The front-ends can be conceptualized as instances of the same component type. However, the interconnection relationships make it mandatory to consider all other components as unique representatives of different component types. The resulting CTMC has about 4.6×1011 states. We use the sets of model parameter values given in Table 8. These sets are chosen to represent different scenarios. The values for failure and repair rates chosen for the sets a,band care meant to be typical, i.e. repair rate/failure rate ratios of four to five orders of magnitude. These sets only differ in the value chosen for C, the coverage to DPU failures. In set a, coverage failures are the dominant source of system failures; in set c, resource exhaustion is the dominant source; and in set b, both are important. Set dis obtained from set b by making all repairs 10 times slower; set eis obtained from set cby making failure rates 10 times slower. 34 Table 8: Sets of model parameter values for the fault-tolerant distributed real-time system. set a b c d e λFE 2×10−42×10−42×10−42×10−42×10−5 λDPU 10−410−410−410−410−5 λCU 10−410−410−410−410−5 λL10−510−510−510−510−6 λCP 5×10−55×10−55×10−55×10−55×10−6 α0.9 0.9 0.9 0.9 0.9 C0.99 0.999 0.9999 0.999 0.9999 µFE 1 1 1 0.1 1 µDPUh 1 1 1 0.1 1 µDPUs 4 4 4 0.4 4 µCU 1 1 1 0.1 1 µL0.5 0.5 0.5 0.05 0.5 µCP 1 1 1 0.1 1 Table 9 gives the results obtained with the method proposed in [23] without state cloning (F= K) and our method with optimum Ffor the five model parameter sets considered for the faulttolerant distributed real-time example. We increase Kuntil our method gives approximately two digits of accuracy, starting with K= 2 to have some down state in Gand a lower unavailability bound >0. We can note that in both methods the bounds are tighter as the repair rates of the model are comparatively faster in relation to the failure rates. However, comparison of the results for sets a,band cand K= 2 shows that the improvement achieved by our method is adversely affected by an increased importance of coverage failures. These failures can introduce both short paths to down states with significantly higher probabilities than the paths associated with resource exhaustion and dominant contributions to the band which offset the clear reduction achieved by our method in the contributions to the band associated with transitions from states in Gto operational states in U. Anyhow, the increased accuracy of our method is once more significant. Thus, for instance, to achieve the desired accuracy (two digits) using the method proposed in [23], we will need K= 3 instead of K= 2 for sets band c, and K= 4 instead of K= 3 for set d, with a significant increase in the number of detailed states (the number of detailed states is 112,050 for K= 4). The structure function of the third example has 512 minimal cuts: 8 of cardinality 2, 48 of cardinality 3, 96 of cardinality 4 and 360 of cardinality 6. Thus, it is a good example for analyzing the overhead due to the computation of failure distances. The storage overhead is only significant when the number of minimal cuts is comparable to the number of generated states. Thus, we will concentrate on the time overhead. We profiled the code for case c,K= 3 and F= 0, taking for the parameter Rof the algorithms given in Figs 5 and 6 the value 2. The bounds, including model generation, were obtained in 27.98 s in a SPARC10 workstation. There was an average of 35 Table 9: Comparison of the method described in [23] with F=Kwith the method proposed here with optimum Ffor the fault-tolerant distributed real-time system (for each case, we give, in this order, the lower unavailability bound, the upper unavailability bound, and the unavailability band). set K[23] proposed improvement a26.6983 ×10−76.6983 ×10−72.58 |G|= 861 7.5155 ×10−77.0147 ×10−7 8.1720 ×10−83.1641 ×10−8 a36.7277 ×10−76.7277 ×10−71.37 |G|= 11483 6.7291 ×10−76.7287 ×10−7 1.4297 ×10−10 1.0462 ×10−10 b22.3031 ×10−72.3031 ×10−77.35 |G|= 861 2.8832 ×10−72.3820 ×10−7 5.8018 ×10−87.8912 ×10−9 c21.8636 ×10−71.8636 ×10−710.1 |G|= 861 2.4200 ×10−71.9187 ×10−7 5.5648 ×10−85.5163 ×10−9 d21.7747 ×10−51.7748 ×10−54.84 |G|= 861 7.3899 ×10−52.9353 ×10−5 5.6151 ×10−51.1606 ×10−5 d31.9036 ×10−51.9036 ×10−52.18 |G|= 11483 1.9943 ×10−51.9452 ×10−5 9.0733 ×10−74.1579 ×10−7 e22.3136 ×10−92.3136 ×10−97.96 |G|= 861 2.3715 ×10−92.3208 ×10−9 5.7977 ×10−11 7.2874 ×10−12 36 about 11 minimal cut touches per state in the frontier (11,289 out of 11,483 were frontier states). This is a very small number considering that the model has 512 minimal cuts and 40 failure bags (and, thus, the trivial procedure based on (17) would involve 20,480 touches per generated state), and illustrates the efficiency of the techniques described in Section 4.1. The time overhead due to failure distance computation was 13.7%, but the overhead that depends on the number of minimal cuts touched was only 0.28%. Thus, we feel that the time overhead will remain of the order of 10% even when the number of minimal cuts is much larger. Computation of all minimal cuts using the algorithm described in [7] took 1.74 s. 7 Conclusions We have developed a new method to bound steady-availability which exploits the concept of failure distance. We have proved that the method gives bounds which are guaranteed to be not worse than the bounds achieved by a previous bounding method. Numerical experiments have shown that the improvement in tightness can be significant, especially for systems with high redundancy. We have shown that the overheads in time and storage of our method are small and are well paid off by the improved tightness. It remains to be seen whether the bounds proposed here can still be improved at a moderate computational overhead. The application of the concepts developed here to obtain tight bounds for other dependability and performability measures and their derivatives, as required for sensitivity analysis, can be undertaken in the future. Appendix A. Proof of Theorem 3 Without loss of generality, assume that the transient states of Yare sorted following the subset ordering B1, B2,...,Bn. For notational conciseness, let τi=τ(i, Y )and τ′ k=τ(Bk, Y ) = Pi∈Bkτi. Note that τ′ k>0. Let the vectors τ= (τi)i∈B,π= (πi)i∈Band let Abe the transition rate matrix of Yrestricted to B.τsatisfies the linear system τTA=−πT.(63) Let wk i=τi/τ′ k,i∈Bk,1≤k≤n. Note that wk i>0and Pi∈Bkwk i= 1. Defining the column vectors w(k) = (wk i)i∈Bk,π(k) = (πi)i∈Bk, we can rewrite (63) as τ′ 1w(1)T···τ′ nw(n)T    A11 ··· A1n ... An1··· Ann     =−π(1)T···π(n)T, where Akl are the blocks of Ainduced by the partition of B. This block decomposition gives the set of equations: n X k=1 τ′ kw(k)TAkl =−π(l)T,1≤l≤n . 37 Postmultiplying by 1, a column vector of all ones with appropriate dimension: n X k=1 τ′ kw(k)TAkl1=−π(l)T1,1≤l≤n . Defining π′ k=π(k)T1=Pi∈Bkπi,λ′ bk,bl=w(k)TAkl1=Pi∈Bkwk iλi,Bl,k6=l, and λ′ bk= −w(k)TAkk1, we get n X k=1 k6=l τ′ kλ′ bk,bl−τ′ lλ′ bl=−π′ l,1≤l≤n . Thus, τ′= (τ′ k)1≤k≤nsatisfies the linear system τ′TA′=−π′T, with π′= (π′ k)1≤k≤nand A′=       −λ′ b1λ′ b1,b2··· λ′ b1,bn λ′ b2,b1−λ′ b2··· λ′ b2,bn ··· λ′ bn,b1λ′ bn,b2· · · −λ′ bn       .(64) In summary, under the condition λ′ bk,a =λ′ bk−Pn l=1 l6=k λ′ bk,bl≥0,1≤k≤N,τ′ k=τ(Bk, Y )(<∞ since all states in Bof Yare transient) is the mean time to absorption in state bkof the transient CTMC Y′with state space {b1, b2,...,bN}∪{a}, transition rate matrix (64), and initial probability distribution P[Y′(0) = bk] = π′ k,1≤k≤N. The transition rates λ′ bk,blsatisfy the conditions of the theorem. It remains to be seen whether the transition rates to the absorbing state λ′ bk,a also satisfy those conditions and are ≥0. First, note that the output rates of Y′can be written as λ′ bk=−w(k)TAkk1=X i∈Bk wk iλi−X i∈Bk wk iλi,Bk. Then, using λ′ bk,a =λ′ bk−Pn l=1 l6=k λ′ bk,bland λia =λi−Pn l=1 λi,Bl: λ′ bk,a =λ′ bk− n X l=1 l6=k λ′ bk,bl=X i∈Bk wk iλi−X i∈Bk wk iλi,Bk− n X l=1 l6=kX i∈Bk wk iλi,Bl =X i∈Bk wk iλi− n X l=1 λi,Bl=X i∈Bk wk iλia ≥0. References [1] R.E. Barlow and F. Proschan, Statistical Theory of Reliability and Life Testing. Probability Models, McArdle Press, Silver Spring, 1981. [2] C. B´eounes, M. Agu´era, J. Arlat, S. Bachman, C. Bourdeau, J. E. Doucet, K. Kanoun, J. C. Laprie, S. Metge. J. Moreira de Souza, D. Powell and P. Spiesser, “SURF-2: A Program for Dependability Evaluation of Complex Hardware and Software Systems,” Proc. 23rd IEEE Int. Symp. on Fault-Tolerant Computing (FTCS-23), Toulouse, 1993, pp. 668–673. 38 [3] U. N. Bhat, Elements of Applied Stochastic Processes, 2nd edition, John Wiley and Sons, 1984. [4] J. A. Carrasco, “Failure distance-based Simulation of Repairable Fault-Tolerant Systems,” Computer Performance Evaluation. Modeling Techniques and Tools, Elsevier, 1992, pp. 351–365. [5] J. A. Carrasco, A. Calder´on and J. Escrib´a, “Two New Algorithms to Compute Steady-state Bounds for Markov Models with Slow Forward and Fast Backward Transitions,” Proc. 4th Int. Workshop on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, February 1996, pp. 89–95. [6] J.A. Carrasco and J. Figueras, “METFAC: Design and Implementationof a Software Tool for Modeling and Evaluation of Complex Fault-Tolerant Computing Systems,” Proc. of the 16th Int. Symp. on Fault- Tolerant Computing FTCS-16, 1986, pp. 424–429. [7] J. A. Carrasco and V. Su˜n´e, “An Algorithm to Find Minimal Cuts of s-Coherent Fault Trees with Event classes using a Decision Tree,” Proc. XII Conference on Design of Circuits and Integrated Systems, Sevilla, Spain, November 1997, pp. 279–284. [8] G. Chiola. C. Dutheillet, G. Franceschinis and S. Haddad, “Stochastic Well-Formed Colored Nets and Symmetric Modeling Applications,” IEEE Trans. on Computers, vol. 42, no. 11, November 1993, pp. 1343–1360. [9] G. Ciardo, J. Muppala and K. Trivedi, “SPNP: Stochastic Petri net Package,” Proc. 3rd IEEE Int. Workshop on Petri Nets and Performance Models (PNPM89), Kyoto, 1989, pp. 142–150. [10] E. C¸inlar, Introduction to Stochastic Processes, Prentice-Hall, 1975. [11] P.J. Courtois and P. Semal, “Bounds for the positive eigenvectors of nonnegative matrices and for their approximations,” J. of the ACM, vol. 31, no. 4, pp. 804–825, October 1984. [12] P.J. Courtois and P. Semal, “Computable bounds for conditional steady-state probabilities in large Markov chains and queueing models,” IEEE J. Select. Areas Commun,, vol. SAC-4, no. 6, pp. 926– 937, September 1986. [13] J. Couvillion, R. Freire, R. Johnson, W. Obal II, A. Qureshi, M. Rai, W. Sanders and J. Tvedt, “Performability modelling with UltraSAN,” IEEE Software, September 1991, pp. 69–80. [14] M. Dal Cin, “Availability Analysis of a Fault-Tolerant Computer System,” IEEE Trans. on Reliability, vol. R-29, no. 3, August 1980, pp. 265–268. [15] A. Goyal, W.C. Carter, E. de Souza e Silva, S.S. Lavenberg and K.S. Trivedi, “The System Availability Estimator,” Proc. of the 16th Int. Symp on Fault-Tolerant Computing FTCS-16, 1986, pp. 84–89. [16] A. Goyal, P. Shahabuddin, P. Heidelberger, V.F. Nicola and P.W. Glynn, “A Unified Framework for Simulating Markovian Models of Highly Dependable Systems,” IEEE Trans. on Computers, vol. 41, no. 1, pp. 36–51, January 1992. [17] P. Heidelberger, J. K. Muppala and K. S. Trivedi, “Accelerating Mean Time to Failure Computations,” IBM Research Report RC 20415, March 1996. [18] J.G. Kemeny and J.L. Snell, Finite Markov Chains, 2nd edition, Springer-Verlag, New York, 1978. [19] W.S. Lee, D.L. Grosh, F.A. Tillman and C.H. Lie, “ Fault Tree Analysis, Methods and Applications –A Review,” IEEE Trans. on Reliability, vol. R-34, no. 3, August 1985, pp. 194–203. 39 [20] J.C.S. Lui and R. Muntz, “Evaluating Bounds on Steady-State Availability of Repairable Systems from Markov Models,” in Numerical Solution of Markov chains, Marcel Dekker, New York, pp. 435–454, 1991. [21] J.C.S. Lui and R.R. Muntz, “Computing Bounds on Steady State Availability of Repairable Computer Systems,” Journal of the ACM, vol. 41, no. 4, July 1994, pp. 676–707. [22] S.V. Makam and A. Avizienis, “ARIES 81: A reliability and life-cycle evaluation tool for fault-tolerant systems,” in Proc. 12th Int. Symp. on Fault-Tolerant Computing FTCS-12, June 1982, pp. 266–274. [23] R.R. Muntz, E. de Souza e Silva and A. Goyal, “Bounding Availability of Repairable Computer Systems,” IEEE Trans. on Computers, vol. 38, no. 12, pp. 1714–1723, December 1989. [24] D.M. Rasmuson and N.H. Marshall, “ FATRAM-A Core Efficient Cut-Set Algorithm,” IEEE Trans. on Reliability, vol. R-27, no. 4, October 1978, pp. 250–253. [25] R.A. Sahner and K.S. Trivedi, “Reliability Modeling Using SHARPE,” IEEE Trans. on Reliability, vol. R-36, no. 2, pp. 186–193, June 1987. [26] E. de Souza e Silva and P.M. Ochoa, “State Space Exploration in Markov Models,” Performance Evaluation Review, vol. 20, no. 1, June 1992, pp. 152–166. [27] K.S. Trivedi, J.B. Dugan, R.R. Geist and M.K. Smotherman, “Hybrid reliability modeling of faulttolerant computer systems,” Comput. Elec. Eng., vol. 11, pp. 87–108, 1984. [28] R. S. Varga, Matrix Iterative Analysis, Prentice-Hall, 1962. [29] M. Veeraraghavanand K.S. Trivedi, “A Combinatorial Algorithm for Performance and Reliability Analysis Using Multistate Models,” IEEE Trans. on Computers, vol. 43, no. 2, pp. 229–234, February 1994. 40