<!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>Adaptive management of the order in which resources are provided to cloud users</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute for information recording of NAS of Ukraine</institution>
          ,
          <addr-line>Kyiv</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <fpage>220</fpage>
      <lpage>234</lpage>
      <abstract>
        <p>The review considers the issues of further development of the principles of creating adaptive infrastructures of cloud computing, capable of dynamically adapting to user requirements and current features and changes in operating conditions. Methods and analytical conditions for adapting the provision of resources to users of cloud computing have been developed. These conditions provide an opportunity to develop technology (mechanisms and algorithms) for the use of adaptive discipline (order) of providing computing resources to users. In turn, this allows you to meet the time requirements of different users to obtain timely computational results or make the most efficient use of available cloud computing resources. . This is relevant for real-time systems and, above all, for special information systems built using private clouds, and can be critical with limited computing resources of cloud computing. Analytical (formulaic) conditions of adaptation are developed on the basis of the corresponding indicators of efficiency and mathematical models of cloud calculations. The stochastic nature of the main factors and the need to quantify mass processes based on probability theory determines the use of the analytical model of cloud computing as a multi-threaded and multi-priority queuing system with queues with mixed service discipline. The model takes into account probable failures and various features and has arbitrary distribution laws for some probable processes. The model allows to calculate the time characteristic - the response time of the system in terms of features of operation and failures of cloud computing.</p>
      </abstract>
      <kwd-group>
        <kwd>cloud computing</kwd>
        <kwd>mathematical model</kwd>
        <kwd>discipline of computing resources provision</kwd>
        <kwd>mixed service discipline</kwd>
        <kwd>absolute and relative priorities</kwd>
        <kwd>time characteristics</kwd>
        <kwd>response time</kwd>
        <kwd>efficiency of cloud computing</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Creating adaptive infrastructures that are able to adapt to changing operating conditions
and maintain systems in optimal, and sometimes just in working order, is an important
direction in the development of modern global information and analytical systems using
cloud computing (СС) technologies. For such adaptation, a dynamic adaptive mixed
discipline of providing computing resources to users of СС is proposed [1,3].</p>
      <p>Consider two practical problems of dynamic adaptation of a mixed discipline of
resource provision with relative-absolute priorities. One of the main indicators of the
effectiveness of СС are indicators based on the assessment of the temporal characteristics
of these systems and which must be maintained at a given level. Such indicators can be
set by agreement between the supplier and user of СС and are especially important for
systems primarily for special information systems based on private clouds. Due to the
random nature of the computational process, there are additional delays in information
processing, the permissible limitations for the time of its stay in the СС are violated,
which negatively affects the effectiveness of solving target tasks of users.</p>
      <p>To ensure the required efficiency of СС in such situations, it is necessary to maintain
the time characteristics of the system at a given level. Given the shortage of computing
resources, this is possible only by increasing the efficiency of the computing process,
in particular, by adapting the discipline of service.</p>
      <p>Along with this, there is the problem of the most efficient use of available computing
resources at any time during the operation of the management of СС. This problem can
also be solved by adapting the discipline of service.
2</p>
      <p>Indicators of resource efficiency for users of cloud computing
The aim of the work is to develop methods and analytical conditions, adaptation of the
provision of computing resources to users of СС to ensure the time characteristics of
information and analytical systems and optimize the use of resources of СС.</p>
      <p>,
As an indicator of the effectiveness of СС we take the average total cost (fine) of
response time СС, time delay in the queue, waiting time in queues and time to provide
resources, ie stay in the СС as in the queuing system (QMS)) on applications
(requirements) of users.nTo do this, use the known functionality [3]:</p>
      <p>C (S )   iivi(s)</p>
      <p>i1
from whCat(we) haveM N  ( m , n )  ( m , n ) v ( ) ( m , n )
m  1n  1
where</p>
      <p> i - cost (fine) per unit of response time of СС (delays, stay in СС) of applications
of the i-th stream;
i - intensity of the i-th stream of applications;
v(S )
i</p>
      <p>- the average response time of СС applications of the i-th stream;
n - is the number of types of applications;
s - is a parameter that characterizes the method of organizing the computational
process;</p>
      <p>n  1, Nm ) - the average response time of СС applications
(m, n) -th stream;</p>
      <p> (m, n) - the unit cost of response time СС (delay in HO) applications (m, n) -th
stream;
 (m, n) - intensity (m, n) -flow.</p>
      <p>
        This efficiency indicator is based on the assumption that the results of the use of
resources by the user are depreciated in proportion to the time of their delay in the СС,
ie stay in the СС as in the QMS. Then the purposes of adaptation of the mixed discipline
of service will be either satisfaction of requirements of timely stay (m, n) of applications
in the system set by admissible values of this time, or minimization of functional (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ).
These goals are achieved by finding the appropriate optimal breakdowns into relative
and absolute priorities, ie the problems of adaptation of a mixed service discipline with
a relative-absolute priority are optimization problems, the general formulation of which
is discussed above.
      </p>
      <p>Since the above objectives of adapting a mixed service discipline can be achieved
with several different breakdowns of application flows into groups of absolute priority,
it is necessary to introduce an additional restriction on the choice of breakdown.</p>
      <p>The presence of absolute priority in HO requires some technological losses of
resources, which are proportional to the number of groups (levels) of absolute priority. In
this regard, it is necessary to consider the optimal breakdown, which ensures the
achievement of adaptation goals with a minimum number of groups of absolute priority
M.
be Tfohremnatlhlye(sce)o(tnmass,indf)eorlelodvwДpsr(:omb,lne)msof0adaptation of the mixed discipline of service can
v
  </p>
      <p>M  min
C ( )  min  0
  
M  min
.</p>
      <p>
        ;
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
      </p>
      <p>
        It is not possible to solve the problems of finding the optimal breakdown (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) and (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
using known analytical optimization methods. The only way to solve these problems is
a heuristic approach, which has no formal justification, but is based only on the
specifics of problems (mathematical models) and related understandings.
      </p>
      <p>
        From expressions (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) - (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) it follows that the achievement of the goals of adaptation
of the mixed service discipline is associated with the need to assess the value of the
average response time of СС (stay in СС) applications (m, n) -type v (m, n) on
resources. Therefore, there is a need to synthesize a mathematical model of СС with a
mixed discipline of providing computing resources (maintenance).
      </p>
      <p>Cloud infrastructure model class</p>
      <p>Development of mathematical models of cloud computing or information systems
created using clouds is an important area for identifying and improving their
characteristics [2…10]. Cloud computing is an object with a high level of uncertainty in the
operation process. Here, the external uncertainty of the flow of requests for computing
resources (СR) (environment) is complemented by the internal uncertainty of the СС
(object), which is associated with the presence or absence of the necessary СR,
accidental failures of the СС system, as well as the need to provide certain time
characteristics for many clients. . This determines the need for the introduction of adaptation into
the functioning of the СС.</p>
      <p>In addition, the introduction of adaptation into the process of functioning of СС is
associated with the need to maintain the system in optimal and sometimes simply
operational condition, regardless of the many external and internal factors that remove СС
from the required target state.</p>
      <p>Cloud computing (CС) is an object with a high level of uncertainty in the functioning
process, the main factors of which are [1]:
-probability of the flow of requests for computing resources (СR);
-the presence of the necessary PR and the randomness of the time of their use by
customers;
-accidental failures of the infrastructure of СС and the time of their elimination;
-the need to provide certain time characteristics for a number of customers, for
example, the response time of СС;</p>
      <p>-the need for optimal use of СR depending on the cost of delay time ordered by
customers, the results of calculations and operating conditions;</p>
      <p>-the need to introduce adaptation into the process of operation of the СС in order to
provide certain time characteristics for a number of customers and the optimal use of
СR.</p>
      <p>The stochastic nature of the main factors and the need to quantify mass processes
based on probability theory determines the use of queuing theory. Then it is possible
and expedient to use the technology of dynamic adaptive mixed discipline of providing
PR (service) to users of СС as mechanisms of adaptation of СС [1].</p>
      <p>Analytical models for subtraction of time characteristics in the conditions of features
of functioning of СС with use of mixed discipline of service with absolutely - relative
priorities and the account of failures are offered. Models are based on works [2, 3].
4</p>
      <p>Mathematical description of multi-threaded and
multipriority model of cloud infrastructure operation with queues
with mixed service discipline and failure adaptation.</p>
      <p>Let the input of the CC system, in which the discipline of service with a relatively
absolute priority is implemented, arrive N Poisson flows of applications of intensity
 (m, n) (m  1, M , n  1, Nm ) . These flows are aligned with N priorities [2].
able with a distribution function</p>
      <p>
        The duration of the maintenance of applications of priority (m, n) is a random
variBm, n (t) b(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) (m, n)
      </p>
      <p>, the first b (m, n) and the second
start point.</p>
      <p>An application of priority (m, n) whose service is interrupted by applications from
groups with 1, m 1, numbers is returned to the queue. Updating its service is possible
either after servicing all interrupted applications (maintenance discipline A), or after
servicing all interrupted applications and all applications for accumulated flows, the m
group with (m,1), (m, n 1) numbers (discipline of service upgrade B) .</p>
      <p>The serving device (CC) fails in accordance with the Poisson law with the 0
pain the queue, and if requests ni  0 are denied.
rameter. The period of recovery of the device is a random variable that has an arbitrary
distribution law Во(t) with the first b0 and second b02 initial moments.</p>
      <p>During the restoration of the service device, requests of some streams in the queue
are accepted, while others are not accepted. This condition is given by the matrix-row
of coefficients ni , i  1, N , , and in the case if requests of the ni  1 stream are accepted</p>
      <p>Adaptation to bounce will be that in the period of recovery device incoming
applications can either accumulate in the queue (discipline replenishment queue I), or
receive a refusal and leave the system (discipline replenishment queue II).</p>
      <p>Failure of the servicing device can occur both during its free state and during service
of the application. In the latter case, the renewal of the service is carried out either from
the interrupted application, if there are no applications interrupting its service, (the
discipline of the renewal of service C), or from applications of the senior relative priority
of the corresponding group, if any (discipline of renewal of service D).</p>
      <p>In case of repeated receipt of the servicing device, the interrupted application shall
be maintained from the place where it was interrupted. Within one priority, applications
are served in the order of receipt.</p>
      <p>The combination of service updating disciplines and queue replenishment allows
you to consider independent models of different types of systems that have the proper
designation. Different features of functioning consist of various combinations of
disciplines A, B, C, D, I and II.</p>
      <p>Let CC be in stationary mode, which RM  Kr McoNndition is for systems of type I,
RM     (m, n)
m1n1
and for systems of type II - RM  1 . Here
- total loading of the
device applications ( ( (m, n)   (m, n)b(m, n) - loading of the device (m, n) -
applications), and Kr  1/(1   0 ) - the system readiness coefficient ( ( 0  0b0 - loading the
device with refusals).</p>
      <p>It is necessary to determine the average v(m, n) time spent in the system of
applications of each (m, n) -priority, ie, the response time of the system CC.
5</p>
      <p>Definition of time characteristics of a model of a system of
type AS-I.</p>
      <p>To determine the average time of applications in the system (time response systems)
type AS-I use the known direct method [3].</p>
      <p>Let some application (j, k) be a priority in the system. The average duration of this
application in the system v (j, k) consists of the average waiting time in the queue w (j,
k) and the average service time b (j, k):
v( j, k)  w( j, k)  b( j, k) .</p>
      <p>The average waiting time in the queue w (j, k) consists of the average waiting time
before service and the average standby time in the interrupted state u (j, k):
w( j, k)  wН ( j, k)  u( j, k ) .</p>
      <p>The last term in this formula is due to the interruptions in the maintenance of the
application (j, k) -priority of applications from groups 1, j 1 and denials, that is:
u( j, k )  uЗ ( j, k)  u0 ( j, k ) .</p>
      <p>
        Average time from the beginning of service (j, k) - application to completion is the
average full time of service:
( j, k)  b( j, k)  u( j, k) . (
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
where
      </p>
      <p>Let's start with the calculation u (j, k), for which we apply the approach described in
[2].</p>
      <p>During the servjic1eN(mj, k) -supply on average will occur b( j, k ) j1 interruptions
 j1    (m, n)
m1n1</p>
      <p>the intensity of the total flow of interrupted
applications.</p>
      <p>As a result of these interruptions (j, k), the application returns tobth(ej,qku)Reuje1anadvewraaigtes
for the termination of service interruptions that will continue in</p>
      <p>where
units of time j1Nm</p>
      <p>
        R j1    (m, n)b(m, n)
m1n1
.
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
During this time, applications from groups 1, j 1 will be received, which will lead
2
to an increase in waiting time (j, k) - applications for value b( j, k)R j1 . In addition, the
service of these applications will be accompanied by additional accumulation of
applications of the same priorities, requiring service before (j, k) -payment. This process is
endless, with supplements to the waitRinjg1tim1e (j, k) -positions form a declining
geometric progression with a denominator . The sum of members of such geometric
progression is the mean time of all service interruptions (j, k) -request:
Т (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )  b( j, k )
      </p>
      <p>R j1
1  R j1 .</p>
      <p>K r  R j1 .</p>
      <p>
        Т (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
In the mean time Т (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) , the device will fail 0 , resulting in it will be restored
Т (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )0b0  Т (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) 0 units of time. Since in the system type AS-I during the period
within
of recovery the device again receives applications that continue to accumulate in the
queue, then after the device is restored, the average waiting time (j, k) -supply in the
2
inteТrr(u2)ptedТs(1ta) te wilRl jin1crease by R j1
 0  b( j, k ) 0
1  R j1
(1  R j1)2
.
results, Зw(ej,gke)t: b( j, k )
      </p>
      <p>u</p>
      <p>During this time there may be a refusal of the device, the restoration of which will
be accompanied by the accumulation of new applications served before (j, k)
-payments, etc.</p>
      <p>
        The total time of all applications service interruptions (j, k) -priority of 1, j 1
apuЗ ( j, k )  Т (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )  Т (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )    Т ()
plication groups, taking into account device refusals
. This expression represents the sum of two infinitely decreasing geometric
progressions. After calculating the sum of the members of each of them and compiling the
      </p>
      <p>R j1
crease by</p>
      <p>1  R j1 .</p>
      <p>Similarly, the average waiting time (j, k) is determined in the interrupted state due
to device refusals u0 ( j, k ) . The only difference is the beginning of reasoning. During
the service (j, k) -supply, the device will fail on b( j, k )0 average, which will result in
its restoration within b( j, k ) 0 units of time. Taking into account the possibility of
accumulation in the period of device renewal and priority service of applications with
absolute priority fromR1,jj11 group, the average waiting time (j, k) -payments will
inb( j, k ) 0
During this time, the device can agba(inj, kb)ed2eniRedj ,1which additionally increases the
0
1  R j1 etc.</p>
      <p>
        (
        <xref ref-type="bibr" rid="ref6">6</xref>
        )
(
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
(
        <xref ref-type="bibr" rid="ref8">8</xref>
        )
(
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
(
        <xref ref-type="bibr" rid="ref10">10</xref>
        )
waiting time (j, k) - request for value
      </p>
    </sec>
    <sec id="sec-2">
      <title>In the final analysis,uw0 e( jg,ekt):  b( j, k )</title>
      <p>Kr 0</p>
      <p>Kr  R j1 .</p>
      <p>Kr  R j1
Then the total average waiting tRimje1(j, Kk)r-re0quest in the interrupted state:
u( j, k )  b( j, k )
and the total average service time (j, k) -request:</p>
      <p>
        Now calculate wН ( j, k ) . Before (j, k) -request entered the system for the first time,
the following should be done:
1) the device is restored
2) an application has been served from 1, j or groups of submissions of the served
application from the j 1, M
3) service requests from
groups;
2, j groups interrupted by applications from 1, j 1
groups;
4) service requests from 1, j groups interrupted by denials of the device;
5) existing requests for streams with numbers (
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        ), ( j, k) are served;
6) serviwceН r(ejq,uke)stsf0lowed( jw,kit)hnu(mj,bke)rs(10,1()j,,(kj), k 1) received during the waiting
time (j, k) -rejq1uNemst, taking into accounkt device refusals.
      </p>
      <p>   wН (m, n) (m, n)   wН ( j, n) ( j, n) 
For the avmer1ang1e duration of these enve1nts, we write the equation:
 [ 0  zН ( j, k)]</p>
      <p>R j,k 1
Kr  R j,k 1
 zН ( j, k)</p>
      <p>Kr 0</p>
      <p>Kr  R j,k 1 .
( j, k )  b( j, k )</p>
      <p>
        1
(11)
(12)
(m, n)  b(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) (m, n) / 2b(m, n) ;
- average time to receive applications
1, j 1:
      </p>
      <p> (m, n)</p>
      <p>Km1
tion by the devj icNemin thRempr1esence (j, k) -request:
 ( j, k)     (m, n)(m, n)</p>
      <p>m2 n1 Kr  Rm1
from 2, j groups interrupted by applications from groups
Kr 0 - probabjiNlitmy of recovery of the device [2],
 ( j, k )     (m, n)(m, n)</p>
      <p>
        m1n1
Here
 0  Kr 00 - average time for updating the device in the presence (j, k) -position:
0  b0(
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) / 2b0 ;
- average time for the maintenance of the
applicaprobability of staying in queue (m, n) - applications, interrupted by applications from
1, m 1 groups. This probability is determined by the formula (
        <xref ref-type="bibr" rid="ref8">8</xref>
        ), taking into account
the intensity  (m, n) of the flow (m, n) -payments;
      </p>
      <p> (m, n)(m, n)
cationKsfrro0m 1, j groups interrupted by device refusals
 (m, n)</p>
      <p>
        - the probability that the queue has (m, n)-applications,
interrupted by the denial of the device. This probability is determined on the basis of (
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
with account  (m, n) ;
      </p>
      <p>zН ( j, k ) - average waiting time (j, k) - application, equal to the sum of the
considered componjen1tNsmwithout ackco1unting  0 ;</p>
      <p>R j,k1     (m, n)    ( j, n)
m1n1 n1</p>
      <p>.</p>
      <p>Note that in each queue there can be jnoNmmore than one application interrupted by
applicwatНio(njs, kw)ith abso1lute prKior2rity0or0 denial. 1 </p>
      <p>After simple trKanrsfoRr mj,kations from eqmua1tnio1nK(1r2) Rwmeo1btain the following recurrence

relation: j1Nm
  (m, n)(m, n)    wН (m, n) (m, n) 
m1n1</p>
      <p>- average time of subscription of
applik 1
  wН ( j, n) ( j, n)</p>
      <p>n1
where</p>
      <p>j1Nm k
R j,k     (m, n)    ( j, n)
m1n1 n1</p>
      <p>(13)
- for the first flow</p>
      <p>To obtain a formula for explicit determination, we analyze the relation (13) for
"pure" service disciplines with a relative and absolute priority.</p>
      <p>For the discipline of service wit3h a relativNe1 priority we receive:</p>
      <p>
        Kr  00    (1, n)(1, n)
wН (
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        )  n1
      </p>
      <p>
        Kr [Kr   (
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        )]
,
- for the second flow.
      </p>
      <p>
        These formulas allow us to assume a general solution in the form:
wН (
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ) 
      </p>
      <p>N1
3
Kr  00    (1, n)(1, n)</p>
      <p>
        n1
[Kr   (
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        )][Kr   (
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        )   (
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        )] .
      </p>
      <p>
        For the discipline of service with absolute priority (M  N ,
m  1, M ) of the expression (13) we obtain:
Nm  1 for all
• for the floKwr3of th0efirs(t1g,1r)ou(p1,1)
wН (
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        )  0
      </p>
      <p>
        Kr [Kr   (
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        )]
      </p>
      <p>
        ;
•wfНor(2th,1e) floKwr3of0the0 seco(1n,1d)gr(o1,u1p)  (
        <xref ref-type="bibr" rid="ref1 ref2">2,1</xref>
        )(
        <xref ref-type="bibr" rid="ref1 ref2">2,1</xref>
        )
      </p>
      <p>
        [Kr   (
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        )][Kr   (
        <xref ref-type="bibr" rid="ref1 ref1">1,1</xref>
        )   (
        <xref ref-type="bibr" rid="ref1 ref2">2,1</xref>
        )] .
      </p>
      <p>Then on the basis of these equ3alities wej get the general expression:</p>
      <p>Kr  00    (m,1)(m,1)
wН ( j,1)  m1</p>
      <p>(Kr  R j1,1)(Kr  R j,1)
where j
R j1,1    (m,1),
m1</p>
      <p>j
R j,1    (m,1)
m1
.</p>
      <p>Analyzing the expression (14) and (15), it is easy to assume the general form of the
formula for determining wНK( r3j,k0)f0or ajmNixmed(dmi,snc)ipl(inme, no)f service:
wН ( j, k )  m1n1</p>
      <p>(Kr  R j,k 1)(Kr  R j,k )</p>
      <p>Substituting formula (16) in (13) and making simple transformations, we can verify
the validity of this assumption.</p>
      <p>By expressions (11) and (16) we calculate the required average time of stay (j, k)
request v (j, k) in the AS-I system</p>
      <p>Similarly, as for the system type AC-I, formulas can be derived for determining the
temporal characteristics for the remaining systems type AC-II, BD-I, BD-II.
(14)
(15)
(16)</p>
      <p>
        Methods and analytical conditions for adapting the provision
of resources to users of СС
breakdown of application flows by groups (levels) of absolute priority
Adaptation of the mixed service discipline with the СС model is to find the optimal
( 0
) , ie such a
set of numbers {Nm}m  1, M ) at which the temporal characteristics of the СС model
would provide equality according to problem (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ):
0  opt{N1, N2,, NM / ()(m,n)  Д (m,n), Ф, М  min}
, (17)
 0
and in accordance with problem (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) equality:
 0  opt{N1, N2,, NM / C( )  min, Ф, М  min}.
(18)
Since the number of application streams N is finite, the problem of finding the
opti 0
mal breakdown can be solved by a complete search of all possible breakdowns and
choosing from them one that satisfies equations (17) and (18). However, this path for
real-time СС is unacceptable, because the number of all possible breakdowns
Ф  2N1 at large N is large and the implementation of the method of complete search
requires significant time. Therefore, there is a need to develop such methods of
adaptation that allow to obtain the optimal breakdown as a result of considering a limited
number of grouping options.
      </p>
      <p> 0</p>
      <p>To find the breakdown that provides equality (17), a method is proposed, the
essence of which is to alternate the requirements for the time of stay of applications in
the system, starting with the first stream, by sequentially forming first the first, then the
second, etc. groups of absolute priority. The adaptation process begins with a
breakdown that corresponds to the discipline of service with a "pure" relative priority (M =
1, N1 = N). In this regard, the first of the breakdowns, in which the purpose of
adaptation is fulfilled, is characterized by the minimum possible number of groups of absolute
priority M, ie is optimal.</p>
      <p>To find a breakdown that satisfies equality (18), a method of adaptation is
proposed, the essence of which is the purposeful formation of groups of absolute priority,
starting with the latter, based on the analysis of the sign of increment of the average
total cost of applications in the system C ( ) . When forming the next group, the flow
requests of the formed groups are excluded from consideration, because they do not
affect the average time spent in the flow request system of the previous groups of
absolute priority. The process of adaptation in this case begins with a breakdown that
corresponds to the discipline of service with a "pure" absolute priority (M = N, Nm =
1), which also provides a minimum number of groups M in fulfilling the goal of
adaptation.</p>
      <p>Let's define C ( ) previous q-breakdown has the form
N1  N2    Nl1  1,. ANslsu2meNtjhat Pthel 1,
where P is the number of application
streams considered at the stage of formation of the next group with number j. When
numbering groups from the latter</p>
      <p>j1
P  N   Nm
m1
. The following   breakdown
dif(19)
fers from the q-breaNk1dowNn2in thattNhe applicaNtilon1 strNeajms Poftlhe last two groups are
combined into one l  1, .
lows:</p>
      <p>When C(q, ) the transition from q-breakdown to   breakdown is defined as
fol</p>
      <p>N
 C ( q , )  C ( )  C ( q )    i i   i( q , )
where</p>
      <p> i(q, )  i( )  i(q) , i 1, N
From formula (19) it follows that the  
to the q-breakdown, if C (q, )  0 . In this case C (q, )  0 , the q-breakdown is
preferred. The expression C (q, )  0 means that the   breakdown by the criterion of
the average total cost of applications in the system is not worse than the q-breakdown,
but provides fewer groups of absolu3te priority Mi.</p>
      <p>Let's calculate C(qb,i ) on an eKxarmp0le o0fsyrst1emrof rtyp,e ACi-Ifo1r, lw; hich on the basis
of express(io n)s(11K)arnd (R1i6)1it is(pKorssiblRe to )w( rKiter doRwin):
i  bi  K r3 0  0i 1 rP1 r  r , i  l  1, P.</p>
      <p> K r  Rl ( K r  Ri 1 )( K r  Ri )
(20)
In the transition fr0om q-brPeakdown to  , bireak1,dlo;wn, the increase in the average
  i(q, )
residence time ofapplicationsintrhersystem
 i(q, )   r l  2 , i  l  1;
 (K r  Rl )( K r  Rl 1)
 bi l 1 , i  l  2, P .
 (K r  Rl )( K r  Rl 1)

(21)</p>
    </sec>
    <sec id="sec-3">
      <title>Then write the increase C(q, ) in the form</title>
      <p>C (q, )   l 1 l 1 l(q1, ) </p>
      <p>
        P
 i i  i(q, ) 
il  2

 l 1 P  b (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )   l 1 
      </p>
      <p>i i
2( K r  Rl )( K r  Rl 1 ) il  2  bl 1
2  i ,
1   i2 bi 
(22)
where
 i </p>
      <p>D[ti ] / bi - is the coefficient of variation of the service time of the
applications of the i-th stream ( D[ti ] - variance of the service time). At indicative law
service of applications of the i-th stream  i  1 , and at deterministic service -  i  0
.</p>
      <p>Analysis of expression (22) shows that the feasibility of the transition from
q-breakdown to   breakdoCwln is dePtermi bi ni(e2d) by tlhe1 sign o2f the inpiut::
i  l  2  bl 1</p>
      <p>1. Further development of the principles of creating adaptive infrastructures of cloud
computing, able to dynamically adapt to user requirements and current features and
changes in operating conditions. This scientific direction remains relevant and requires
further research.</p>
      <p>2. Cloud data centers are objects with a high level of randomness of the operation
process, the main factors of which are: the probability of the flow of requests for
computing resources; availability of necessary resources and randomness of time of their
use by consumers; randomness of infrastructure failures and time of their elimination.</p>
      <p>Due to the random nature of the computational process there are additional delays in
processing information, violate the permissible restrictions on the time of its stay in the
system (at the time of system response), which negatively affects the effectiveness of
solving target tasks of users. This is relevant for real-time systems and, above all, for
special information systems built using private clouds, and can be critical with limited
computing resources.
3. It is possible to get rid of or reduce the impact of favorable phenomena on the
functioning by introducing adaptation into the process of functioning of the
infrastructure. In addition, the introduction of adaptation is associated with the need to maintain
the СС in the optimal (efficient use of resources), and sometimes just a working
condition, regardless of the many factors that bring the data center infrastructure out of the
required target state. The purpose of adaptation can be to maximize revenue from
customer service, eliminate system overload and maintain it in a stationary mode of
operation.</p>
      <p>4. The problem of adaptation can be solved by using the adaptive discipline (order)
of providing computing resources to users. Unforeseen and uncontrolled changes in the
environment and system inevitably change the optimal setting of the discipline, if such
was implemented in the system. Therefore, systematic adjustments (adaptation) of the
discipline are inevitable if you want to maintain the system in the optimal mode,
regardless of changes in the environment and system. For adaptation, a dynamic adaptive
mixed discipline with absolute relative priorities of providing computing resources to
users of cloud computing was used, one of the options for creating the technology of
which was considered by the author in [1,4]. The adaptation of the discipline consists
of an optimal change in the number and position of the boundaries that divide the flow
of user requests for resources into groups of absolute priority, within which the relative
priority, ie in changing the number of groups and the number of flows in groups.</p>
      <p>5. The development of analytical conditions for the adaptation of the provision of
resources to users of cloud computing is performed on the basis of the analytical model.
Analytical conditions allow to develop mechanisms and algorithms of adaptation of
СС. These mechanisms and algorithms take into account the physical properties of СС,
such as instantaneous elasticity (dynamic migration, allocation and release of resources
for rapid scaling according to needs) and measurement services (management and
optimization of resources using measurement tools). The moment of activation of the
adaptation algorithm is determined by the control system of the СС in case of violation of
acceptable limits on response time, change of controlled parameters of the system (for
example, its total load) or system efficiency indicator above the limit values.</p>
      <p>6. The stochastic nature of the main factors and the need to quantify mass processes
based on probability theory determines the use of the analytical model of cloud
computing as a multi-threaded and multi-priority queuing system with a mixed service
discipline. The model takes into account probable failures and various features and has
arbitrary distribution laws for some probable processes. Then as a mechanism of
adaptation of СС it is possible and expedient to use the technology of dynamic adaptive
mixed discipline of providing resources to users of СС.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Alexander</given-names>
            <surname>Matov</surname>
          </string-name>
          .
          <article-title>Adaptation of cloud computing as optimization of the process of rendering services to users in the conditions of limited computing resources</article-title>
          .
          <source>// Selected Papers of the XIX International Scientific and Practical Conference "Information Technologies and Security" (ITS</source>
          <year>2019</year>
          ).
          <source>CEUR Workshop Proceedings</source>
          . - Vol-
          <volume>2577</volume>
          . - pp
          <fpage>210</fpage>
          -
          <lpage>221</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Matov</surname>
            <given-names>O.</given-names>
          </string-name>
          <string-name>
            <surname>Ya</surname>
          </string-name>
          .
          <article-title>Analytical models of multi-priority cloud data centers with a mixed discipline of service provision, taking into account the peculiarities of operation and possible failures</article-title>
          .
          <source>Registration, storage and data processing</source>
          .
          <year>2019</year>
          . T.
          <volume>21</volume>
          , №1 P.
          <fpage>32</fpage>
          -
          <lpage>45</lpage>
          .2 (in Ukraine)
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Matov</surname>
            <given-names>A.Ya.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shpilev</surname>
            <given-names>VN</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Komov</surname>
            <given-names>AD</given-names>
          </string-name>
          et al.
          <article-title>Organization of computational processes in ACS</article-title>
          . Ed. Matov
          <string-name>
            <given-names>A.</given-names>
            <surname>Ya</surname>
          </string-name>
          . Kiev,
          <year>1989</year>
          . -
          <fpage>200p</fpage>
          . (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Mokrov</surname>
            <given-names>EV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Samuilov</surname>
            <given-names>KE</given-names>
          </string-name>
          <article-title>Cloud computing system model in the form of a queuing system with multiple queues and with a group of requests</article-title>
          . https://cyberleninka.ru/article/n/modelsistemy
          <article-title>-oblachnyh-vychisleniy-v-vide-sistemy-massovogo-obsluzhivaniya-s-neskolkimiocheredyami-i-s-gruppovym-postupleniem-zayavok</article-title>
          . Russ. https://cyberleninka.ru/article/n/model
          <article-title>-sistemy-oblachnyh-vychisleniy-v-vide-sistemy-massovogo-obsluzhivaniya-sneskolkimi-ocheredyami-i-s-gruppovym-postupleniem-zayavok</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Bezzateev</surname>
            <given-names>SV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Elina</surname>
            <given-names>TN</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mylnikov</surname>
            <given-names>VA</given-names>
          </string-name>
          <article-title>Modeling the processes of selecting parameters of cloud systems to ensure their stability, taking into account reliability and security. Scientific and technical bulletin of information technologies, mechanics and optics</article-title>
          .
          <source>2018</source>
          .Vol.
          <volume>18</volume>
          . No. 4. P.
          <volume>654</volume>
          -
          <fpage>662</fpage>
          . (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Grusho</surname>
            <given-names>AA</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zabezhailo</surname>
            <given-names>MI</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zatsarinny</surname>
            <given-names>AA</given-names>
          </string-name>
          <article-title>Information flow monitoring and control in the cloud computing environment</article-title>
          .
          <source>Informatics and Applications</source>
          ,
          <year>2015</year>
          . Vol.
          <volume>9</volume>
          . No 4. P.
          <volume>91</volume>
          -
          <fpage>97</fpage>
          . (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Singh</surname>
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dutta</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Aggarwal</surname>
            <given-names>N.</given-names>
          </string-name>
          <article-title>A review of task scheduling based on meta-heuristics approach in cloud computing // Knowledge and Information Systems</article-title>
          .
          <year>2017</year>
          . V. 52. N 1.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Gudkova</surname>
            <given-names>I.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maslovskaya</surname>
            <given-names>N.D.</given-names>
          </string-name>
          <article-title>A probabilistic model for analyzing the delay in access to cloud computing infrastructure with a monitoring system // T-Comm: Telecommunications and</article-title>
          <string-name>
            <surname>Transport.</surname>
          </string-name>
          <year>2014</year>
          . No. 6. S.
          <volume>13</volume>
          -
          <fpage>15</fpage>
          (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Tsai</surname>
            <given-names>J.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hung</surname>
            <given-names>S.W.</given-names>
          </string-name>
          <article-title>A novel model of technology diffusion: system dynamics perspective for cloud computing</article-title>
          .
          <source>Journal of Engineering and Technology Management</source>
          .
          <year>2014</year>
          . V. 33. P.
          <volume>4762</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Gorbunova</surname>
            <given-names>A.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaryadov</surname>
            <given-names>I.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Matyushenko</surname>
            <given-names>S.I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Samuylov</surname>
            <given-names>K.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shorgin</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Ya</surname>
          </string-name>
          .
          <article-title>Approximation of the response time of a cloud charge system</article-title>
          .
          <source>Computer science and its applications</source>
          .
          <year>2015</year>
          .
          <article-title>(in Russian)</article-title>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>