Full text
Hindawi Publishing Corporation Journal of Applied Mathematics Volume 2012, Article ID 186761, 18 pages doi:10.1155/2012/186761 Research Article Efficient Method to Approximately Solve Retrial Systems with Impatience Jose Manuel Gimenez-Guzman,1M. Jose Domenech-Benlloch,2 Vicent Pla,2Jorge Martinez-Bauset,2and Vicente Casares-Giner2 1Departamento Automatica, Universidad de Alcal´ a, Alcal´ a de Henares, 28871 Madrid, Spain 2Departamento Comunicaciones, Universitat Polit` ecnica de Val` encia, 46022 Valencia, Spain Correspondence should be addressed to Jose Manuel Gimenez-Guzman, [email protected] Received 30 June 2011; Accepted 18 October 2011 Academic Editor: Nicola Guglielmi Copyright q2012 Jose Manuel Gimenez-Guzman et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. We present a novel technique to solve multiserver retrial systems with impatience. Unfortunately these systems do not present an exact analytic solution, so it is mandatory to resort to approximate techniques. This novel technique does not rely on the numerical solution of the steady-state Kolmogorov equations of the Continuous Time Markov Chain as it is common for this kind of systems but it considers the system in its Markov Decision Process setting. This technique, known as value extrapolation, truncates the infinite state space using a polynomial extrapolation method to approach the states outside the truncated state space. A numerical evaluation is carried out to evaluate this technique and to compare its performance with previous techniques. The obtained results show that value extrapolation greatly outperforms the previous approaches appeared in the literature not only in terms of accuracy but also in terms of computational cost. 1. Introduction A common assumption when evaluating the performance of communication systems is that users that do not obtain an immediate service leave the system without retrying. However, due to the increasing number of customers and network complexity, the customer behavior in general, and the retrial phenomenon in particular, may have a nonnegligible impact on the system performance. For example, in mobile cellular networks the importance of the retrial phenomenon has been stressed in 1–3. An extensive bibliography on retrial queues can be found in 4. The modeling of repeated attempts has been a subject of numerous investigations, because these systems have a nonhomogeneous and infinite state space. However, it is known that the classical theory 5is developed for random walks on the semistrip {0,...,C}×Zbeing Cthe number of serverswith infinitesimal transitions subject to conditions of space homogeneity.
2 Journal of Applied Mathematics When the space-homogeneity condition does not hold, for example, in the case of retrial queues, the problem of calculating the equilibrium distribution has not been solved beyond approximate techniques when the number of servers is higher than two 6.Inparticular, Marsan et al. 7propose a well-known approximate technique for its analysis. In 8, a generalization of the approximate technique in 7was proposed, showing a substantial improvement in the accuracy at the expense of a marginal increase of the computational cost. Those approximations are based on the reduction of an infinite state space to a finite one by aggregating states. Other solutions maintain the infinite state space but homogenize it beyond a given level in order to solve the system. These later models are known as generalized truncated models 6and usually present the advantage of providing a much better accuracy than the finite methodologies 9. In this category we find the models proposed by Falin 10, by Neuts and Rao 11, and by Artalejo and Pozo 6. All these approaches rely on the numerical solution of the steady-state Kolmogorov equations of the Continuous Time Markov Chain CTMCthat describes the system under consideration. Very recently, however, an alternative approach for evaluating infinite state space Markov processes has been introduced by Leino et al. 12–14. The new technique, named value extrapolation, does not rely on solving the global balance equations. This technique considers the system in its MDP Markov Decision Processsetting and solves the expected value from the Howard equations written for a truncated state space. Instead of a simple truncation, the relative values of states just outside the truncated state space are estimated using a polynomial extrapolation based on the states inside, obtaining a closed system. Therefore, we can compute any performance parameter as far as we are capable to express it as the expected value of a random variable that is function of the system state. So far the value extrapolation technique has been applied to multiclass single server queues showing very promising results. It must be noted that a key aspect on the application of value extrapolation lies on the election of the extrapolating function for the relative state values. Indeed, in 14the authors show that by selecting an appropriate polynomial function the technique yields exact results for the moments of the queue length in a multiclass Discriminatory Processor-Sharing DPSsystem. Unfortunately, the appropriateness of the functional form of the extrapolation depends on the system and also on the revenue function, that is, the performance parameter we are interested in. Hence, there is no universal good choice for the extrapolating function. In this paper we address the application of the value extrapolation technique to an important class of queuing systems, for example, retrial queues, which are essentially different of the type of queues to which this technique has been applied. A potential drawback of value extrapolation compared to conventional state space truncation methods is that, since the stationary state probabilities are not obtained, if one want to compute several performance parameters, the technique has to be applied once per each of them. We apply well-known linear algebra algorithms to compute several performance parameters simultaneously, and through some series of numerical examples we show that, at least for the type of system that we are studying, the relative impact in terms of computational cost is marginal. The application of the value extrapolation technique has only addressed problems in which relative state values are expected to follow a polynomial tendency. In this paper we develop the value extrapolation technique to solve a multiserver retrial system, addressing also the drawback of computing only a single performance parameter every time the technique is used. In a first part of the paper, we develop the analytical part of the technique, defining the associated Howard equations of the model and the revenue functions. In a second part,
Journal of Applied Mathematics 3 1 2 3 C Retrial orbit μ 1Pi kusers Pi musers λ ··· μr – Figure 1: Retrial model under study. we compare our technique with other previously proposed techniques in terms of accuracy and computational cost. Results show that the proposed technique clearly outperforms the rest of the studied techniques in terms of computational cost, and this improvement is even much higher in terms of accuracy. The rest of the paper is structured as follows. Section 2 describes the system under study, while Section 3 introduces the solving technique used. In Section 4, the numerical analysis is carried out, evaluating the value extrapolation technique and comparing it with other previous solving techniques proposed in the literature. Final remarks and a summary of results are provided in Section 5. 2. System Model The system under study is a generic retrial system including user impatience, that is, users leave the system with certain probability after a nonsuccessful retrial. A diagram of the systemisshowninFigure 1. Users arrive following a Poisson process with rate λto a system with Cservers and request an exponentially distributed service time with rate μ. Without loss of generality, we consider that each user occupies one server. When a new request finds all servers occupied, it joins the retrial orbit with probability 1. After an exponentially distributed time of rate μr, this session retries. The reattempt is successful if it finds a free server. Otherwise, the user leaves the system with probability Pior returns to the retrial orbit with probability 1−Pi, starting the retrial procedure again. Note that we consider an infinite capacity for the retrial orbit. The model considered can be represented as a bidimensional CTMC, St{Kt, Mt}, where Ktis the number of sessions being served and Mtthe number of users in the retrial orbit at time t. The state space of the process is defined by S:{sk,m:k≤C;m∈Z}.2.1 Figure 2 shows the transition diagram of such system, showing two important properties in the dimension corresponding to the number of users in the retrial orbit: on the one hand its infinite cardinality and on the other hand its space-heterogeneity produced by the fact that retrial rate depends on the number of customers in the retrial orbit.
4 Journal of Applied Mathematics ··· ··· ··· ··· ··· μμλ λ λλλλ μλμλ λ λλλ μr (0, 0)(0, 1)(0, 2)(0, 3) 2μr3μr μr2μr3μr (1, 0)(1, 1)(1, 2)(1, 3) 2μ2μ2μ2μ (2, 0)(2, 1)(2, 2)(2, 1) . . . . . . . . . . . . (C–1, 0)(C–1, 1)(C–1, 2)(C–1, 3) μr2μr3μr Cμ λ Cμ λCμ λCμ (C, 0)(C, 1)(C, 2)(C, 3) μrPi2μrPi3μrPi Figure 2: Transition diagram. 3. Solving Technique In this section we develop the value extrapolation technique for the model presented in Section 2. Additionally, we present some particularities that should be taken into account when using this technique. 3.1. MDP Settings As it has been aforementioned, the problem under interest has not a closed form solution when C>26, so approximation techniques are mandatory. To the best of our knowledge, all the approximate techniques that have appeared in literature compute the steady state probabilities πs using the balance equations in order to compute the desired performance parameters, that is, solving the linear system of equations: πs s/ s qss s/ s πsqss∀s∈S,3.1 along with the normalization condition sπs1, where qssrepresents the transition rate from state sto s. Notwithstanding, value extrapolation is not based on the probability of being in a certain state, but on a new metric called relative state values. Relative state values appear when we consider the system in the setting of an MDP. Formally, an MDP can be defined as a tuple {S,A,P,R}, where Sis a set of states, Ais a set of actions, Pis a state transition function, and Ris a revenue function. The state of the system can be controlled by choosing actions afrom A, influencing in this way the state transitions. The transition function P:S×S×A → R specifies the transition rate between a pair of states when a certain action is taken at the original state. The first characteristic of the value extrapolation technique is the necessity of the definition of a revenue function that must be a function of the system state, that is, rs. Following the definition of the revenue function for every state, in the steady state, a mean revenue rate of the entire process can be introduced as rs∈Sπsrs. In the value
Journal of Applied Mathematics 5 extrapolation technique, the revenue function Rhas to be defined so that the resulting average revenue rcoincides with the desired performance metric. Once we have defined the MDP framework as well as the revenue function, we are in a position to define the relative state values. It is obvious that after performing an action in state sthe system will collect a revenue for that action rs, but as the number of transitions increases, the average revenue collected converges to r. The relative state value vs is equal to the difference between the total revenue incurred when the system starts at state sand the total revenue incurred in a system for which the revenue rate at all states is r: vsE∞ 0 rSt −rdt |S0s.3.2 The Howard equations relate revenues, relative state values, and transition rates: rs−r s qssvs−vs0∀s∈S.3.3 The Howard equations represent the policy evaluation phase of the well-known policy iteration algorithm, the most widespread dynamic programming technique, proposed in 15. The Howard equations that correspond to the system under study are rk,m−rλvk1,m −vk,m kμvk−1,m −vk,m mμrvk1,m−1−vk,m 0ifk<C, rC, m−rλvC, m 1−vC, m CμvC−1,m −vC, m mμrPivC, m −1−vC, m 0ifkC. 3.4 As we can observe the number of states is infinite because mcan take any value in Z, thus we need to truncate the state space to S. In our case, the truncated state space is defined by S:{sk,m:k≤C;m≤Q}.3.5 In general, Qis known as the truncation level. As we choose a higher value of Q,we can expect a higher accuracy as the system is more similar to the original one, but we will have a higher computation cost too. Therefore, the objective will be to achieve a certain accuracy with the minimum value of Q. There will be as many Howard equations as number of states, | S|. The number of unknowns will be the | S| relative state values plus the expected revenue r,thatis,| S| 1un- knowns. However, as only the differences in the relative values appear in the Howard equations, we can set v00, so we will have a solvable linear system of equations with the same number of equations as unknowns.
6 Journal of Applied Mathematics 3.2. Polynomial Fitting The traditional truncation sets qss0 for all s/∈ S,but value extrapolation performs a more efficient truncation. Basically, value extrapolation considers the relative state values outside S that appear in the Howard equations as an extrapolation of some relative state values inside S. As we truncate the retrial orbit dimension beyond a value Q, the value extrapolation technique uses the state value of some states in Sto approximate vC, Q 1, which is expected to improve the accuracy significantly, as it is better than ignoring these relative state values. Note that if extrapolation yielded the exact value for those states outside S, the results obtained by solving the truncated model would be exact. Also note that including value extrapolation neither increases the computational cost nor increases the number of Howard equations, which remains equal to | S| C1×Q1. Summarizing, the objective of value extrapolation is to find an extrapolation function that fits with some points in Sso that it approximates also points outside S. It is important to choose a fitting function that makes the Howard equations remain a closed system of linear equations. The most common fitting functions that fulfill that condition are the polynomials. We can use all the states in Sinto the fitting procedure global fittingor, what is most commonly used, only a subset Sfof them local fitting. For the sake of simplicity, in the following description we will assume there exists a mapping Wfrom the two-dimensional set of states into a single-dimensional set, for example, the real numbers: W: Sf→R. Hence, below we deal with states as if they were real values given as wWs. The specific mapping used for the model under study is specified later on. The choice of Wwill highly depend on the states we want to extrapolate its relative state value. Note also that the function fwand the set Sfneed to be chosen so that the parameters in fwhave unambiguous values, that is, in the case of choosing a polynomial as the fitting function, the number of different points in Sfhas to be equal or greater than the number of coefficients in the polynomial. In general, the procedure to compute the coefficients of the fitting polynomial aiconsists in minimizing the least mean squared error E w∈Wfw−vw2.3.6 Then the optimal values for the ai’s can be computed by solving the equations ∂E ∂ai 0∀i. 3.7 In our case, we are using as many points as the number of parameters of the fitting polynomial, so the fitting procedure is an ordinary polynomial interpolation and E0, that is, all the considered points will lie in the curve of the polynomial. In this case, the problem can be formulated as follows. Given a set of n|W Sf|| Sf|points w0,vw0,...,wn−1,vwn−1, where there are not two identical wi, we can determine an n−1-th degree polynomial so that fwivwifor i0,...,n−1, where fwa0a1wa2w2···an−1wn−1.3.8
Journal of Applied Mathematics 7 The interpolating polynomial satisfies the following nlinear equations: fwia0a1wia2w2 i···an−1wn−1 ivwii0,...,n−1,3.9 which in a matrix form are Aa ⎡ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ 1w0... wn−1 0 1w1... wn−1 1 . . .. . ..... . . 1wn−1... wn−1 n−1 ⎤ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎡ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ a0 a1 . . . an−1 ⎤ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎡ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ vw0 vw1 . . . vwn−1 ⎤ ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ b. 3.10 The matrix of coefficients of this system Ais a Vandermonde matrix, whose determinant is nonvanishing and therefore Ais invertible. Thus, there always exists a unique solution to the considered linear system of equations or, equivalently, there exists a unique polynomial that goes through all the npoints. However, Vandermonde matrices are often badly conditioned, specially if some wiare very close, so the procedure to compute the fitting polynomial is also badly conditioned. It is important to note that the unicity of the fitting polynomial does not mean that it cannot be written in a basis different from the standard basis. More concretely in this work we have used the Lagrange basis. For the considered interpolation problem, the polynomial in its Lagrange setting is a linear combination Lw n−1 j0 vwjjw3.11 of Lagrange basis polynomials jw n−1 i0 i/ j w−wi wj−wi w−w0 wj−w0 ··· w−wj−1 wj−wj−1 w−wj1 wj−wj1 ··· w−wn−1 wj−wn−1 .3.12 For the truncated problem of interest and as shown in Figure 3, we will have a Howard equation in which appears vC, Q 1, that is a state value of a state that does not belong to S. Therefore, we must approximate the value vC, Q 1by using some relative state values of states belonging to S. It is important to emphasize that for the extrapolation of vC, Q 1 we only use states from the last row of the model shown in Figure 3, that is, states of the form sC, m, with varying m. With this choice, we define the mapping Was WC, mm.
8 Journal of Applied Mathematics (0, Q) ··· ··· ··· ··· (0, Q–1) (1, Q) (2, Q) (1, Q–1) (2, Q–1) (0, 0) (1, 0)(1, 1)(1, 2) (2, 0)(2, 1)( 2, 2) (0, 1)(0, 2) μr μr μr 2μr 2μr 2μr μλ μλ μλ μλ λ2μλ2μλ2μ λμ λ2μλ2μ . . . . . . . . . . . . . . . (C–1, 0)(C–1, 1)(C–1, 2)(C–1, Q–1)(C–1, Q) (C, Q) λCμ λCμ λCμ λCμ λ λλλλ Cμ ··· (C, 0)(C, 1)(C, 2) μrPi2μrPiQμrPi ꉱ S (C, Q–1)(C, Q+1) Qμr Qμr Qμr Figure 3: Truncated model and states that appear in Howard equations outside the truncated model. Moreover, we use an n−1-th degree polynomial that interpolates the npoints in Sf:{si C, Q −i|i0,...,n−1}and then WSf{wiQ−i|i0,...,n−1}: w0Q−→ vw0vC, Q, w1Q−1−→ vw1vC, Q −1, . . . wjQ−j−→ vwjvC, Q −j, . . . wn−1Q−n−1−→ vwn−1vC, Q −n−1. 3.13 This way, the general form of the extrapolation state when using an n−1-th degree polynomial is vnC, Q 1LnQ1 n−1 j0 vC, Q −jjQ1.3.14 For example, in the case of linear extrapolation n2,weuseQ, vC, Q and Q−1, vC, Q −1, having v2C, Q 1L2Q1vC, Q0Q1vC, Q −11Q1 vC, QQ1−Q−1 Q−Q−1vC, Q −1Q1−Q Q−1−Q 2vC, Q−vC, Q −1. 3.15
Journal of Applied Mathematics 9 Table 1: Revenue function definition. Blocking probability Pbrk,m1forkC,forallm rk,m0 otherwise Nonservice probability Pns rk,mmμrPi/λ for kC,forallm rk,m0 otherwise Mean number of users retrying Nret rk,mmfor all k,forallm Probability of being in state K, MπK, Mrk,m1forkK,mM rk,m0 otherwise Probability of having Kbusy servers BKrk,m1forkK,forallm rk,m0 otherwise Following a similar procedure, we can obtain the next relationship for n3andn4: v3C, Q 13vC, Q−3vC, Q −1vC, Q −2, v4C, Q 14vC, Q−6vC, Q −14vC, Q −2−vC, Q −3. 3.16 In general, for n−1-th degree polynomials and using the Lagrange basis to reduce the complexity of the procedure, a simple closed-form expression for the extrapolated value can be obtained by vnC, Q 1 n−1 k0 −1kn k1vC, Q −k,3.17 where nis the number of coefficients taken for Lagrange polynomials. 3.3. Revenue Function As performance parameters are not computed from the steady state probabilities as usual, it is important to explain more carefully how they are computed. By definition, rsis the revenue rate obtained when the system is in state s. Therefore, we must define the revenue as the performance parameter we want to compute. The effect of that action is that the computed rwill be the performance parameter we are looking for. Additionally, the inputs rsin the Howard equations must be properly set. Table 1 gives several examples on how rscan be set in order to obtain certain performance parameters such as: blocking probability Pb Prob{KC}, mean number of users in the retrial orbit Nret EM, nonservice probability Pns probability of a user leaving the system due to impatience without obtaining service, probability of being in a certain state πK, M, and probability of having Kbusy servers BK. As an example, we focus on the blocking probability and we define the revenue function to be 1 in those states in which an attempt is blocked, that is, when rC, m1,for all m, and 0 in the rest of states, rk,m0,k / C, for all m.
16 Journal of Applied Mathematics Relative error FM NR VE 10 15 20 25 30 35 Q 10−2 100 10−4 10−6 10−8 10−10 10−12 10−14 Figure 7: Relative error in Nret for different techniques. Time (s) Relative error FM NR VE 10−2 100 10−4 10−6 10−8 10−10 10−12 10−14 10−1 10−2100101 Figure 8: Relative error in Pbversus computation cost. that reason, it is mandatory to develop approximate techniques in order to solve these systems. To the best of our knowledge, all the techniques studied in the literature to solve these systems are based on their steady state probabilities. In this paper we propose an alternative technique based on a different metric: the relative state values and the Howard equations that relate them, instead of the balance equations. With this technique, truncation of the state space can be done in a more efficient way, as the state values outside the truncated state space are
Journal of Applied Mathematics 17 Time (s) Relative error FM NR VE 10−2 100 10−4 10−6 10−8 10−10 10−12 10−1 10−2100101 Figure 9: Relative error in Pns versus computation cost. Time (s) Relative error FM NR VE 10−2 100 10−4 10−6 10−8 10−10 10−12 10−14 10−1 10−2100101 Figure 10: Relative error in Nret versus computation cost. extrapolated from some known state values. In order to preserve the linearity of the resulting system of equations, we have only used polynomials as extrapolation functions. In a first part, we have studied the use of different orders for the extrapolation polynomials. Later, we have compared the new technique with two well-known approaches appeared in the literature 8,11in terms of accuracy and computational cost. Results show that the proposed technique highly improves the previous approaches in terms of computational cost and, specially, in terms of accuracy, so its use is highly recommended.
18 Journal of Applied Mathematics Acknowledgments This work has been supported by the Spanish government under Projects TIN2010-21378- C02-02 and TIN2008-06739-C04-02/TSI and by Comunidad de Madrid through Project S- 2009/TIC-1468. References 1P. Tran-Gia and M. Mandjes, “Modeling of customer retrial phenomenon in cellular mobile networks,” IEEE Journal on Selected Areas in Communications, vol. 15, no. 8, pp. 1406–1414, 1997. 2J. M. Gimenez-Guzman, M. J. Domenech-Benlloch, J. Martinez-Bauset, V. Pla, and V. Casares-Giner, “Analysis of a handover procedure with queueing, retrials and impatient customers,” in Proceedings of the 3rd International Working Conference on Performance Modelling and Evaluation of Heterogeneous Networks (HET-NETs ’05), 2005. 3J. M. Gimenez-Guzman, M. J. Domenech-Benlloch, V. Pla, V. Casares-Giner, and J. Martinez-Bauset, “Guaranteeing seamless mobility with user redials and automatic handover retrials,” Journal of Universal Computer Science, vol. 14, no. 10, pp. 1597–1624, 2008. 4J. R. Artalejo, “Accessible bibliography on retrial queues: progress in 2000–2009,” Mathematical and Computer Modelling, vol. 51, no. 9-10, pp. 1071–1081, 2010. 5M. F. Neuts, Matrix-Geometric Solutions in Stochastic Models: an Algorithmic Approach, vol. 2 of Johns Hopkins Series in the Mathematical Sciences, Johns Hopkins University Press, Baltimore, Md, USA, 1981. 6J. R. Artalejo and M. Pozo, “Numerical calculation of the stationary distribution of the main multiserver retrial queue,” Annals of Operations Research, vol. 116, no. 1–4, pp. 41–56, 2002. 7M. A. Marsan, G. De Carolis, E. Leonardi, R. Lo Cigno, and M. Meo, “Efficient estimation of call blocking probabilities in cellular mobile telephony networks with customer retrials,” IEEE Journal on Selected Areas in Communications, vol. 19, no. 2, pp. 332–346, 2001. 8M. J. Dom´ enech-Benlloch, J. M. Gim´ enez-Guzm´ an, J. Mart´ ınez-Bauset, and V. Casares-Giner, “Efficient and accurate methodology for solving multiserver retrial systems,” Electronics Letters, vol. 41, no. 17, pp. 967–969, 2005. 9M. J. Domenech-Benlloch, J. M. Gimenez-Guzman, V. Pla, J. Martinez-Bauset, and V. Casares-Giner, “Generalized truncated methods for an efficient solution of retrial systems,” Mathematical Problems in Engineering, vol. 2008, Article ID 183089, 15 pages, 2008. 10G. I. Falin, “Calculation of probability characteristics of a multiline system with repeat calls,” Moscow University Computational Mathematics and Cybernetics, no. 1, pp. 43–49, 1983. 11M. F. Neuts and B. M. Rao, “Numerical investigation of a multiserver retrial model,” Queueing Systems, vol. 7, no. 2, pp. 169–190, 1990. 12J. Leino, A. Penttinen, and J. Virtamo, “Flow level performance analysis of wireless data networks: a case study,” in Proceedings of the IEEE International Conference on Communications, (ICC ’06), vol. 3, pp. 961–966, July 2006. 13J. Leino and J. Virtamo, “An approximative method for calculating performance measures of markov processes,” in Proceedings of the 1st International Conference on Performance Evaluation methodolgies and tools, Pisa, Italy, 2006. 14J. Leino and J. Virtamo, “Determining the moments of queue-length distribution of discriminatory processor-sharing systems with phase-type service requirements,” in Proceedings of the 3rd EuroNGI Conference on Next Generation Internet Networks, pp. 205–208, Trondheim, Norway, 2007. 15R. A. Howard, Dynamic Programming and Markov Processes, The Technology Press of MIT, Cambridge, Mass, USA, 1960. 16D. P. Gaver, P. A. Jacobs, and G. Latouche, “Finite birth-and-death models in randomly changing environments,” Advances in Applied Probability, vol. 16, no. 4, pp. 715–731, 1984.