Preprint
Article

This version is not peer-reviewed.

Exact Closed-Form M/D/c Queueing Delay Formula

Submitted:

26 January 2025

Posted:

28 January 2025

You are already at the latest version

Abstract
It has been more than a century since Erlang published his paper in 1909. The classical queueing system for the M/D/c queue has been investigated by many authors. The key is to find the roots of an equation using explicit or numerical methods. We present an alternate form of explicit solution(s) of this/these root(s) using the Lambert-W function in this paper. Finally, the mean queueing delay are obtained via this function. The exact queueing delay formula for the M/D/c queue is expressed in closed-form in terms of the Lambert-W function as well as explicit closed-form with basic queueing parameters. New result is presented. Numerical results show that they are in excellent agreement with the numerical results published by Seelen, Tijms and Van Hoorn.
Keywords: 
;  ;  ;  ;  ;  ;  

1. Introduction

It has been more than a century since Erlang published his pioneering work [1] in 1909. Since then, many authors have studied the M/D/c queue with Poisson arrivals, deterministic (constant) service time and c multiple servers. The M/D/c queue can be applied in wireless networks like the 5G (Fifth Generation) cellular network with fixed-size machine-to-machine packets [2]. Crommelin studied the delay probability of the M/D/c system in [3], while Franx worked out a simple solution for the waiting time distribution of this system [4]. In addition, Jansen and Van Leeuwaarden have derived explicit solutions for the roots of the equation for the M/D/c systems [5]. Tijms presented the mean number of customers for an M/D/c system in terms of the unsaturated probabilities of the number of customers in the system [6]. Furthermore, Knessl has closed-form expressions for the unsaturated probabilities of number of customers in the M/D/2 system [7]. On the other hand, Shortle et al. presented a method of solving the M/D/c system numerically [8]. Seelen, Tijms and Van Hoorn have also published exact numerical results on the mean number of customers in the queue for the M/D/c system [9].
The contributions of this paper are as follows. An alternate form of explicit root(s) of an equation for the M/D/c queue is/are presented in terms of the Lambert-W function. Finally, the mean queueing delay in the system are derived in terms of the function. The mean queueing delay formula of the M/D/c system is not only exact and of explicit closed-form in terms of basic queueing parameters, it is also a product of the form of the M/D/1 queueing formula and another term to account for the multiple servers. The result is new. These are the main contributions of this paper.

2. The M/D/c Queueing Delay Formula

We start to find the solution(s) of the roots of the following equation for the roots of the M/D/c system with c servers and the system utilization, denoted by ρ, from [8].
z c = e c ρ ( 1 z ) ,   c = 2 ,   3 ,     and   ρ = λ b / c ,
and λ is the arrival rate to the system and b is the deterministic (constant) service time. Let W(x) be the Lambert-W function and it is given by
W x = n = 1 n n 1 n ! x n .
z k = W ( ( 1 ) 2 k / c ρ e ρ ) ρ , c = 2 , 3 , 4 , 5 , , k = 1 , 2 , , c   1 .
The roots for c = 1, 2, 3, 4, 5, 6 are shown in Table 1. One of the advantages of using th Lambert-W function is that it is readily available in the Matlab software for numerical computation.
Let pk be the unsaturated probabilities of the number of customers in the system, where k = 0, 1, 2, …, c – 1. From [8],
p 0 = 1 c 1 ( 1 ρ ) c k = 1 c 1 z k k = 1 c 1 ( 1 z k ) , and
the probabilities of pk ’s are solved using the following equation.
a 11 a 1 , c 1 a c 1,1 a c 1 , c 1 p 1 p c 1 = b 1 b c 1 ,
where
a m n = z m n z m c , m , n = 1 , 2 , ... , c 1 , and
b m = ( z m c 1 } p 0 , m = 1 , 2 , ... , c 1 .
Solving equation (5), we have the unsaturated probabilities of the number of customers in the M/D/c system for c = 1, 2, 3, 4, 5, 6. They are tabulated in Table 2, Table 3, Table 4, Table 5 and Table 6.
Let us define the followings.
g 0 = 1 , a n d
g k = i 1 = 1 c 1 i 2 = i 1 + 1 c 1 . i k = i k 1 + 1 c 1 j = 1 k z i j , k = 1 , 2 , ... , c 1 .
From [6], the mean number of customers in the M/D/c queue, Nq, is given by
N q = U 2 1 ρ c , a n d
U = ( c p ) 2 c c 1 + k = 0 c 1 ( c 1 k k 1 p k .
Expressing the probabilities of pk’s in terms of the gk’s in equations (8) and (9), we have
p k = 1 k ( g c k 1 + g c k ) i = 1 c 1 z i p 0 , k = 1 , 2 , ... , c 1 .
Furthermore, substituting them into equation (11), we have
U = ( c p ) 2 c c 1 + 2 c 1 ρ k = 1 c 1 1 k 1 c k g k 1 i = 1 c 1 ( 1 z i ) .
Applying Little’s Law, the mean queueing delay of the M/D/c system, denoted by W, is given by
W = N q λ .
Simplifying and rearranging some terms, we have
W = λ b 2 2 1 ρ c U ( c ρ ) 2 .
Note that the square of the deterministic (constant) service time is equal to the second moment of its service time. Substituting equation (13) into equation (15), we have
W = λ b 2 2 1 ρ c ( c p ) 2 c c 1 + 2 c ( 1 ρ ) k = 1 c 1 1 k 1 ( c k ) g k 1 i = 1 c 1 ( 1 z i ) ( c ρ ) 2 .  
They are tabulated in Table 7 for the number of servers, c = 2, 3, 4, 5, 6. Note that c = 2, 3, …, in general. On further simplification of (16), we have
W = λ b 2 2 1 ρ c ( c p ) 2 c c 1 + 2 c ( 1 ρ ) k = 1 c 1 1 1 z k ( c ρ ) 2 .  
Inserting equation (3) into equation (17), we have
W = λ b 2 2 1 ρ c ( c p ) 2 c c 1 + 2 c ( 1 ρ ) k = 1 c 1 1 1 W ( 1 2 k c ρ e ρ ) ρ ( c ρ ) 2 .  
Inserting equation (2) unto equation (18) and simplifying, we have
W = λ b 2 2 1 ρ c ( c p ) 2 c c 1 + 2 c ( 1 ρ ) k = 1 c 1 1 1 n = 1 ( 1 ) n ( n ρ ) n 1 e n ρ ( 1 ) 2 k c n ! ( c ρ ) 2 .  
Simplifying Equation (19) with Table 7 and generalizing, we have
W = λ b 2 2 1 ρ c ( c p ) 2 c c 1 + 2 c ( 1 ρ ) k = 1 c 1 1 k 1 ( c k ) n = 1 1 n ( n ρ ) n 1 e n ρ n ! k 1 j = 0 c 1 ( 1 ) j n = 1 1 n ( n ρ ) n 1 e n ρ n ! j ( c ρ ) 2 .  
Equation (20) is the exact explicit closed-form M/D/c queueing delay formula. This result is new. Note that the service time, b, needs not be set to 1 and there is no need for any rescaling after that.

3. Results

We present the results of the M/D/c system with the number of servers, c = 2, 3, 4, 5, 6 and the constant service time, b = 1, to be consistent with [9] in this results section. The mean number of customers in the system, Nq, from analysis in Section 2 is compared with known exact numerical results from [9], while the exact mean queueing delay, W, from the analysis in Section 2 is also presented. Note that the constant service time needs not be set to 1 in (17) in general.
Table 8a and Table 8b present the results for the mean number of customers with our results as compared to available exact numerical results from [9]. Both results match excellently. Only available numerical results from [9] are presented for each system utilization value.
Table 9a and Table 9b present our results for the mean queueing delay with our exact closed-form M/D/c queueing delay formula. The results agree with Little’s Law and can also be derived from Table 8a and Table 8b.

4. Discussion

The result in Section 2 provides an exact explicit closed-form M/D/c queueing delay formula. It is in a form that is extending the form of M/D/1 queue expression as well. In addition, this result is dependent on the Lambert-W function. Furthermore, this function is readily available in software like Matlab for ease of numerical computation. The M/D/c queueing system also has applications in wireless networks and other fields.

5. Conclusions

An exact explicit closed-form M/D/c queueing delay formula has been derived. This is a new result. The final form of the result does not require the solution of a set of linear equations anymore. This formula depends on the basic queueing parameters of the solution to an equation for the M/D/c system. Furthermore, the roots are presented in an alternate explicit form in terms of the Lambert-W function for ease of numerical computation. Numerical results show that these results are in excellent agreement with published exact numerical results.
The significance of this queueing delay formula presented in this paper is that it moves us a step closer to an exact explicit closed-form M/G/c queueing system as the exact explicit closed form M/M/c queueing delay formula is also well-known [10].

Author Contributions

The author has sole contribution to this paper.

Data Availability Statement

The numerical data is available in [7].

Acknowledgments

The author would like to thank Prof. Jon W Mark, Prof. Kin Mun Lye and Prof. Kee Chaing Chua for the queueing theory/communication networks courses that they have taught the author.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Erlang, A.K. “The Theory of Probabilities and telephone conversations,” Nyt. Tidsskr. Mat. Ser., 1909, 20, pp. 33–39.
  2. Online Google Scholar Search with Keywords “M/D/c queue” and “5G”.
  3. Crommelin, C.D. “Delay Probability Formulae When the Holding Times are Constant,” POEE, 1932, 25, pp. 41–50.
  4. Franx, G.J., “A Simple Solution for the MD/c Waiting Time Distribution,” Operational Research Letters Elsevier, 2001, pp. 1–10. [CrossRef]
  5. Janssen, A.J.E,M.; Van Leeuwaarden, J.S.H. “Back to the Roots of the M/D/s Queue and the Works of Erlang, Crommelin and Pollaczek,” Stat. Neer, 2008, 62 (3), pp. 299–313. [CrossRef]
  6. Tijms, H.C. Stochastic Models: An Algorithmic Approach, 1st ed.; Wiley, 1994; pp. 290.
  7. Knessl, C.; Matkowsky, B.J.; Schuss, Z.; Tier, C. “An Integral Equation Approach to the M/G/2 Queue,” OR, 1990, 38 (3) pp. 506–518. [CrossRef]
  8. Shortle, J.F.; Thompson, J.M.; Gross, D.; Harris, C.M. Fundamentals of Queueing Theory, John Wiley & Sons, 2018, pp. 330–332.
  9. Seelen, L.P.; Tijms, H.C.; Van Hoorn, M.H. Tables for Multi-Sever Queues, 1985, North–Holland.
  10. Wong, D.T.C.; Kong, P.-Y.; Liang, Y.C.; Chua, K.C.; Mark, J.W. Wireless Broadband Networks, John Wiley & Sons, 2009, pp. 493–495.
Table 1. Roots of the M/D/c system with the number of servers, c = 2, 3, 4, 5, 6.
Table 1. Roots of the M/D/c system with the number of servers, c = 2, 3, 4, 5, 6.
c z1 z2 z3 z4 z5
2 W ( ( 1 ) 2 / 2 ρ e ρ ) ρ
3 W ( ( 1 ) 2 / 3 ρ e ρ ) ρ W ( ( 1 ) 4 / 3 ρ e ρ ) ρ
4 W ( ( 1 ) 2 / 4 ρ e ρ ) ρ W ( ( 1 ) 4 / 4 ρ e ρ ) ρ W ( ( 1 ) 6 / 4 ρ e ρ ) ρ
5 W ( ( 1 ) 2 / 5 ρ e ρ ) ρ W ( ( 1 ) 4 / 5 ρ e ρ ) ρ W ( ( 1 ) 6 / 5 ρ e ρ ) ρ W ( ( 1 ) 8 / 5 ρ e ρ ) ρ
6 W ( ( 1 ) 2 / 6 ρ ) ρ W ( ( 1 ) 4 / 6 ρ e ρ ) ρ W ( ( 1 ) 6 / 6 ρ e ρ ) ρ W ( ( 1 ) 8 / 6 ρ e ρ ) ρ W ( ( 1 ) 10 / 6 ρ e ρ ) ρ
Table 2. The unsaturated probability of the number of customers in the M/D/c system with the number of servers, c = 2.
Table 2. The unsaturated probability of the number of customers in the M/D/c system with the number of servers, c = 2.
k pk
1 ( 1 + z 1 ) z 1 p 0
Table 3. The unsaturated probabilities of the number of customers in the M/D/c system with the number of servers, c = 3.
Table 3. The unsaturated probabilities of the number of customers in the M/D/c system with the number of servers, c = 3.
k pk
1 ( z 1 + z 2 + z 1 z 2 ) z 1 z 2 p 0
2 ( 1 + z 1 + z 2 ) z 1 z 2 p 0
Table 4. The unsaturated probabilities of the number of customers in the M/D/c system with the number of servers, c = 4.
Table 4. The unsaturated probabilities of the number of customers in the M/D/c system with the number of servers, c = 4.
k pk
1 ( z 1 z 2 + z 1 z 3 + z 2 z 3 + z 1 z 2 z 3 ) z 1 z 2 z 3 p 0
2 ( z 1 + z 2 + z 3 + z 1 z 2 + z 1 z 3 + z 2 z 3 ) z 1 z 2 z 3 p 0
3 ( 1 + z 1 + z 2 + z 3 ) z 1 z 2 z 3 p 0
Table 5. The unsaturated probabilities of the number of customers in the M/D/c system with the number of servers, c = 5.
Table 5. The unsaturated probabilities of the number of customers in the M/D/c system with the number of servers, c = 5.
k pk
1 ( z 1 z 2 z 3 + z 1 z 2 z 4 + z 1 z 3 z 4 + z 2 z 3 z 4 + z 1 z 2 z 3 z 4 ) z 1 z 2 z 3 z 4 p 0
2 ( z 1 z 2 + z 1 z 3 + z 1 z 4 + z 2 z 3 + z 2 z 4 + z 3 z 4 + z 1 z 2 z 3 + z 1 z 2 z 4 + z 1 z 3 z 4 + z 2 z 3 z 4 ) z 1 z 2 z 3 z 4 p 0
3 ( z 1 + z 2 + z 3 + z 4 + z 1 z 2 + z 1 z 3 + z 1 z 4 + z 2 z 3 + z 2 z 4 + z 3 z 4 ) z 1 z 2 z 3 z 4 p 0
4 ( 1 + z 1 + z 2 + z 3 + z 4 ) z 1 z 2 z 3 z 4 p 0
Table 6. The unsaturated probabilities of the number of customers in the M/D/c system with the number of servers, c = 6.
Table 6. The unsaturated probabilities of the number of customers in the M/D/c system with the number of servers, c = 6.
k pk
1 ( z 1 z 2 z 3 z 4 + z 1 z 2 z 3 z 5 + z 1 z 2 z 4 z 5 + z 1 z 3 z 4 z 5 + z 2 z 3 z 4 z 5 + z 1 z 2 z 3 z 4 z 5 ) z 1 z 2 z 3 z 4 z 5 p 0
2 ( z 1 z 2 z 3 + z 1 z 2 z 4 + z 1 z 2 z 5 + z 1 z 3 z 4 + z 1 z 3 z 5 + z 1 z 4 z 5 + z 2 z 3 z 4 + z 2 z 3 z 5 + z 2 z 4 z 5 + z 3 z 4 z 5 + z 1 z 2 z 3 z 4 + z 1 z 2 z 3 z 5 + z 1 z 2 z 4 z 5 + z 1 z 3 z 4 z 5 + z 2 z 3 z 4 z 5 ) z 1 z 2 z 3 z 4 z 5 p 0
3 ( z 1 z 2 + z 1 z 3 + z 1 z 4 + z 1 z 5 + z 2 z 3 + z 2 z 4 + z 2 z 5 + z 3 z 4 + z 3 z 5 + z 4 z 5 + z 1 z 2 z 3 + z 1 z 2 z 4 + z 1 z 2 z 5 + z 1 z 3 z 4 + z 1 z 3 z 5 + z 1 z 4 z 5 + z 2 z 3 z 4 + z 2 z 3 z 5 + z 2 z 4 z 5 + z 3 z 4 z 5 ) z 1 z 2 z 3 z 4 z 5 p 0
4 ( z 1 + z 2 + z 3 + z 4 + z 5 + z 1 z 2 + z 1 z 3 + z 1 z 4 + z 1 z 5 + z 2 z 3 + z 2 z 4 + z 2 z 5 + z 3 z 4 + z 3 z 5 + z 4 z 5 ) ) z 1 z 2 z 3 z 4 z 5 p 0
5 ( 1 + z 1 + z 2 + z 3 + z 4 + z 5 ) z 1 z 2 z 3 z 4 z 5 p 0
Table 7. The M/D/c Queueing Delay Formulae with the number of servers, c = 2, 3, 4, 5, 6.
Table 7. The M/D/c Queueing Delay Formulae with the number of servers, c = 2, 3, 4, 5, 6.
c M/D/c Queueing Delay Formulae
2 W = . λ b 2 2 1 ρ c ( c p ) 2 c c 1 + 2 c 1 ρ ( 1 z 1 ) ( c ρ ) 2
3 W = . λ b 2 2 1 ρ c ( c p ) 2 c c 1 + 2 c 1 ρ ( 2 ( z 1 + z 2 ) ) ( 1 z 1 ) ( 1 z 2 ) ( c ρ ) 2
4 W = . λ b 2 2 1 ρ c ( c p ) 2 c c 1 + 2 c 1 ρ ( 3 2 z 1 + z 2 + z 3 + ( z 1 z 2 + z 1 z 3 + z 2 z 3 ) ) ( 1 z 1 ) ( 1 z 2 ) ( 1 z 3 ) ( c ρ ) 2
5 W = . λ b 2 2 1 ρ c × ( c p ) 2 c c 1 + 2 c 1 ρ 4 3 z 1 + z 2 + z 3 + z 4 + 2 z 1 z 2 + z 1 z 3 + z 1 z 4 + z 2 z 3 + z 2 z 4 + z 3 z 4 ( z 1 z 2 z 3 + z 1 z 2 z 4 + z 1 z 3 z 4 + z 2 z 3 z 4 ) ( 1 z 1 ) ( 1 z 2 ) ( 1 z 3 ) ( 1 z 4 ) ( c ρ ) 2
6 W = . λ b 2 2 1 ρ c × ( c p ) 2 c c 1 + 2 c 1 ρ 5 4 z 1 + z 2 + z 3 + z 4 + z 5 + 3 z 1 z 2 + z 1 z 3 + z 1 z 4 + z 1 z 5 + z 2 z 3 + z 2 z 4 + z 2 z 5 + z 3 z 4 + z 3 z 5 + z 4 z 5 2 z 1 z 2 z 3 + z 1 z 2 z 4 + z 1 z 2 z 5 + z 1 z 3 z 4 + z 1 z 3 z 5 + z 1 z 4 z 5 + z 2 z 3 z 4 + z 2 z 3 z 5 + z 2 z 4 z 5 + z 3 z 4 z 5 + ( z 1 z 2 z 3 z 4 + z 1 z 2 z 3 z 5 + z 1 z 2 z 4 z 5 + z 1 z 3 z 4 z 5 + z 2 z 3 z 4 z 5 ) ( 1 z 1 ) ( 1 z 2 ) ( 1 z 3 ) ( 1 z 4 ) ( 1 z 5 ) ( c ρ ) 2
Table 8a. The Mean Number of Customers for the M/D/c system with the number of servers, c = 2, 3, 4, 5, 6.
Table 8a. The Mean Number of Customers for the M/D/c system with the number of servers, c = 2, 3, 4, 5, 6.
ρ\c 2 3 4 5 6
Ours [9] Ours [9] Ours [9] Ours [9] Ours [9]
0.1 0.0012 0.0003 0.0001 0.0000 0.0000
0.2 0.0097 0.0097 0.0039 0.0039 0.0016 0.0007 0.0003
0.3 0.0332 0.0332 0.0181 0.0181 0.0101 0.0101 0.0058 0.0058 0.0033
0.4 0.0826 0.0826 0.0540 0.0540 0.0363 0.0363 0.0249 0.0249 0.0172 0.0172
0.5 0.1767 0.1767 0.1308 0.1308 0.0993 0.0993 0.0766 0.0766 0.0598 0.0598
0.6 0.3516 0.3516 0.2851 0.2851 0.2361 0.2361 0.1982 0.1982 0.1680 0.1680
0.7 0.6911 0.6911 0.6011 0.6011 0.5312 0.5312 0.4743 0.4743 0.4267 0.4267
0.8 1.4453 1.445 1.3294 1.329 1.2355 1.236 1.1562 1.156 1.0875 1.088
0.9 3.8645 3.864 3.7204 3.720 3.5999 3.600 3.4951 3.495 3.4018 3.402
Table 8b. The Mean Number of Customers for the M/D/c system with the number of servers, c = 100, 200.
Table 8b. The Mean Number of Customers for the M/D/c system with the number of servers, c = 100, 200.
ρ\c 100 200
Ours [9] Ours [9]
0.90 1.1100 1.110 0.5194 0.5194
0.91 1.4762 0.7703 0.7703
0.92 1.9726 1.973 1.1374 1.137
0.93 2.6590 1.6799 1.680
0.94 3.6344 3.634 2.4965 2.497
0.95 5.0774 5.077 3.7657 3.766
0.96 7.3452 7.345 5.8444 5.844
0.97 11.2712 11.27 9.5660 9.566
0.98 19.3554 19.36 17.4303 17.43
0.99 44.0979 44.10 41.9376 41.94
Table 9a. The Mean Queueing Delay for the M/D/c system with the number of servers, c = 2, 3, 4, 5, 6.
Table 9a. The Mean Queueing Delay for the M/D/c system with the number of servers, c = 2, 3, 4, 5, 6.
ρ\c 2 3 4 5 6
Ours Ours Ours Ours Ours
0.1 0.0062 0.0009 0.0002 0.0000 0.0000
0.2 0.0242 0.0066 0.0021 0.0007 0.0002
0.3 0.0553 0.0201 0.0085 0.0039 0.0019
0.4 0.1033 0.0450 0.0227 0.0124 0.0072
0.5 0.1767 0.0872 0.0497 0.0307 0.0199
0.6 0.2930 0.1584 0.0984 0.0661 0.0467
0.7 0.4936 0.2862 0.1897 0.1355 0.1016
0.8 0.9033 0.5539 0.3861 0.2891 0.2266
0.9 2.1469 1.3779 1.0000 0.7767 0.6300
Table 9b. The Mean Queueing Delay for the M/D/c system with the number of servers, c = 100, 200.
Table 9b. The Mean Queueing Delay for the M/D/c system with the number of servers, c = 100, 200.
ρ\c 100 200
Ours Ours
0.90 0.0123 0.0029
0.91 0.0162 0.0042
0.92 0.0214 0.0062
0.93 0.0286 0.0090
0.94 0.0387 0.0133
0.95 0.0534 0.0198
0.96 0.0765 0.0304
0.97 0.1162 0.0493
0.98 0.1975 0.0889
0.99 0.4454 0.2118
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated