Next Article in Journal
Quasi-Periodic and Periodic Vibration Responses of an Axially Moving Beam under Multiple-Frequency Excitation
Previous Article in Journal
EdgePose: An Edge Attention Network for 6D Pose Estimation
Previous Article in Special Issue
The Lomax-Exponentiated Odds Ratio–G Distribution and Its Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Relations among the Queue-Length Probabilities in the Pre-Arrival, Random, and Post-Departure Epochs in the GI/Ma,b/c Queue

Department of Mathematics and Computer Science, Royal Military College of Canada, Kingston, ON K7K 7B4, Canada
*
Author to whom correspondence should be addressed.
Mathematics 2024, 12(17), 2609; https://doi.org/10.3390/math12172609
Submission received: 12 June 2024 / Revised: 7 August 2024 / Accepted: 20 August 2024 / Published: 23 August 2024
(This article belongs to the Special Issue New Advances in Applied Probability and Stochastic Processes)

Abstract

:
In this paper, we present research results that extend and supplement our article recently published by MDPI. We derive the closed-form relations among the queue-length probabilities observed in the pre-arrival, random, and post-departure epochs for a complex, bulk-service, multi-server queueing system GI/M a , b /c.
MSC:
60-08; 60J27; 90-10

1. Introduction

Bulk-service queueing systems are widely used in numerous real-life situations. Examples include shuttle bus services, freight trains, express elevators, tour operators, and batch servicing in manufacturing processes. Queueing systems with multiple servers constitute a vital category of queueing processes, providing extensive practical applications across various fields. These systems are characterized by their ability to serve a group (or a batch) of customers simultaneously using multiple servers. One example of this process is performance analysis of blood testing procedures for detecting viruses like HIV, HBV, HCV, and COVID-19, where the expected outcomes are either positive or negative. In these procedures, blood samples from multiple individuals are combined and tested together. If the test result is negative, all the individuals in the pool are considered clear. However, if the result is positive, each member of the pool is subsequently tested individually [1]. A multi-server bulk-service queue with bounded batch sizes of “a” and “b” and an arbitrary inter-arrival time distribution would be an appropriate model for such pandemic situations. Here, we use a standard notation, GI/M a , b /c, developed primarily by Kendall [2], to describe this queueing process. In general, the queue model notation consists of four sections, such as A X / B Y / C / D , where A indicates the pattern of arrivals to the system, B the pattern of service times, C the number of parallel service channels, and D the system capacity (which we omit if no restriction is imposed, D = ) . X and Y (which we omit if the group size is fixed at 1) represent the patterns of the arrival group size and the service group size, respectively. Common symbols for A and B are GI (or G), M, Ek, and D, representing the probability distributions. The symbol GI (or G) represents an arbitrary distribution, M is used for a Markovian or exponential distribution, Ek for the type-k Erlang distribution, and D for a deterministic distribution. For a more detailed description of a multi-server bulk-service GI/M a , b /c queue, see the next page.
Compared to well-established single-server queueing systems, multi-server queueing systems are more complex and challenging to manage, particularly when the inter-arrival time distributions are arbitrary. The introduction of quorum “a” further increases the complexity of the model. Chaudhry and Gai [3] investigated a GI/M a , b /c queueing system using a two-dimensional embedded Markov chain. They derived the queue-length distributions in three different epochs: the pre-arrival epoch (p.a.e.), a random epoch (r.e.), and the post-departure epoch (p.d.e.). However, the relations among these probabilities in different epochs were not addressed. These relations are important in queueing theory because they offer deeper theoretical insights into the behavior of stochastic processes and a comprehensive understanding of the system. Additionally, they simplify the calculations of key performance metrics such as the average waiting time, queue length, and system utilization.
This paper investigates the relations among the queue-length probabilities in the pre-arrival, random, and post-departure epochs in a GI/M a , b /c queue, considering both busy and idle system states of the servers. Similar results have been studied for simpler queueing systems, by Takacs [4] for a multi-server, single-service queue GI/M/c and by Chaudhry and Madill [5] for a single-server, multi-service queue GI/M a , b /1. The relations established in this study generalize the above works. By selecting specific values for the parameters a , b , and c, as well as the inter-arrival time distributions, these relations can also be applied to simpler models that are special cases of GI/M a , b /c. These include models such as M/Ma/1 [6], GI/Mb/c [7], M/M a , b /c [8], and E η /M a , b /c [9], for which such relations have not previously been available.

2. Model Description

This continuous-time queueing system GI/M a , b /c (see Figure 1) has c independent servers, each of which can serve up to b customers simultaneously. The service times are independently and identically distributed random variables with exponential distributions with a mean of 1 / μ . If a server completes a service and finds fewer than ”a” customers in the queue, it will remain idle until quorum ”a” is reached. Customers arrive individually at a rate of λ according to a renewal process with an arbitrary inter-arrival time distribution A ( t ) . The system is considered to be in a steady state with a traffic intensity ρ = λ b c μ < 1 , using first-come, first-serve (FCFS) queue discipline by batch.
The states that occur immediately before arrivals form an embedded Markov chain (E.M.C.). The state seen by an arriving customer can be described by ( S n , n ) , where n 0 represents the queue length, and S n is a supplementary flag defined as follows:
S n = I ( k ) , if k servers are idle , 1 k c , 0 n a 1 , B , if all servers are busy , n 0 .
We define the system as busy if all the servers are occupied ( S n = B ) and idle when at least one server is free ( S n = I ( k ) , where k [ 1 , c ] denotes the number of idle servers). The queue length n can be expressed as n = q b + n 0 , 0 n 0 b 1 , and q is the greatest integer less than or equal to n/b. This represents the number of full-size batches (with a batch size b) waiting in the queue for service.

3. Relations among Queue-Length Probabilities at the p.a.e., r.e., and p.d.e.

We define P ( B , n ) , P ( B , n ) , and P + ( B , n ) as the busy-server probability where the queue length is n in the p.a.e., r.e., and p.d.e., respectively. Similarly, we define P ( I ( k ) , n ) , P ( I ( k ) , n ) , and P + ( I ( k ) , n ) as the idle-server probability of the queue length in the p.a.e., r.e., and p.d.e., respectively, where k is the number of idle servers, and n is the queue length, 0 n < a 1 , 1 k c . In this section, we derive the relations among these probabilities.

3.1. The Idle-Server System

We use the level-crossing technique to establish the relations among the queue-length probabilities in the p.a.e., r.e., and p.d.e. when the system is idle (at least one of c servers is idle). The level-crossing technique is an essential method used in queueing theory to derive the steady-state queue-length distribution. At certain ”levels”, in a steady-state system, the rate at which the customers move upward must equal the rate at which they move downward. This balance helps in establishing relations between various states of the system. For more details, refer to Brill [10].
Let R ( I k ) be the rate of transitions in the stable state where k servers are idle and R ( B k ) be the rate where k servers are busy, 1 k c . The rate of crossing upward, to and through any level, k, must be equal to the rate of downward crossing, such that
R ( I k ) = R ( B c k + 1 ) .
The rate of transition upward from level k (k idle servers) to and through level k 1 ( k 1 servers are idle, so c k + 1 servers are busy) is
R ( B c k + 1 ) = λ P ( I ( k ) , a 1 ) .
Meanwhile, the rate at which one of c k + 1 busy servers ends the service is given by the product of the effective service rate μ e and the probability that a server is idle after a service completion,
R ( I k ) = μ e i = 0 a 1 P + ( I ( k ) , i ) ) .
Since this transition requires that at least one of the c servers is busy (implying a real departure will occur), the effective service rate μ e can be evaluated by μ ( c k + 1 ) ( 1 i = 0 a 1 P ( I ( c ) , i ) ) . Combining Equations (2)–(4), we have the following relations containing the queue-length probabilities in the p.a.e., r.e., and p.d.e.
λ P ( I ( k ) , a 1 ) = μ ( c k + 1 ) ( 1 i = 0 a 1 P ( I ( c ) , i ) ) i = 0 a 1 P + ( I ( k ) , i ) ) .
It is assumed that no time elapses between the completion of one service and the start of a new service by a server. The p.d.e. occurs immediately after a server has either reduced the queue or has become idle. We define P S ( I ( k ) , n ) , 0 n a 1 , and P S ( B , n ) , n 0 , as the probabilities that there are n customers in the queue, k of c servers are idle, and all servers are busy before a real departure occurs, respectively. Using the following Equations (6) and (7) which were proven in [3],
P + ( I ( k ) , n ) = P S ( I ( k 1 ) , n ) , 0 n a 1 , 2 k c , P + ( I ( k ) , n ) = P S ( B , n ) , 0 n a 1 , k = 1 ,
and
P S ( I ( k ) , n ) = P ( I ( k ) , n ) 1 i = 0 a 1 P ( I ( c ) , i ) , 0 n a 1 , 1 k c 1 , P S ( B , n ) = P ( B , n ) 1 i = 0 a 1 P ( I ( c ) , i ) , n 0 ,
we have
( 1 i = 0 a 1 P ( I ( c ) , i ) ) i = 0 a 1 P + ( I ( k ) , i ) ) = i = 0 a 1 P ( I ( k 1 ) , i ) ) .
Plugging Equation (8) into Equation (5), we have the following relation between the probabilities of the queue length in the p.a.e. and r.e.:
λ P ( I ( k ) , a 1 ) = μ ( c k + 1 ) i = 0 a 1 P ( I ( k 1 ) , i ) ) , 1 a b , 1 k c .
Remark 1.
The relations of P ( I ( k ) , n ) in terms of P ( I ( k ) , n ) can be found in Corollary 1 from [3].
  • Special cases:
  • GI/M/c:
    Setting a = b = 1 , Equations (5) and (8) can be simplified into
    λ P ( I ( k ) , 0 ) = μ ( c k + 1 ) ( 1 P ( I ( c ) , 0 ) P + ( I ( k ) , 0 ) ) = μ ( c k + 1 ) P ( I ( k 1 ) , 0 ) ) , 1 k c .
If quorum a = 1 , the number of customers waiting in the queue must be zero when the system is idle. We define P n , P n , and P n + as the probabilities of having n customers in the system (including those in service and in the queue) in the pre-arrival, random, and post-departure epochs, respectively. Let n = c k + 1 : we have the following equivalent form of Equation (10) showing the number of customers in the system:
λ P n 1 = n μ ( 1 P 0 ) P n 1 + = n μ P n , 1 n c ,
where 1 P 0 implies the probability that at least one server is busy in the random epoch. The relation in Equation (11) matches the results presented in [4].
  • GI/M/1:
    Set c = 1 and n = 1 (if n > 1 , the server must be busy. This case will be discussed in the next subsection.). Using the result of n = 0 P ( B , n ) = ρ (see [3]) and the fact of
    1 P 0 = n = 0 P ( B , n ) = ρ = λ μ ,
    Equation (11) can be further simplified into
    λ P 0 = λ P 0 + = μ P 1 .

3.2. The Busy-Server System

We define ( m | c ) R as the conditional probability that m batches complete service in a random period of time with duration t since the last p.a.e. given that all c servers are busy at the start of the period (p.a.e.) and remain busy at the end of the period (r.e.). From renewal theory, the probability associated with the random period of time R is given by d R ( t ) = λ ( 1 A ( t ) ) d t , t > 0 , where A ( t ) is the inter-arrival time distribution. The number of batches served in time t is distributed as a Poisson process with a rate of c μ :
( m | c ) R = 0 e c μ t ( c μ t ) m m ! d R ( t ) , m 0 .
Then, the probabilities of the queue length in the r.e. can be evaluated in terms of the probabilities in the p.a.e.,
P ( B , n ) = m = 0 ( m | c ) R P ( B , m b + n 1 ) , n > 0 ,
and
P ( B , 0 ) = ( 0 | c ) R P ( I ( 1 ) , a 1 ) + i = 1 ( i | c ) R j = a b P ( B , ( i 1 ) b + j 1 ) .
The right-hand side of Equation (15) can be simplified as follows using Equation (14) and Theorem 1 from [3], which states P ( B , n ) = w n / C N , n 0 , where w is a real root inside the unit circle of the equation D ( z b ) = z = a ¯ ( c μ ( 1 z b ) ) and C N is a normalizing constant:
m = 0 ( m | c ) R P ( B , m b + n 1 ) = P ( B , n 1 ) 0 e c μ t m = 0 ( c μ t w b ) m m ! d R ( t ) = P ( B , n 1 ) 0 e c μ t e c μ t w b d R ( t ) = P ( B , n 1 ) 0 e c μ ( 1 w b ) t λ ( 1 A ( t ) ) d t = λ c μ ( 1 w b ) P ( B , n 1 ) ( 1 0 e c μ ( 1 w b ) t d A ( t ) = a ¯ ( c μ ( 1 w b ) ) ) ,
where a ¯ ( α ) is the Laplace–Stieltjes transform (L.–S.T.) of A ( t ) . It was proven in [3] that a ¯ ( c μ ( 1 w b ) ) = w . Therefore, we have the following relation between the queue length in the r.e. and p.a.e.:
c μ P ( B , n ) = λ ( 1 w ) 1 w b P ( B , n 1 ) , n > 0 .
Next, we derive the relation between the probabilities of the queue length in the r.e. and p.d.e. Since the post-departure epoch occurs immediately after the server has completed service, the probabilities of the queue length in the p.d.e. can be predicted based on the distribution of the probabilities for the system in the pre-service completion epoch (p.s.e.), the instant in time immediately before real service completion takes place. The following relations then apply:
P + ( B , n ) = P S ( B , n + b ) , n 1 , P + ( B , 0 ) = n = a b P S ( B , n ) .
Combining the results from Equations (6) and (7), we have the following relations between the probabilities of the queue length between the r.e. and p.d.e.:
P + ( B , n ) = = P ( B , n + b ) 1 i = 0 a 1 P ( I ( c ) , i ) , n > 0 , and P + ( B , 0 ) = n = a b P ( B , n ) 1 i = 0 a 1 P ( I ( c ) , i ) .
  • Special cases:
In both GI/M/c and GI/M/1 systems, a = b = 1 , the relations presented in (17) and (19) can be further simplified as
λ P ( B , n 1 ) = c μ P ( B , n ) = c μ ( 1 P ( I ( c ) , 0 ) ) P + ( B , n 1 ) , n > 0 .
The equivalent form of Equation (20) showing the number of customers in the system is
λ P n 1 = c μ P n = c μ ( 1 P 0 ) P n 1 + , n > c ,
where P 0 , P n 1 , P n , and P n 1 + were defined in Equation (11).
For GI/M/1, we can replace 1 P 0 with ρ (see Equation (12)); then, we have
λ P n 1 = μ P n = λ P n 1 + , n > 1 .
For GI/M a , b /1, set c = 1 , and Equations (17) and (19) match the results obtained in [5] for a busy system state of the servers.
Remark 2.
  • Using Equation (11) and (21),
    P 0 = 1 n = 1 c P n n = c + 1 P n = 1 λ μ n = 1 c P n 1 n λ c μ n = c + 1 P n 1 = 1 λ μ n = 1 c P n 1 n λ c μ ( 1 n = 1 c P n 1 ) = 1 λ c μ λ μ n = 1 c 1 P n 1 1 n 1 c .
    This result matches Equation (26) in [4], page 153.
  • Combining Equations (11) and (21), we have the relations among P n , P n , and P n + for the GI/M/c queue for both busy and idle servers:
    λ P n 1 = min ( n , c ) μ P n = min ( n , c ) μ ( 1 P 0 ) P n 1 + , n 1 .
    This result matches those obtained in [4].
  • For the GI/M/1 queue, if c = 1 , using Equation (12), Equation (23) can be further simplified as λ P n 1 = μ P n = λ P n 1 + . From this, together with results from Equation (13), we conclude with the well-known results for GI/M/1:
    P n = P n + , n 0 .

4. Discussion

The queue-length probability distributions in different epochs offer unique metrics that contribute to a detailed performance profile. We may wish to use any or all of them for a particular purpose. For instance, an arriving customer in the p.a.e. may be mainly interested in congestion trends and in the corresponding waiting-time distribution, while a departing customer in the p.d.e. may be interested in the service efficiency and system utilization. A management decision could occur in any of the epochs. Finding the relations among different epochs in queueing theory is important for performance analysis, predictive modelling, system stability, resource allocation, customer satisfaction, theoretical insights, and practical applications.
A GI/M a , b /c queueing system is new to the queueing literature, and there is still much to be explored. Due to its complexity and the arbitrariness of the inter-arrival time, some of the results that we have obtained for the probability distributions of the queue length [3], particularly related to the waiting time, are too complex to use. Typically, approximations are applied to manage such situations. The relations that we explored in the previous section are essential for deriving simpler and closed-form formulas for various performance metrics. This is our original intention of this research, and some important progress on this subject has been achieved by using these relations.
One application of these relations is to predict the expected waiting time using Little’s formula. Little’s formula, L Q = λ W Q , and its generalizations have been studied by many researchers. In this formula, L Q represents the expected queue length in the r.e., W Q the waiting time expected by an arriving customer in the p.a.e., and λ the arrival rate. An algorithm for efficiently and accurately determining the probability distribution of the queue length in the p.a.e., P , was well established in [3]. By using the relations presented in Equation (17) and Corollary 1 in [3], the probability distribution of the queue length in the r.e., P, can be obtained. From this, the expected value of the queue length, L Q , can be calculated. Finally, using Little’s formula, the expected waiting time, W Q , can be determined.
We are also very interested in applying this queueing model to blood testing procedures. Various queueing models have been applied to analyzing the blood testing procedures for virus detection. A comprehensive review in this field can be found in [1]. Bar-Lev et al. [1] addressed this issue using an M /M a , b /c queueing model with impatient customers, but their group testing size ”b” was restricted to 2, and the inter-arrival time was restricted to an exponential distribution. Tamrakar and Banerjee [11] explored the MX/G a , y /1 queue with optional service- and queue-length-dependent single (or multiple) vacation, but it was confined to a single-server system. These models may not be well suited to extensive scenarios, such as large influenza pandemics like COVID-19. In our study, the GI/M a , b /c model demonstrates versatility by accommodating an arbitrary inter-arrival time distribution with multiple parallel working servers. This makes our model better suited to handling such situations. However, this model needs to be adjusted to handle longer waiting times, as aging or expired samples must be discarded (leaving the system) before they enter the service process. This will be the focus of one of our future works to enhance the model’s suitability for real-world scenarios.

5. Conclusions

We successfully investigated the relations among the queue-length probabilities in the pre-arrival, random, and post-departure epochs in a GI/M a , b /c queue, considering both busy and idle system states of the servers. The relations established in this study extend and generalize those presented in previous works, such as GI/M/c, GI/M/1, and GI/M a , b /1. Additionally, these relations can be applied to simpler models that are included as special cases of GI/M a , b /c, such as M/Ma/1, GI/Mb/1, GI/M a , b /1, GI/Mb/c, M/M a , b /c, and E η /M a , b /c, where such relations are partially or completely unestablished. As a computational check, the numerical results obtained for a GI/M a , b /c queue in [3] satisfy all the relations we established in this paper.

Author Contributions

Conceptualization, methodology, funding acquisition, J.G. and M.C.; software, validation, formal analysis, derivations, writing, J.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Royal Military College of Canada Professional Development Allocation.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Bar-Lev, S.K.; Boxma, O.; Kleiner, I.; Perry, D.; Stadje, W. Recycled Incomplete identification procedures for blood screening. Eur. J. Oper. Res. 2017, 259, 330–343. [Google Scholar] [CrossRef]
  2. Kendall, D.G. Stochastic processes occurring in the theory of queues and their analysis by the method of imbedded Markov chains. Ann. Math. Stat. 1953, 24, 338–354. [Google Scholar] [CrossRef]
  3. Chaudhry, M.; Gai, J. Analytic and Computational Analysis of GI/Ma,b/c Queueing System. Mathematics 2022, 10, 3445. [Google Scholar] [CrossRef]
  4. Takacs, L. Introduction to the Theory of Queues; Oxford University Press: New York, NY, USA, 1962. [Google Scholar]
  5. Chaudhry, M.; Madill, B. Probabilities and some measures of efficiency in the queueing system GI/Ma,b/1. Sel. Stat. Can. 1987, 7, 53–75. [Google Scholar]
  6. Gross, D.; Shortle, J.; Thompson, J.; Harris, C. Fundamentals of Queueing Theory; John Wiley and Sons: Hoboken, NJ, USA, 2008. [Google Scholar]
  7. Shyu, K. On the queueing processes in the system GI/M/n with bulk service. Acta Math. Sin. 1960, 10, 182–189. [Google Scholar]
  8. Sim, S.; Templeton, J. Steady state results for the M/Ma,b/c batch-service system. Eur. J. Oper. Res. 1985, 21, 260–267. [Google Scholar] [CrossRef]
  9. Sim, S. On Multi-Vehicle Transportation Systems with Queue-Dependent Dispatching Policies. Ph.D. Thesis, University of Toronto, Toronto, ON, Canada, 1982. [Google Scholar]
  10. Brill, P.H. Level Crossing Methods. In Encyclopedia of Operations Research and Management Science; Springer: Boston, MA, USA, 2013. [Google Scholar]
  11. Tamrakar, G.K.; Banerjee, A. On Steady state analysis of an infinite capacity Mx/Ma,y/1 queue with optional service and queue length dependent single (multiple) vacation. Queueing Model. Serv. Manag. 2022, 6, 27–61. [Google Scholar]
Figure 1. GI/M a , b /c queueing model.
Figure 1. GI/M a , b /c queueing model.
Mathematics 12 02609 g001
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.

Share and Cite

MDPI and ACS Style

Gai, J.; Chaudhry, M. Relations among the Queue-Length Probabilities in the Pre-Arrival, Random, and Post-Departure Epochs in the GI/Ma,b/c Queue. Mathematics 2024, 12, 2609. https://doi.org/10.3390/math12172609

AMA Style

Gai J, Chaudhry M. Relations among the Queue-Length Probabilities in the Pre-Arrival, Random, and Post-Departure Epochs in the GI/Ma,b/c Queue. Mathematics. 2024; 12(17):2609. https://doi.org/10.3390/math12172609

Chicago/Turabian Style

Gai, Jing, and Mohan Chaudhry. 2024. "Relations among the Queue-Length Probabilities in the Pre-Arrival, Random, and Post-Departure Epochs in the GI/Ma,b/c Queue" Mathematics 12, no. 17: 2609. https://doi.org/10.3390/math12172609

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop