Next Article in Journal
Unbiased Identification of Fractional Order System with Unknown Time-Delay Using Bias Compensation Method
Next Article in Special Issue
Analysis of Multi-Server Queueing System with Flexible Priorities
Previous Article in Journal
Tail Index Estimation of PageRanks in Evolving Random Graphs
Previous Article in Special Issue
Tail Asymptotics for a Retrial Queue with Bernoulli Schedule
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization of Open Queuing Networks with Batch Services

by
Elena Stankevich
1,*,†,
Igor Tananko
1,*,† and
Michele Pagano
2,*,†
1
Department of System Analysis and Automatic Control, Faculty of Computer Science and Information Technologies, Saratov State University, 83 Astrakhanskaya St., 410012 Saratov, Russia
2
Department of Information Engineering, University of Pisa, Via G. Caruso 16, 56122 Pisa, Italy
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2022, 10(16), 3027; https://doi.org/10.3390/math10163027
Submission received: 29 July 2022 / Revised: 15 August 2022 / Accepted: 19 August 2022 / Published: 22 August 2022
(This article belongs to the Special Issue Advances in Queueing Theory)

Abstract

:
In this paper, open queuing networks with Poisson arrivals and single-server infinite buffer queues are considered. Unlike traditional queuing models, customers are served (with exponential service time) in batches, so that the nodes are non-work-conserving. The main contribution of this work is the design of an efficient algorithm to find the batch sizes which minimize the average response time of the network. As preliminary steps at the basis of the proposed algorithm, an analytical expression of the average sojourn time in each node is derived, and it is shown that this function, depending on the batch size, has a single minimum. The goodness of the proposed algorithm and analytical formula were verified through a discrete-event simulation for an open network with a non-tree structure.

1. Introduction

The recent growing interest in queuing networks with batch services is motivated by their use as mathematical models of packet switching networks [1], wireless sensor networks [2], manufacturing systems [3,4,5,6], Web servers [7], data-processing systems [8] and transportation systems [9].
The analysis of queues with batch services was originally introduced in [10,11] and extended to queuing networks in [12]. A review of the main results on queues with batch services can be found in [13,14].
Such a feature as batch service significantly complicates the model analysis, since it violates the one step assumption, which is at the basis of product-form queuing networks. Indeed, in general it is not possible to obtain a product-form of the stationary distribution [6,15] for a queuing network with batch services, and this consideration strongly limits their practical applicability. To overcome this problem, approximate analysis methods, based on mean value analysis (MVA) [1] or the decomposition method [6,16], have been proposed in the literature. In [15], an infinitesimal operator was constructed to obtain a stationary distribution. In [17,18,19,20,21,22], a product form of the stationary distribution for queuing networks was obtained under certain assumptions. In more detail, Chao et al. [18] supposed that at service completion, the entire batch coalesces into a single unit, and it either leaves the system or goes to another node according to given routing probabilities; the product-form solution of such a model can provide relevant bounds for the behavior of assembly processes, especially when the system is operating under heavy traffic. In [19], conditions were obtained under which Markovian queues (i.e., with Poisson arrivals of batches of tasks and exponential task-service times), with both batch arrivals and departures, have a geometric queue length probability distribution at equilibrium. Furthermore, in [20], response time density was obtained for a tandem pair of such Markovian queues. Miyazawa and Taylor [21] considered queuing networks with batch arrivals and departures, in which additional batches arrive to the nodes when they are empty. The introduction of these extra arrivals made it possible to obtain a geometric stationary distribution, which is a (stochastic) upper bound for the original network. Such systems were further analyzed by Chao [22], who proved that the stationary distribution satisfies a set of non-standard partial balance equations and that the extra arrivals are the necessary and sufficient conditions for having a product form solution, as well as for the partial balance equation to hold.
In addition to the above-discussed probabilistic analysis, both theoretical [23,24] and practical [3,4,5,8,25] parameter optimization of queuing networks with batch services represent open issues of significant relevance. In more detail, one of the classes of optimization problems involves determining the optimal size of the batch, since it has a significant impact on network performance. Rabta and Reiner [3] proposed a general-purpose genetic algorithm and an approximate decomposition procedure for determining optimal batch sizes in a multi-product manufacturing system with the goal of minimizing the total cycle time. The problem of determining the optimal buffer size in a material handling system with constraints on throughput and cycle time was addressed in [4] by using queue decomposition and an iterative method. In more detail, in a material handling system a vehicle moves back and forth between consecutive workstations that have input/front and output/rear buffers. The system was analyzed as an open queuing network, in which input buffers corresponded to single-server queues with batch arrivals, workstations were modeled as traditional single-server queues and the output buffers corresponded to queues with batch services.
In [5], a queuing network with batch services was used to model semiconductor fabrication facilities. A procedure for distributing plant resources was proposed, which ensures the minimum cost of equipment for a given set of technical characteristics (volume and cycle time targets). Kar and Harrison [8] investigated data processing systems: the optimization problem of finding the batch size by maximizing the throughput was solved using mean-field techniques. Finally, [25] dealt with M / G [ a , b ] / 1 / N queues with bulking threshold a and maximum service capacity b; by means of renewal theory, busy period analysis and decomposition techniques. It was shown how increasing the bulking threshold affects performance indexes, such as the mean waiting time and the time-averaged number of loss customers. Then, a necessary and sufficient condition for the optimal bulking threshold that minimizes the expected waiting time was established, and an algorithm which guarantees to find the optimal threshold in polynomial time was proposed.
This paper extends the results published in [15,26] for queuing networks consisting of M / M b / 1 systems, where b denotes the batch size. In more detail, in [26], based on the fact that the stationary distributions of the considered M / M b / 1 queue and an M / M / 1 queue with (adequately chosen) state-dependent service rates are identical, a product-form for the stationary distribution of a general queuing network with batch services has been obtained. Taking advantage of our previous result, in this work the analytical expression of the average response time of the queuing network is obtained, and it is shown that it has one minimum. This is the basis for the main original contribution of the paper, represented by an algorithm for finding the optimal batch sizes that minimize the mean response time.
It should be noted that similar results were recently derived in [27] for infinite servers queues: Using the factorial moment generating function, the authors obtained a product-form for the stationary distribution of the M / M b / system; showed that the stationary distributions of the M / M 1 / (i.e., b = 1 ) and M / M / queues are identical; and derived some performance indexes. In general, the assumption of infinite servers simplifies the tractability of queuing systems, and to the best of our knowledge a similar analysis has not been extended to the single server case.
The rest of the paper is organized as follows. Section 2 describes the main features of open queuing networks with batch services, and Section 3 introduces the equivalent Jackson network, originally proposed by the authors in [26]. Then, in Section 4, the expressions of the average sojourn time in each node and of the response time of the network are derived. Section 5 presents the main original contribution of this paper, namely, an optimization algorithm for finding the vector of the batch sizes for which the average response time is minimal. Finally, Section 6 numerically illustrates the original contributions of the paper.

2. Statement of the Problem

The paper deals with large-scale networks with batch services and individual routing of the customers. In more detail, a continuous-time open queuing network N consisting of L nodes, S i , i = 1 , , L , and an external traffic source S 0 is considered. The arrival process is Poissonian with rate λ 0 , and customer transitions between nodes S i , i = 1 , , L , are described by the routing matrix Θ = ( θ i j ) , i , j = 0 , , L , where θ i j defines the transition probability from node S i to node S j .
As in classic open queuing networks, each node S i , i = 1 , , L , consists of an infinite capacity single-server queue, and arriving customers are put in the waiting queue if the server is busy. It is assumed that in node S i the customers are served in batches of size b i . In more detail, the server stays idle until b i customers arrive at the node; if more customers are present in the waiting queue when the server is idle, then b i customers are selected in any order, while the others remain in the queue. The service times are exponentially distributed with parameter μ i , i = 1 , , L . At the end of the service, the destination node S j of each customer, independently of the others, is determined accordingly to the routing probability θ i j , i = 1 , , L , j = 0 , 1 , , L .
The following analysis is based on the assumption that the number of possible destinations from each node S i is significantly larger than the batch size. Therefore, the simultaneous arrival of two or more customers in a node has an infinitesimal probability, and the input flow in each node of N can be approximated as a Poisson stream of customers with intensity depending on λ 0 and Θ = ( θ i j ) .
The state of the network is described by a vector s = ( s 1 , , s L ) , where s i indicates the number of customers at node S i . Hence, the state space of the queuing network N can be denoted as X = { s : s i 0 } .
The first step is to determine the stationary distribution π ( s ) = ( π 1 ( s 1 ) , , π L ( s L ) ) , s X , for the queuing network N, where the stationary distributions π i ( s i ) in the nodes S i , s i = 0 , 1 , , i = 1 , , L , can be calculated considering each node in isolation, as originally proved in [26] and briefly summarized in the next section.

3. Single Node Analysis and Equivalent Jackson Network

Let us consider the generic node S i , i = 1 , , L , in isolation, with input rate λ i given by
λ i = ω i ω 0 λ 0 , i = 1 , , L ,
where the vector of visitation rates ω = ( ω 0 , ω 1 , , ω L ) is the solution of the equation ω Θ = ω with the normalization condition i = 0 L ω i = 1 .
It is easy to derive the equilibrium equations for node S i :
λ i π i ( n ) = μ i π i ( b i ) , n = 0 , λ i π i ( n ) = λ i π i ( n 1 ) + μ i π i ( b i + n ) , 1 n b i 1 , ( λ i + μ i ) π i ( n ) = λ i π i ( n 1 ) + μ i π i ( b i + n ) , n b i .
Let us introduce a birth–death process ξ i , equivalent in steady-state probabilities to the Markov process associated with the node S i . The process ξ i is defined on the set of states { 0 , 1 , } , with birth rates λ i = λ i ( n ) , which do not depend on the state n, n { 0 , 1 , } , and death rates μ ˜ i ( n ) , n { 1 , 2 , } . The state space and the parameters λ i of the process ξ i correspond to the state space { 0 , 1 , } and the input rate of node S i defined by Equation (1). To determine the rates μ ˜ i ( n ) , n = 1 , 2 , , note that the steady-state probabilities of the birth–death process ξ i are given by
π i ( k ) = π i ( 0 ) n = 1 k λ i μ ˜ i ( n ) , k = 1 , 2 , ,
where
π i ( 0 ) = 1 + k = 1 n = 1 k λ i μ ˜ i ( n ) 1 , i = 1 , , L .
By replacing (3) in (2), the following expressions are obtained for μ ˜ i ( n ) , n = 1 , 2 , :
μ ˜ i ( n ) = λ i μ i λ i b i μ ˜ i ( n + 1 ) · · μ ˜ i ( b i + n ) , 1 n b i 1 , μ ˜ i ( n ) = λ i + μ i μ i λ i b i μ ˜ i ( n + 1 ) · · μ ˜ i ( b i + n ) , n b i .
Let M i = lim n μ ˜ i ( n ) ; if the limit exists, then:
μ i λ i b i = ( λ i + μ i M i ) M i b i
or
M i b i + 1 ( λ i + μ i ) M i b i + λ i b i μ i = 0 .
The existence of the equivalent birth–death process ξ i depends upon the existence of a positive solution of the previous equation, which satisfies the stability condition for each node S i .
As proved in [26], taking into account the stability condition, Equation (5) has a unique root M i , belonging to the open interval
b i ( λ i + μ i ) b i + 1 , ( λ i + μ i ) b i + 1 λ i b i μ i ( λ i + μ i ) b i ,
which in the general case can be determined numerically. From (4) it follows that
μ ˜ i ( b i ) = μ ˜ i ( b i + 1 ) = μ ˜ i ( b i + 2 ) = = M i ,
and the service rates μ ˜ i ( b i 1 ) , μ ˜ i ( b i 2 ) ,…, μ ˜ i ( 1 ) can be easily derived recursively.
Since the equivalent process ξ i can be built for any node S i , it is possible to define a Jackson network N ˜ with nodes S ˜ i , equivalent in stationary distribution to the original queuing network N with batch services. According to the previous results for the single node, N ˜ has state-dependent service rates μ ˜ i ( n ) , where n is the number of customers in the node S ˜ i , n = 1 , 2 , , i = 1 , , L , and its arrival rates and routing probabilities are the same as in the original queuing network N.
Moreover, N and its equivalent network N ˜ are stable if and only if the utilization coefficient in the node S i , i = 1 , , L ,
ρ i = λ i b i μ i < 1 .
Under such conditions, the stationary distribution for N ˜ is given by
π ( s ) = i = 1 L π i ( s i ) , s X ,
where
π i ( s i ) = π i ( 0 ) n = 1 s i λ i μ ˜ i ( n ) .

4. Stationary Response Time

The stationary distribution π ( s ) for N ˜ allows us to calculate the average values of various performance parameters.
To characterized the queuing network as a whole, the most relevant index is the average time spent by a customer in the queuing network, known as response time:
τ ¯ = 1 λ 0 i = 1 L λ i u ¯ i ,
which is given by the weighted sum of the average sojourn times u ¯ i in all the nodes S i .
An elegant closed-form expression for the average sojourn time is provided by the following Theorem, which is valid for a generic node S i , i = 1 , , L . For sake of simplicity, in the proof of the theorem, the subscript i identifying the node is omitted.
Theorem 1.
The average sojourn time in a queuing system with batch services of fixed size b is given by
u ¯ = b 1 2 λ + 1 M λ ,
where λ is the arrival rate and M is the unique solution of (5), satisfying the stability condition.
Proof of Theorem 1.
By substituting (3) into the first equation of (2), we get
λ μ = λ b μ ˜ ( 1 ) μ ˜ ( 2 ) μ ˜ ( b ) ,
and by taking into account the latter equality:
π ( n + b ) = π ( 0 ) λ μ λ M n , n 0 , b 1 .
Having defined x = λ M , the system (2) can be rewritten as follows:
π ( b ) = π ( 0 ) λ μ , π ( n ) = π ( 0 ) i = 0 n x i , 1 n b 1 , π ( n ) = π ( 0 ) x n b λ μ , n b .
When taking into account Little’s law and the definition of the average number of customers in the system, the average sojourn time is given by
u ¯ = 1 λ n = 0 n π ( n ) ,
and by substituting the expressions of the state probabilities given by (10), the previous expression becomes
u ¯ = 1 λ ( π ( 0 ) ( 1 + x ) + 2 π ( 0 ) ( 1 + x + x 2 ) + + ( b 1 ) π ( 0 ) ( 1 + x + + x b 1 ) + + n = b n π ( 0 ) x n b λ μ )
or rearrange the terms according to the powers of x:
u ¯ = π ( 0 ) λ ( 1 + x ) i = 1 b 1 i + x 2 i = 2 b 1 i + + x b 1 ( b 1 ) + n = b n x n b λ μ .
The next step of the proof consists in finding the value of π ( 0 ) . To this end, the system (2) can be rewritten in the form
λ π ( 0 ) = μ π ( b ) , λ π ( 1 ) = μ π ( b ) + μ π ( b + 1 ) , λ π ( b 1 ) = μ ( π ( b ) + π ( b + 1 ) + + π ( 2 b 1 ) ) , λ π ( b ) = μ ( π ( b + 1 ) + π ( b + 2 ) + + π ( 2 b + 1 ) ) ,
By summing up all the equations of this system, we obtain
λ n = 0 π ( n ) = b μ n = b π ( n )
or
n = b π ( n ) = λ b μ .
By substituting (9) into (11) and applying the formula for the sum of an infinite geometric progression, the probability of an empty system becomes
π ( 0 ) = 1 x b .
The last part of the proof consists in manipulating the expression of u ¯ , which can be significantly simplified thanks to the specific structure of the state probabilities of the system and the properties of M. In more detail:
u ¯ = 1 x b λ ( 1 + x ) i = 1 b 1 i + x 2 i = 2 b 1 i + + x b 1 ( b 1 ) + n = b n x n b λ μ
or, by rearranging the terms:
u ¯ = 1 b λ ( 1 x 2 ) i = 1 b 1 i + ( 1 x ) x 2 i = 2 b 1 i + + ( 1 x ) x b 1 ( b 1 ) + + 1 x b λ n = b n x n b λ μ = 1 b λ ( i = 1 b 1 i [ i = 1 b 1 i i = 2 b 1 i x 2 + i = 2 b 1 i i = 3 b 1 i x 3 + + ( ( b 2 ) + ( b 1 ) ( b 1 ) ) x b 1 + ( b 1 ) x b ] ) + 1 x b λ n = b n x n b λ μ
and after simple algebraic manipulations:
u ¯ = 1 b λ i = 1 b 1 i i = 1 b 1 ( i 1 ) x i + 1 x b λ n = b n x n b λ μ .
Applying the formulas for the sums of arithmetic and arithmetic-geometric progressions, we obtain
u ¯ = b 1 2 λ x 2 ( 1 x b 1 ) λ b ( 1 x ) 2 + ( b 1 ) x b + 1 λ b ( 1 x ) + x b μ ( 1 x ) + 1 μ
and, after the inverse substitution of x = λ M :
u ¯ = b 1 2 λ λ 2 M 2 ( 1 λ b 1 M b 1 ) λ b ( 1 λ M ) 2 + ( b 1 ) λ b + 1 M b + 1 λ b ( 1 λ M ) + λ M b μ ( 1 λ M ) + 1 μ = = b 1 2 λ λ ( M b 1 λ b 1 ) b M b 1 ( M λ ) 2 + ( b 1 ) λ b b M b ( M λ ) + λ b μ ( M λ ) + 1 μ .
The sum of the second, third and fourth terms in the latter equation becomes
λ M ( M b 1 λ b 1 ) + ( M λ ) ( b 1 ) λ b b M b ( M λ ) 2 + λ b μ ( M λ ) = = λ M b + λ b M + M b λ b M λ b λ b + 1 b + λ b + 1 b M b ( M λ ) 2 + λ b μ ( M λ ) = = λ M b + M b λ b λ b + 1 b + λ b + 1 b M b ( M λ ) 2 + λ b μ ( M λ ) = b λ b ( M λ ) λ ( M b λ b ) b M b ( M λ ) 2 + + λ b μ ( M λ ) = b λ b μ ( M λ ) λ μ ( M b λ b ) + M b ( M λ ) λ b M b ( M λ ) 2 μ
and, taking into account the well-known formula:
a n b n = ( a b ) ( a n 1 + a n 2 b + a n 3 b 2 + + a b n 2 + b n 1 ) ,
and the average sojourn time can be rewritten as:
u ¯ = b 1 2 λ + b λ b μ λ μ ( M b 1 + M b 2 λ + + M λ b 2 + λ b 1 ) + M b λ b M b μ ( M λ ) + 1 μ .
Finally, from Equation (5) it is easy to find that
M b + 1 ( λ + μ ) M b + λ b μ = ( M λ ) ( M b μ M b 1 μ M b 2 λ μ M λ b 2 μ λ b 1 ) = 0 .
Therefore, since M > λ ,
M b μ ( M b 1 + M b 2 λ + + M λ b 2 + λ b 1 ) = 0
and then:
u ¯ = b 1 2 λ + λ b M b ( M λ ) + 1 μ = = b 1 2 λ + λ b μ + M b + 1 M b λ M b ( M λ ) μ = b 1 2 λ + M b μ M b ( M λ ) μ = b 1 2 λ + 1 M λ .
Thus, we got expression (8). □
Note that for b = 1 , the root of the Equation (5) is M = μ , and hence u ¯ = 1 μ λ in accordance with the well-known result for the M / M / 1 queue.

5. Average Response Time Optimization

The average response time is a relevant performance index that depends, as highlighted in the previous section, on the routing matrix and the node sojourn times. The latter depend on the network parameters not only explicitly, but also through the values of the roots M i of (5).
Assuming that the network structure and the incoming traffic rate are fixed parameters, in this section we propose an efficient algorithm to find the optimal batch size vector b = ( b 1 , , b L ) , for which the average response time of the queuing network N is minimized.
Our optimization algorithm is based on the following two considerations. Firstly, as shown above, the evolution of each node is independent of the rest of the network in a probabilistic sense: the arrival rate to any node of N does not change when the service discipline (namely, the batch size) changes in other nodes, and the input rates λ i depends only on the routing matrix. Therefore, the problem of finding the minimum average response time τ ¯ of N is decomposed into solving L minimization problems for the functions u ¯ i ( b i ) in the nodes S i , i = 1 , , L . Secondly, the function u ¯ i ( b i ) has only one minimum for values of b i satisfying the stability condition λ i < b i μ i .
As in the previous section, for sake of clarity, in the following we omit the subscript i, since the same considerations are valid for all the nodes. To prove that u ¯ ( b ) has one minimum, we treat b as a continuous parameter and calculate the second derivative of u ¯ ( b ) with respect to b:
u ¯ = ( M λ ) M 2 ( M ) 2 ( λ M ) 3 .
From (6) it is easy to see that M converges to λ + μ as b . Moreover, the sequence of the roots M b is monotone increasing for any b > λ μ . To prove the latter statement, consider the function
f b ( M ) = M b + 1 ( λ + μ ) M b + λ b μ ;
i.e., M b is the largest root of f b ( M ) = 0 . Hence:
M b b + 1 = ( λ + μ ) M b b λ b μ
and
f b + 1 ( M b ) = M b b + 2 ( λ + μ ) M b b + 1 + λ b + 1 μ = λ b μ ( λ M b ) < 0 ,
since M b > λ . This means that for the batch size b + 1 , the largest solution of f b + 1 ( M ) = 0 must satisfy the inequality M b + 1 > M b , since f b + 1 ( M ) is continuous and f b + 1 ( λ + μ ) > 0 . Hence, the function y = M ( b ) , again considering b as a continuous variable, has an horizontal asymptote as b and is monotone increasing; as a consequence of the existence of a finite limit, its increase rate decreases for sufficiently high values of b, and its second derivative M must be negative. Moreover, as shown in the Figure 1, Figure 2 and Figure 3 below for various ratios of λ and μ , the function y = M ( b ) is concave (convex upwards) for all values of b satisfying the stability condition. Furthermore, since M > λ , u ¯ i > 0 and the average sojourn time is a convex function (and has one minimum).
Hence, we propose the following optimization algorithm to determine the optimal batch size vector:
  • Find the vector ω solution of equation ω Θ = ω under the normalization condition i = 0 L ω i = 1 .
  • Compute the arrival rates vector λ = ( λ 1 , , λ L ) , as
    λ i = ω i ω 0 λ 0 , i = 1 , , L .
  • Initialize i = 0 .
  • i = i + 1 . If i > L , then go to step 14.
  • Initialize k = 0 that represents the iteration number.
  • Find the initial value b i satisfying the condition λ i < b i μ i .
  • Find the root M i of the Equation (5).
  • Calculate μ ˜ i k = ( μ ˜ i k ( 1 ) , , μ ˜ i k ( b i ) ) , where μ ˜ i k ( n ) = M i , if n b i and the rates μ ˜ i k ( n ) are calculated according to (4), if n < b i .
  • Calculate the stationary distribution according to (7).
  • Calculate the average sojourn time at the node S i according to (8).
  • k = k + 1 and increase b i by 1.
  • Repeat steps 7–10.
  • If u ¯ i k < u ¯ i k 1 , then go to step 11. If u ¯ i k u ¯ i k 1 , then decrease b i by 1 and go to step 4.
  • Return the vector b. The algorithm is complete.

6. Numerical Examples

To highlight the correctness of the results in the previous sections, we provide some numerical examples for a single node and a large queuing network, satisfying the assumptions under which the product-form solution was derived.
At first we focus on the sojourn time in a generic node S i , i { 1 , , L } , with input rate λ i and service rate μ i for batches of b i customers. Figure 4 and Figure 5 show the behavior of the sojourn time u ¯ i ( b i ) for μ i = 2.0 and μ i = 3.0 , respectively. In more detail, u ¯ i ( b i ) is plotted for different values of λ i (namely, λ i = 1.0 , , 5.0 ) as a function of the "allowed" values of the batch size, i.e., the values of b i satisfying the condition ρ i < 1 for the existence of a stationary regime.
Both figures show that the function u ¯ i ( b i ) has one minimum for a specific value of ρ i depending on the system’s parameters. For instance, if λ i = 1 , then the optimal batch size is one for both values of μ i , whereas for λ i = 2 the optimal b i is already equal to two; and for higher input rates it depends on μ i (compare the graphs for λ i = 5 in Figure 4 and Figure 5).
Next, consider the queuing network N, consisting of L = 11 nodes, with input rate λ 0 = 2 , service rate vector μ = ( 1.1 , 0.8 , 1.1 , 0.3 , 0.4 , 0.2 , 0.4 , 0.3 , 0.2 , 0.4 , 0.1 ) and routing matrix
Θ = 0.0 0.3 0.3 0.4 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.0 0.1 0.1 0.1 0.1 0.1 0.0 0.0 0.0 0.5 0.0 0.0 0.0 0.1 0.1 0.1 0.1 0.1 0.0 0.0 0.0 0.5 0.0 0.0 0.0 0.1 0.1 0.1 0.1 0.1 0.0 0.0 0.0 0.7 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0.1 0.1 0.7 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0.1 0.1 0.7 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0.1 0.1 0.7 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0.1 0.1 0.7 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0.1 0.1 0.7 0.0 0.1 0.1 0.0 0.0 0.0 0.1 0.0 0.0 0.0 0.0 0.8 0.1 0.1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.7 0.1 0.0 0.1 0.1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 .
From the source S 0 , the nodes S 1 , S 2 and S 3 may be reached. After being served in these systems, the customers may return to the source S 0 (i.e., leave the network) with a probability of 0.5, and with small probabilities equal to 0.1, may move to nodes S 4 S 8 . After service is completed in S 4 S 8 , the customers may go to S 0 with a probability of 0.7 or to one of the nodes S 9 S 11 with probabilities equal to 0.1. Finally, customers from S 9 S 11 leave the network with sufficiently high probabilities or move to other nodes with the same probability of 0.1.
Links and route probabilities were chosen in such a way that the developed analysis method can be applied. Indeed, small and comparable (in our case, equal) transition probabilities permit one to approximate the input flow, coming to any queue from a large number of nodes, close to a Poisson flow. Moreover, backwards paths (from S 9 S 11 ) have been introduced to verify the applicability of the proposed methodology also to queuing networks with a non-tree structure.
Using the optimization algorithm proposed in this paper, the optimal batch size vector is b = ( 2 , 2 , 2 , 2 , 1 , 2 , 2 , 2 , 1 , 1 , 3 ) . This choice leads to an average response time equal to 7.61, and a mean number of customers in the network equal to 15.22 (in good agreement with the simulation estimates of 7.64 and 15.28, respectively). Here and in the following, all the parameters, derived by discrete-event simulation, were calculated in stationary conditions with a confidence interval of 0.01 and a confidence level higher than 0.95.
For the sake of completeness, Table 1 and Table 2, respectively, show the average number of customers and the average sojourn time in each node of the network. Note that all the analytical values and the corresponding estimates by discrete-event simulation are very close, confirming the applicability of the analytical approach proposed in this paper not only for the whole queue, but also at the node level. In more detail, the largest difference for the average number of customers, observed at node S 6 , is less than 5 % , whereas for the average sojourn time the maximum was attained at nodes S 9 and S 10 , and it was equal to 2 % .
Moreover, Table 2 highlights that the average sojourn times in nodes S 6 , S 9 and S 11 significantly exceed the values in the other nodes of the network. Since in our example the transition probabilities are comparable, this is due to the service rates, which in these nodes are lower than in the rest of the network.

7. Conclusions

In this paper we proposed an efficient method for the analysis of large-scale open queuing networks with batch services and an original algorithm to determine the optimal vector of the service batch sizes, which minimizes the average response time of the network. The proposed algorithm can be used to determine the optimal capacity of vehicles for various purposes, such as the transportation of passengers or goods. The algorithm is also applicable for optimizing systems for the accumulation and subsequent processing of customers requests, which may include information in electronic or paper forms, financial resources, materials, parts and production waste. In more detail, due to the conditions under which the product-form was obtained, the proposed algorithm is applicable to large-scale networks with individual routing of the customers, assuming that the number of possible destinations is significantly larger than the batch size.
Finally, it is worth mentioning that the memory requirement of the algorithm is O ( 1 ) , and its computational complexity is O ( n ) , where n is the number of the values of the u ¯ function that must be calculated (in general, n depends on the queuing network parameters).

Author Contributions

Conceptualization, E.S., I.T. and M.P.; methodology, I.T.; software, I.T.; validation, E.S., I.T. and M.P.; formal analysis, E.S., I.T. and M.P.; investigation, E.S., I.T. and M.P.; writing—original draft preparation, E.S., I.T. and M.P.; writing—review and editing, E.S., I.T. and M.P.; visualization, E.S., I.T. and M.P.; supervision, I.T. and M.P.; project administration, E.S.; funding acquisition, E.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Ministry of Science and Education of the Russian Federation in the framework of the basic part of the scientific research state task, project FSRR-2020-0006.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Evequoz, C.; Tropper, C. Approximate analysis of bulk closed queueing networks. Int. J. Prod. Res. 1995, 33, 179–204. [Google Scholar]
  2. Mitici, M.; Goseling, J.; Ommeren, J.-K.; Graaf, M.; Boucherie, R.J. On a tandem queue with batch service and its applications in wireless sensor networks. Queueing Syst. 2017, 87, 81–93. [Google Scholar] [CrossRef] [Green Version]
  3. Rabta, B.; Reiner, G. Batch sizes optimisation by means of queueing network decomposition and genetic algorithm. Int. J. Prod. Res. 2012, 50, 2720–2731. [Google Scholar] [CrossRef]
  4. Yu, A.-L.; Zhang, H.-Y.; Chen, Q.-X.; Mao, N.; Xi, S.-H. Buffer allocation in a flow shop with capacitated batch transports. J. Oper. Res. Soc. 2021, 73, 888–904. [Google Scholar] [CrossRef]
  5. Hopp, W.J.; Spearman, M.L.; Chayet, S.; Donohue, K.L.; Gel, E.S. Using an optimized queueing network model to support wafer fab design. IIE Trans. 2002, 34, 119–130. [Google Scholar] [CrossRef]
  6. Hanschke, T.; Zisgen, H. Queueing networks with batch service. Eur. J. Ind. Eng. 2011, 5, 313–326. [Google Scholar] [CrossRef]
  7. Antunes, N.; Nunes, C.; Pacheco, A. A queueing network with Markov modulated input. In Proceedings of the Second Euro-Japanese Workshop on Stochastic Risk Modelling for Finance, Chamonix, France, 18–20 September 2002; pp. 15–24. [Google Scholar]
  8. Kar, S.; Rehrmann, R.; Mukhopadhyay, A.; Alt, B.; Ciucu, F.; Koeppl, H.; Binnig, C.; Rizk, A. On the throughput optimization in large-scale batch-processing systems. Perform. Eval. 2020, 144, 102142. [Google Scholar] [CrossRef]
  9. Grippa, P.; Schilcher, U.; Bettstetter, C. On access control in cabin-based transport systems. IEEE Trans. Intell. Transp. Syst. 2019, 20, 2149–2156. [Google Scholar] [CrossRef] [Green Version]
  10. Beiley, N.T.J. On Queueing Processes with Bulk Service. J. R. Stat. Soc. 1954, 16, 80–87. [Google Scholar] [CrossRef]
  11. Downton, F. Waiting time in bulk service queues. J. R. Stat. Soc. 1955, 17, 256–261. [Google Scholar] [CrossRef]
  12. Henderson, W.; Pearce, C.E.M.; Taylor, P.G.; Dijk, N.M. Closed Queueing Networks with Batch Services. Queueing Syst. 1990, 6, 59–70. [Google Scholar] [CrossRef]
  13. Sasikala, S.; Indhira, K. Bulk Service Queueing Models—A Survey. Int. J. Pure Appl. Math. 2016, 106, 43–56. [Google Scholar]
  14. Chaudhry, M.L.; Templeton, J.G.C. A First Course in Bulk Queues; John Wiley & Sons Inc.: New York, NY, USA, 1983. [Google Scholar]
  15. Stankevich, E.P.; Tananko, I.E.; Dolgov, V.I. Analysis of closed queueing networks with batch service. Izv. Saratov Univ. (N. S.) Ser. Math. Mech. Inform. 2020, 20, 527–533. [Google Scholar] [CrossRef]
  16. Klunder, W. Decomposition of Open Queueing Networks with Batch Service. In Operations Research Proceedings 2016; Springer: Cham, Switzerland, 2018; pp. 575–581. [Google Scholar]
  17. Daduna, H. Queueing Networks with Discrete Time Scale: Explicit Expressions for the Steady State Behavior of Discrete Time Stochastic Networks; Springer: New York, NY, USA, 2001. [Google Scholar]
  18. Chao, X.; Pinedo, M.; Shaw, D. Networks of Queues with Batch Services and Customer Coalescence. J. Appl. Probab. 1996, 33, 858–869. [Google Scholar] [CrossRef]
  19. Harrison, P.G. Product-form queueing networks with batches. In Computer Performance Engineering, Proceedings of the 15th European Workshop, EPEW 2018, Paris, France, 29–30 October 2018; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2018; pp. 250–264. [Google Scholar]
  20. Harrison, P.G.; Bor, J. Response time distribution in a tandem pair of queues with batch processing. J. ACM 2021, 68, 1–41. [Google Scholar] [CrossRef]
  21. Miyazawa, M.; Taylor, P.G. A Geometric Product-Form Distribution for a Queueing Network with Non-Standard Batch Arrivals And Batch Transfers. Adv. Appl. Prob. 1997, 29, 523–544. [Google Scholar] [CrossRef]
  22. Chao, X. Partial Balances in Batch Arrival Batch Service and Assemble-Transfer Queueing Networks. Adv. Appl. Prob. 1997, 34, 745–752. [Google Scholar] [CrossRef]
  23. Neely, M.J. Stochastic Network Optimization with Application to Communication and Queueing Systems; Morgan & Claypool: San Rafael, CA, USA, 2010. [Google Scholar]
  24. Xia, C.H.; Michailidis, G.; Bambos, N.; Glynn, P.W. Optimal control of parallel queues with batch service. Probab. Eng. Inform. Soc. 2002, 16, 289–307. [Google Scholar] [CrossRef] [Green Version]
  25. Zeng, Y.; Xia, C.H. Optimal bulking threshold of batch service queues. J. Appl. Prob. 2017, 54, 409–423. [Google Scholar] [CrossRef]
  26. Stankevich, E.; Tananko, I.; Pagano, M. Analysis of Open Queueing Networks with Batch Services. In Information Technologies and Mathematical Modelling. Queueing Theory and Applications, Proceedings of the 20th International Conference, ITMM 2021, Named after A.F. Terpugov, Tomsk, Russia, 1–5 December 2021; Communications in Computer and Information Science; Springer: Cham, Switzerland, 2022; pp. 40–51. [Google Scholar]
  27. Nakamura, A.; Phung-Duc, T. Stationary Analysis of Infinite Server Queue with Batch Service. In Performance Engineering and Stochastic Modeling, Proceedings of the 17th European Workshop, EPEW 2021, and 26th International Conference, ASMTA 2021, Virtual Event, 9–10 December and 13–14 December 2021; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2021; pp. 411–424. [Google Scholar]
Figure 1. Limit service rate in the node S i for λ i = 1.0 , μ i = 2.0 .
Figure 1. Limit service rate in the node S i for λ i = 1.0 , μ i = 2.0 .
Mathematics 10 03027 g001
Figure 2. Limit service rate in the node S i for λ i = 2.0 , μ i = 2.0 .
Figure 2. Limit service rate in the node S i for λ i = 2.0 , μ i = 2.0 .
Mathematics 10 03027 g002
Figure 3. Limit service rate in the node S i for λ i = 3.0 , μ i = 2.0 .
Figure 3. Limit service rate in the node S i for λ i = 3.0 , μ i = 2.0 .
Mathematics 10 03027 g003
Figure 4. Average sojourn times in the node S i for μ i = 2.0 .
Figure 4. Average sojourn times in the node S i for μ i = 2.0 .
Mathematics 10 03027 g004
Figure 5. Average sojourn times in the node S i for μ i = 3.0 .
Figure 5. Average sojourn times in the node S i for μ i = 3.0 .
Mathematics 10 03027 g005
Table 1. Average numbers of customers in the nodes.
Table 1. Average numbers of customers in the nodes.
Node S 1 S 2 S 3 S 4 S 5 S 6 S 7 S 8 S 9 S 10 S 11
Approximation1.1741.5541.4931.4471.0652.1181.1391.3811.1110.3572.289
Simulation1.1751.5531.4941.4511.0762.2211.1451.3881.1310.3652.283
Table 2. Average sojourn times in the nodes.
Table 2. Average sojourn times in the nodes.
Node S 1 S 2 S 3 S 4 S 5 S 6 S 7 S 8 S 9 S 10 S 11
Approximation1.8902.5011.8186.6725.16310.7505.2546.69410.5563.39321.647
Simulation1.8902.5011.8206.6915.21910.7695.2806.72010.7353.46821.684
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Stankevich, E.; Tananko, I.; Pagano, M. Optimization of Open Queuing Networks with Batch Services. Mathematics 2022, 10, 3027. https://doi.org/10.3390/math10163027

AMA Style

Stankevich E, Tananko I, Pagano M. Optimization of Open Queuing Networks with Batch Services. Mathematics. 2022; 10(16):3027. https://doi.org/10.3390/math10163027

Chicago/Turabian Style

Stankevich, Elena, Igor Tananko, and Michele Pagano. 2022. "Optimization of Open Queuing Networks with Batch Services" Mathematics 10, no. 16: 3027. https://doi.org/10.3390/math10163027

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