Adv Syst Sci Appl 2020; 03:105–112 Published online at https://ijassa.ipu.ru. Estimating the Response Time of a Cloud Computing System with the Help of Neural Networks Anastasia V. Gorbunova1*, Vladimir M. Vishnevsky1 1V.A. Trapeznikov Institute of Control Sciences of Russian Academy of Sciences, Moscow, Russia Abstract: The article presents a new approach to assessing the average response time of a cloud computing system and its dispersion. A fork-join system or a system with request splitting was chosen as a queuing model, and artificial neural networks were used as a method for estimating a variable of interest. The analysis showed that the estimates obtained were more accurate than those previously known. Besides, the proposed approach allows expanding the analysis of the cloud system to the case of a model with a non-Poisson input stream and non-exponential service time, as well as obtaining estimates for a larger number of performance indicators of the cloud system, which was not previously possible. Keywords: cloud computing, parallel computing, queuing system, parallel service of requests, average response time, multilayer perceptron, artificial neural networks, machine learning methods 1. INTRODUCTION Cloud computing is a technology that allows a remote user to access various services that, as a rule, have significant computing resources upon request via the Internet [2]. At the same time, even despite the presence of powerful computing infrastructure, the task of ensuring the required level of quality of the services provided and, at the same time, a logical interest in reducing the overall load on the equipment continue to be relevant for cloud providers [1, 9, 10, 23]. This is due to the growing popularity of the services they provide for many objective reasons, as well as the understandable need to reduce costs due to, for example, increased energy efficiency. One of the possible solutions to this problem is parallel data processing, which could be accomplished due to the use of virtualization technology, which results in a decrease in response time, and, accordingly, in maintaining or even improving the quality of the services provided in the cloud. Thus, a cloud center consisting of several physical machines that can be used together to process complex user requests served in the order they arrive in the system is considered [5]. One of the most important indicators of the functioning of the cloud system is the response time, the evaluation of which has a large number of publications, for example, works [1,5,6,9,10,23] devoted to. Nevertheless, the study of this parameter is still in demand due to the relevance of the practical task, and as a consequence of the need to improve the quality of existing estimates of this characteristic. The article is organized as follows: Section 2 describes the mathematical model of the cloud center, Section 3 discusses the possibility of applying a new approach to the analysis ∗Corresponding author: avgorbunova@list.ru 106 A.V. GORBUNOVA, V.M. VISHNEVSKY of average response time, namely, artificial neural networks (ANNs), provides a numerical example, and finally, Section 4 highlights the prospects for further research. 2. THE MATHEMATICAL MODEL OF A CLOUD COMPUTING SYSTEM A queuing system (QS) of the fork-join type is considered as a model of a cloud system. Systems of this type are also called “QS with parallel service of requests” [7, 8]. Fork-join systems are models for many real physical systems in which the parallelization of the tasks is performed. For example, using the method of datagrams in computer networks, when a message arrives at the source node, it is divided into packets that are transmitted by different routes to the address node, in the buffer of which the message is assembled. Other examples are the processes of assembling orders at the warehouse or the processes of functioning of high-performance applications in the production, medical, financial, scientific or any other areas, based on the concept of distributed or parallel computing [11, 15]. Features of the functioning of the QS with the splitting of requests are as follows (Fig. 2.1): 1) at the time the request enters the system, it is instantly split into K (K > 2) smaller components, i.e., sub-requests, each of which, in turn, becomes serviced by the device (if it is busy) or immediately begins to be serviced if the corresponding device is free. It is considered that each sub-request has its type, which must correspond to the number of the device on which it will be serviced; 2) after the service is ended the sub-request falls into the so-called synchronization buffer and remains there until all related sub-requests, that is, the sub-requests originally belonging to one request, finish their service. Then the whole request is instantly assembled and only after this the request is considered served and may leave the system. Since modeling a cloud center in the context of solving complex computational problems is discussed in this case, virtual machines (VMs) will act as devices in the fork-join models. At the time of receipt, a complex user request is divided into K smaller components, each of which is processed on the corresponding VM. Then it enters the synchronization buffer, where it remains until the last of the subtasks is processed, after which the user request is considered served. Fig. 2.1. The model of the cloud center system of the fork-join type Note that other sub-request servicing schemes are known. For example, when devices are blocked until all parts of the request are serviced or the sub-requests are indistinguishable in the sense that any K sub-requests are required to assemble the request, etc. A more detailed overview can be found, for example, in [7, 20]. One of the main performance indicators of any queuing system is its response time. The fork-join system in this sense is no exception. Therefore, this concept is specified in the context of splitting requests. Since the request is considered to be served only at the moment when the last sub-request is serviced, to calculate the residence time of the request in the Copyright © 2020 ASSA. Adv Syst Sci Appl (2020) ESTIMATING THE RESPONSE TIME OF A CLOUD COMPUTING SYSTEM... 107 system, taking into account the fact that the moments of the appearance of all its sub-requests in the system coincide, it is sufficient to determine the maximum of all the times of the residence of its sub-requests. However, the task of calculating the exact value of the average response time, even despite the Poisson nature of the incoming stream and the exponential service time on all devices in the case of splitting into more than 2 sub-requests, remains unresolved. The expression in closed form exists only for K = 2 [14], and for K > 2 only approximations of various degrees of accuracy were obtained [14, 21, 22]. This is explained by the complexity of the analysis of the residence times of the parts of the request in the system because of the existing relationship between them due to the general moments of receipt. The residence times of sub- requests in the system are positively associated random variables. Therefore, their maximum is stochastically no greater than the maximum of independent random variables with the same distribution. Below are formulas that estimate the average response time in the system with splitting requests in the case of the same service intensities on all devices µk = µ, k = 1, K, and the incoming stream intensity equal to λ [14, 21, 22]. E[WK ] ≈ [ HK H2 + 4 11 ( 1− HK H2 ) ρ ] 12− ρ 8 1 µ− λ , (2.1) E[WK ] ≈ [ HK + ( K∑ i=1 ( K i ) (−1)i−1 i∑ m=1 ( i m ) (m− 1)! im+1 −HK ) λ µ ] 1 µ− λ , (2.2) E[WK ] ≈ 1 µ [ HK + ρ 2(1− ρ) ( K∑ k=1 1 k − ρ + (1− 2ρ) K∑ k=1 1 k(k − ρ) )] , (2.3) E[WK ] ≈ 1 µ− λ HK , (2.4) E[WK ] ≈ 1 µ− λ ( 1 + K − 1√ (2K − 1) ) , (2.5) where HK = ∑K i=1 1/i is the partial sum of the harmonic series, and ρ = λ/µ < 1 is the load factor. The first two of the above formulas are obtained due to the combination of the analytical approach with the empirical one, which consists in observing the behavior of the random variable under investigation through simulation and the subsequent use of the results of this observation in the preparation of the corresponding estimates. The third formula is derived by interpolation of high and weak input loads. Approximation (2.4) is the result of analyzing the average response time for K independent M |M |1 QSs operating in parallel, which is not only natural but also objectively justified assumption, since the expressions for the marginal probabilities of the number of k-type sub-requests (k = 1, K) in the original fork-join system coincide with the expressions for stationary probabilities in the M |M |1 system [5]. Finally, the last expression (2.5) from the above is the upper limit of the average value of the maximum of order statistics for independent exponentially distributed parameterized random variables with (µ− λ). In addition to estimating the average response time, the approximations for variance, and higher moments of the studied value are worth noticing. These numerical characteristics make it possible to formulate a complete picture of the response time behavior. However, there is no longer such a variety of analytical expressions, and it is desirable to improve the existing estimates. So, in [6], an expression is presented for the variance of the average response time Copyright © 2020 ASSA. Adv Syst Sci Appl (2020) 108 A.V. GORBUNOVA, V.M. VISHNEVSKY for both identical µ and different µk parameters of exponential service times, k = 1, K D[WK ] ≈ K∑ l=1 2 (µl − λ)2 − ∑ 16l