<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Stochastic Modelling of Large-Scale Distributed Computer Systems Functioning with Group Restorations</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Valery Pavsky</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kirill Pavsky</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Kemerovo Institute of Food Science and Technology (University)</institution>
          ,
          <addr-line>Kemerovo</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Rzhanov Institute of Semiconductor Physics Siberian Branch of Russian Academy of Sciences</institution>
          ,
          <addr-line>pr. Lavrentieva, 13, Novosibirsk, 630090</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <fpage>60</fpage>
      <lpage>67</lpage>
      <abstract>
        <p>The model of functioning of distributed computer systems with group restorations of failed machines is considered. The model is formalized in the form of a system of differential equations, in which are unknown probabilities of the states. The paper proposes solutions for calculating the mathematical expectation of the number of efficient machines and variances, which are the basis for creating indices of potential robustness. The investigation of the functioning of the CS under the assumption of the validity of the exponential law of failure of computers makes it possible, due to a well-developed theory, to obtain profound results, in contrast to the use of other distribution laws. And the obtained analytical solutions can be used for rapid analysis of the functioning of the CS.</p>
      </abstract>
      <kwd-group>
        <kwd>distributed computer systems</kwd>
        <kwd>mathematical model</kwd>
        <kwd>group restoration</kwd>
        <kwd>number of working machines</kwd>
        <kwd>analytical solutions</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The problem of the reliability of high-performance scalable computing devices,
including supercomputers and computer systems [1], increases with the number of
elementary machines (EM) [2], the number of which in such systems ranges from
several tens to hundreds of thousands [3]. Practice shows that in scalable computing
systems (CS) the time between different types of failures can be measured by hours [4,5].
The preservation of the efficiency of the CS in the conditions of failures [6-8], the
analysis of functioning with regard to robustness, is an urgent task.</p>
      <p>This work is devoted to the development of means for analyzing the efficiency of the
operation of larger-scale distributed CS [9, 10]. The queuing theory apparatus is used
as an analysis tool.</p>
      <p>The paper proposes formulas for calculating the mathematical expectation and
variance of the number of working machines, which are the basis for creating indicators
of potential robustness in group recovery [2]. The indices of potential robustness of
the CS take into account the fact that in the solution of problems all the working EMs
are used, the number of which is actually instant. This assumes that parallel programs
of complex tasks, when implemented on survivable CS, are capable of using the total
performance of all working EM systems. Assuming mathematical idealization, CS
can be regarded as a stochastic object.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Model of the CS functioning</title>
      <p>A stochastic model of the distributed CS operation is proposed, in which the EMs are
not absolutely reliable [2]. Each of them fails with  intensity. Out of order EM gets
into the restoration system and is waiting for resoration. At random moments of time,
the recovery is exercised by groups in r EM with  intensity (Fig.1). We believe that
at the initial time the system contains n EMs. As performance indices (evaluation of
potential viability), we use numerical characteristics – the mathematical expectation
of the number of effective EMs and its variance [2].</p>
      <p>Computer System Restoration System
In constructing the model of the functioning of the CS, we use the methods of
queuing theory, in which models of this class are formulated according to the
triedand-tested method – a system of differential equations is compiled, and the
probability distribution is considered as unknown functions. The analytical solution of such
systems is far from always available, even stationary [2]. Assuming further
mathematical idealization of the model, we believe that the number of EMs in the CS is
potentially infinite, which is permissible because of its scalability. From the formalized
system of differential equations of the model, we find an analytical solution, directly
for the moments, bypassing the probability distribution.</p>
    </sec>
    <sec id="sec-3">
      <title>Mathematical Model</title>
      <p>The queuing system (QS) with an infinite number of channels receives a Poisson
stream of packets with  intensity [11, 12]. Each packet consists of r requirements.
At any fixed time t  [ 0, ) , the QS is in one of a number of incompatible states Ck
where k is the number of requirements in the QS, including undeserved requirements.
The service time of each requirement is subject to an exponential distribution with a
parameter  . If the system is in the Ck state, then one of the k requirements leaves
the system with the k intensity. It is required to find the mathematical expectation
of the M ( t ) state number, in which the system is located when servicing the
requirements and the corresponding variance D( t ) , provided that M ( 0 )  n , D( 0 )  0 .
Figure 2 shows a graph-scheme of QS states that allows us to better understand the
relationship between the formulation of the model and its formalization by a system
of differential equations.</p>
      <p>c0</p>
      <p>c1
λ
2 λ
μ
c2
μ
  </p>
      <p>cr
rλ
(r 1)λ</p>
      <p>μ
cr1   
μ</p>
      <p>μ
cj
   cjr</p>
      <p>c jr1   
j λ
( j r)λ ( j r 1)λ</p>
      <p>Pk ( t ) denotes the probability that at the instant t the QS is in the state Ck , k = 0,1,…
The system of differential equations has the form:
P0'( t )  P0( t )  P1( t ),
Pk' ( t )  (   k )Pk ( t )  ( k  1 )Pk 1( t ), 0  k  r ,(*)
Pk' ( t )  (   k )Pk ( t )  Pk r ( t )  ( k  1)Pk 1( t ),
k  r.</p>
      <p>
        To find the mathematical expectation and variance, we apply the method of
generating functions. We transform the system of equations (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) so that in it the middle
equation (*), with sliding parameter k, would be obtained from the last equation, at 0&lt;k&lt;r.
For this, we set Pk r ( t )  0 , 0  k  r , then the system (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) will look as follows:
P0'( t )  P0( t )  P1( t ),

Pk' ( t )  (   k )Pk ( t )  Pk r ( t )  ( k  1)Pk 1( t ),
In accordance with the formulation of the model, we give the initial conditions
Pn ( 0 )  1 ; Pk ( 0 )  0 , k  n
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
and the normalization condition, which is a consequence of the formulation of the
model,

 Pk ( t )  1 .
k 0
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
To solve the system (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ), taking into account (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ), we introduce the generating function
F( z ,t )   z k Pk ( t ) .
      </p>
      <p>
        k 0
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
Multiplying the corresponding equation k of system (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) by z k and summing, we
obtain
 zk Pk' ( t )    zk Pk ( t )    kzk Pk ( t )    zk Pk r ( t )   ( k 1)zk Pk 1( t )
k 0 k 0 k 1 k 0 k 0
Expressing each term of the resulting equation in terms of the generating function and
reducing such terms, we obtain a linear equation for the generating function
 
      </p>
      <p>
        F( z,t )   (1  z r )F( z,t )   (1  z ) F( z,t ) . (
        <xref ref-type="bibr" rid="ref6">6</xref>
        )
t z
To find the mathematical expectation M ( t ) and the corresponding variance D( t ) ,
we use the method of moments [13].
      </p>
      <p>
        We take the derivative with respect to the variable z from the right and left sides of
(
        <xref ref-type="bibr" rid="ref6">6</xref>
        ), then
2 F( z,t )  rz r 1F( z,t )   (1  z r )  F( z,t )    F( z,t )   (1  z ) 2 F( z,t ) .(
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
zt z z
z 2
Assume  is a random variable characterizing the number of requirements in the QS.
From (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ) and the properties of the generating functions [13, 14] it follows that
      </p>
      <p>
        M  z F(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) , а D  22z F(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )  z F(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )   z F(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )2 .
      </p>
      <p>
        After the corresponding transformations over (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ) we obtain
  M ( t )  M ( t )  r ,
 t
  Q( t )  2Q( t )  2rM ( t )  r( r  1) , (
        <xref ref-type="bibr" rid="ref8">8</xref>
        )
 t
D( t )  Q( t )  M ( t )  M 2( t ),

where, on the basis of (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ), M ( 0 )  n, D( 0 )  0 .
      </p>
      <p>
        The solution for (
        <xref ref-type="bibr" rid="ref8">8</xref>
        ), taking (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) into account, will be
M ( t )  r   n  r et ,
    
D( t )  ( n2  n  r ( 2n 
 
 r( r  1)  M ( t )  M 2( t )
 2
For the stationary regime we have
r  ( r  1) ))e2t  r ( r  2 n  r et )  (
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
 2     
 r
M  ,
 
 r 2  r
D  ,
 2
  r 22 r .
      </p>
      <p>
        Figure 3 shows the calculation of the mathematical expectation with allowance for
(
        <xref ref-type="bibr" rid="ref10">10</xref>
        )
dispersion by formulas (
        <xref ref-type="bibr" rid="ref9">9</xref>
        ) at   10 1 1/hr,   103 1/hr, r  20 , n  104 EM.
      </p>
      <p>
        From formulas (
        <xref ref-type="bibr" rid="ref9">9</xref>
        ) and their graphical implementation (Fig. 3), it is also evident that
the robustness of the CS and high performance is provided by two thousand EM,
while reliability should be calculated on the basis of ten thousand EM. Therefore, in
order to achieve sufficient robustness, given the volume of the aircraft, it is necessary
to increase the reliability of the element base and other parameters associated with the
process of executing parallel programs.
      </p>
      <p>
        In Fig. 4 shows an example where the system is initially in a state of equilibrium
between failure and recovery ((
        <xref ref-type="bibr" rid="ref9">9</xref>
        ) and (
        <xref ref-type="bibr" rid="ref10">10</xref>
        )) for   5 102 1/hr,   104 1/hr, r  20 ,
n  104 EM. In Fig. 5 also shows the calculation of the root-mean-square deviation
for this case. It can be seen how quickly the system enters a stationary mode and it is
possible to estimate the limits of its potential performance.
Calculations of the mathematical expectation and dispersion of the number of
working machines in distributed scalable computing systems use a technique designed
primarily to assess the effectiveness of the functioning of predictive and projected
computing systems. Here the mathematical apparatus is used as a research method,
demonstrating not only the result, but also the prospects for its development. This is
the main advantage of analytical solutions - internal information meaningfulness
formulas to numerical and algorithmic approaches, using this device as a research tool.
The solution is obtained by the method of moments [13]. In the theory of queuing of
this type, models are usually formalized by systems of differential equations with
unknowns that form a probability distribution. As a rule, this is sufficient for
constructing a probability space. Consequently, any probabilistic characteristics
associated with the random value of this space can be obtained one way or another. In our
case, it is impossible to find an exact solution of the probability distribution, since,
even in the steady-state regime, complications arise that lead to an approximate
solution. The method of moments makes it possible to find an exact solution for the
moments of any order. In addition, finding an exact solution allows us to obtain
additional information that is inaccessible to an approximate solution. For example, the
number n, EM in the computer system, appears conditionally (in the initial conditions and
in the formulas for the transitional regime), but is absent in the systems of differential
equations (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ), (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) and in the formulas of the stationary regime – this is the property of
the Markov processes. In addition to the quantitative evaluation of the productivity of
the QS, a qualitative assessment is obtained – it is impossible to achieve any desired
pre-set performance by simply increasing the computing system by elementary
machines, without improving their parameters.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Dongarra</surname>
            <given-names>J. J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>A. J.</surname>
          </string-name>
          <article-title>van der Steen High-performance computer systems: Status and outlook</article-title>
          , Acta
          <string-name>
            <surname>Numerica</surname>
          </string-name>
          (
          <year>2012</year>
          ), pp.
          <fpage>1</fpage>
          -
          <lpage>96</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Khoroshevsky</surname>
            <given-names>V.G.</given-names>
          </string-name>
          <article-title>Architecture of computer systems</article-title>
          . Moscow: Bauman MSTU,
          <year>2008</year>
          , p.
          <fpage>520</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>TOP500</given-names>
            <surname>Supercomputers Official</surname>
          </string-name>
          <article-title>Site</article-title>
          . TOP500 Lists [website] [Electronic resource] / URL: http://www.top500.
          <source>org (16.05</source>
          .
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Nikolic</surname>
            <given-names>S.</given-names>
          </string-name>
          <article-title>High Performance Computing Directions: The Drive to ExaScale Computing</article-title>
          . // Proceedings of the
          <source>International Scientific Conference "Parallel Computing Technologies (ПаВТ</source>
          '
          <year>2012</year>
          ).
          <article-title>-</article-title>
          <string-name>
            <surname>Novosibirsk</surname>
          </string-name>
          ,
          <year>2012</year>
          , URL: http://pavt.susu.ru/2012/talks/Nikolic.pdf (
          <volume>16</volume>
          .
          <fpage>05</fpage>
          .
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Schroeder</surname>
            <given-names>В.</given-names>
          </string-name>
          ,
          <article-title>Gibson Garth A. A large-scale study of failures in high-performance computing systems //</article-title>
          <source>Proceedings of the International Conference on Dependable Systems and Networks (DSN2006)</source>
          , Philadelphia, PA, USA, June 25-28,
          <year>2006</year>
          ,
          <volume>10</volume>
          р.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Kalyaev</surname>
            <given-names>I.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Korobkin</surname>
            <given-names>V.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Melnik</surname>
            <given-names>E.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Malakhov</surname>
            <given-names>I.V.</given-names>
          </string-name>
          <article-title>Fault-tolerant control computer complex of a VVER-type reactor of a rechargeable nuclear reactor</article-title>
          // Mechatronics, Automation, Control. -
          <source>2003</source>
          .-No. 3. P.
          <volume>143</volume>
          -
          <fpage>146</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>S.</given-names>
            <surname>Di</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Bouguerra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Bautista-Gomez</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Cappello</surname>
          </string-name>
          .
          <article-title>Optimization of multilevel checkpoint model for large scale hpc applications</article-title>
          .
          <source>In Parallel and Distributed Processing Symposium</source>
          ,
          <source>2014 IEEE 28th International</source>
          , pages
          <fpage>1181</fpage>
          -
          <lpage>1190</lpage>
          , May
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Korneev</surname>
            <given-names>V.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Semenov</surname>
            <given-names>D.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Telegin</surname>
            <given-names>P.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shabanov</surname>
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>М</surname>
          </string-name>
          .
          <article-title>Fault-tolerant decentralized grid resource management // Izvestiya Vuzov</article-title>
          . Electronics.
          <year>2015</year>
          . No. 1,
          <string-name>
            <surname>P.</surname>
          </string-name>
          83-
          <fpage>89</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Vishnevsky</surname>
            ,
            <given-names>V.M.</given-names>
          </string-name>
          <article-title>Theoretical Foundations of Computer Network Design</article-title>
          .
          <string-name>
            <given-names>V.M.</given-names>
            <surname>Vishnevsky</surname>
          </string-name>
          . - Moscow: Technosphere,
          <year>2003</year>
          . - 512 p.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Khoroshevsky</surname>
            <given-names>V.G.</given-names>
          </string-name>
          <article-title>Models of analysis and organization of large-scale distributed computer systems</article-title>
          . // Electronic modeling. - Kiev,
          <year>2003</year>
          . - Vol.
          <volume>25</volume>
          , No.
          <volume>6</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Saati</surname>
            <given-names>T.L.</given-names>
          </string-name>
          <article-title>Elements of queuing theory and its applications</article-title>
          .
          <source>Ed. 3rd. - Moscow: The Book House "LIBROKOM"</source>
          ,
          <year>2010</year>
          . -
          <fpage>520p</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Kleinrok</surname>
            <given-names>L. Queuing theory. M .</given-names>
          </string-name>
          : Mechanical Engineering,
          <year>1979</year>
          . - 432 p.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Khoroshevsky</surname>
            <given-names>V.G.</given-names>
          </string-name>
          ,
          <article-title>Pavsky V.A. Calculating the efficiency indices of distributed computer system functioning// Optoelectronics, Instrumentation</article-title>
          and
          <string-name>
            <given-names>Data</given-names>
            <surname>Processing</surname>
          </string-name>
          .
          <article-title>-</article-title>
          <year>2008</year>
          . - V.
          <year>44</year>
          . -
          <fpage>№</fpage>
          2. - P.
          <fpage>95</fpage>
          -
          <lpage>104</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Gibson Garth</surname>
            <given-names>A.</given-names>
          </string-name>
          [Electronic resources] // Analyzing failure data: [сайт]. URL: http://www.pdl.cmu.edu/FailureData/ (
          <volume>27</volume>
          .
          <fpage>05</fpage>
          .
          <year>2017</year>
          г.).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>