Table of Contents
Journal of Applied Mathematics and Stochastic Analysis
VolumeΒ 2008, Article IDΒ 518214, 25 pages
Research Article

A Fluid Model for a Relay Node in an Ad Hoc Network: Evaluation of Resource Sharing Policies

1Korteweg-de Vries Institute, University of Amsterdam, Plantage Muidergracht 24, 1018 Amsterdam, The Netherlands
2CWI, P.O. Box 94079, 1090 Amsterdam, The Netherlands
3EURANDOM, Eindhoven, The Netherlands
4University of Twente, P.O. Box 217, 7500, Enschede, The Netherlands

Received 3 August 2007; Accepted 6 May 2008

Academic Editor: HansΒ Daduna

Copyright Β© 2008 Michel Mandjes and Werner Scheinhardt. 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.


Fluid queues offer a natural framework for analyzing waiting times in a relay node of an ad hoc network. Because of the resource sharing policy applied, the input and output of these queues are coupled. More specifically, when there are 𝑛 users who wish to transmit data through a specific node, each of them obtains a share 1/(𝑛+π‘Š) of the service capacity to feed traffic into the queue of the node, whereas the remaining fraction π‘Š/(𝑛+π‘Š) is used to serve the queue; here π‘Š>0 is a free design parameter. Assume now that jobs arrive at the relay node according to a Poisson process, and that they bring along exponentially distributed amounts of data. The case π‘Š=1 has been addressed before; the present paper focuses on the intrinsically harder case π‘Š>1, that is, policies that give more weight to serving the queue. Four performance metrics are considered: (i) the stationary workload of the queue, (ii) the queueing delay, that is, the delay of a β€œpacket” (a fluid particle) that arrives at an arbitrary point in time, (iii) the flow transfer delay, (iv) the sojourn time, that is, the flow transfer time increased by the time it takes before the last fluid particle of the flow is served. We explicitly compute the Laplace transforms of these random variables.

1. Introduction

Ad hoc networks are self-configuring networks of mobile routers, connected by wireless links. They enable infrastructure-free communication: no fixed equipment is needed, but instead each client acts as a hub. When information needs to be transmitted across the network, it is sent from the sender to the receiver by relaying the packets along the intermediate hubs. An excellent survey on ad hoc networks, with special emphasis on quality-of-service aspects, is [1].

On a somewhat more abstract level the nodes in ad hoc networks can be regarded as queues: information packets arrive and are relayed, and when the arrival rate (temporarily) exceeds the departure rate, the buffer content of the queue builds up. These queues, however, have the interesting modelling feature that the available transmission capacity at any specific node is used both to (i) β€œpull” information packets from the β€œpredecessor hubs” into the queue and (ii) β€œpush” information packets from the queue towards β€œsuccessor hubs” (and eventually the destination client).

Now, consider the situation that at some point in time there are 𝑛 stations that transmit traffic via the same relay node. If the standard resource sharing policy is used, then the relay-node is assigned a share 1/(𝑛+1) of the available medium capacity, which is the same fraction as is allocated to each of the 𝑛 β€œsending nodes.” In other words, as soon as 𝑛>1, the node's input rate exceeds its output rate, and hence the excess traffic accumulates in the node's buffer; only when 𝑛=0 the queue drains. This explains why relay nodes are prone to becoming bottlenecks.

The above observations have motivated the development of alternative resource sharing policies, that assign more β€œweight” to serving the relay node; see for instance [2] and references therein. With the so-called enhanced distributed channel access (EDCA) protocol, it will be possible to set a parameter π‘Š>0, such that each of the 𝑛 sending nodes obtains a fraction 1/(𝑛+π‘Š) of the capacity, while the remaining 𝑀/(𝑛+π‘Š) is allocated to serving the queue. Clearly, when π‘Š>1 this has a benign effect on the buffer content of the queue, compared to the standard resource sharing policy described above: the queue drains for all 𝑛<π‘Š (rather than just for 𝑛=0). The price paid is that the traffic remains longer at the sending nodes.

There is one important modelling feature, that applies to the case π‘Š>1, that needs to be mentioned here. When the queue is empty and the number of sending nodes 𝑛 is below π‘Š, it does not make sense to assign each of the sending notes just a share 1/(𝑛+π‘Š): it would imply that the (available) service rate is strictly larger than the input rate, and that a fraction (π‘Šβˆ’π‘›)/(𝑛+π‘Š)>0 is left unused. For that reason, the EDCA protocol (IEEE 802.11E) was augmented with an β€œidle mode”: if the queue is idle and 𝑛<π‘Š, then half of the capacity is allocated to serving the queue of the relay node, whereas the other half is shared equally among the 𝑛 sending nodes (such that the input and output rates are equal, the queue remains empty, and all available capacity is used). Notice that when π‘Šβ‰€1 this special rate allocation (during periods in which the buffer is empty) is not required, as it cannot be that both the buffer is empty and that there are 𝑛<π‘Š jobs in the system.

The case π‘Š=1, corresponding to the standard resource sharing policy, was proposed and analysed in detail in [3, 4]. Seen from a queueing-theoretic perspective, this is a model β€œwith coupled input and output,” in that the capacity is shared between the input and output process. It was assumed that flows (or jobs) arrive at the relay node according to a Poisson process and initiate a data transfer. For the special case of exponentially distributed flow sizes, [4] explicitly gave the Laplace transforms (and tail asymptotics) of several performance measures.

Importantly, the case π‘Š=1 (and in fact also π‘Š<1) has nice features that are lost for π‘Š>1. As a consequence, the analysis of [4] for π‘Š=1 does not carry over to π‘Š>1. The main differences are the following.

(1) In the first place, as we explained, the case π‘Š=1 does not require the β€œidle mode” rate allocation that was introduced above (during periods in which the buffer is empty). As a consequence, the number of flows present evolves independently of the buffer content process (and hence the distribution of the number of flows present can be computed independently of the distribution of the buffer content of the queue). This nice property is lost in the case π‘Š>1; one could say that there is then some sort of β€œfeedback” from the buffer content to the flows, in the sense that the buffer content has impact on the flow behaviour, and hence the distributions of the number of sources present and the buffer content cannot be determined separately.

(ii) In the second place, suppose we wish to analyse the flow transfer delay, defined as the time between the arrival of the flow and the epoch that its last fluid particle has been transmitted into the queue. We know that for π‘Š=1 the queue cannot become empty during this flow transfer. Therefore, all the β€œstate information” that we have to keep track of is the number of flows present when entering (and not the buffer content); for π‘Š>1 the queue can become empty, and therefore we have to take into account the buffer content, as seen upon arrival, as well.

(iii) In case π‘Š=1, the buffer content decreases only during periods that there are no flows in the system, and these intervals are exponentially distributed; it turned out in [4] that this property entails that a direct translation is possible in terms of a related classical M/G/1 queueing model. For π‘Š>1, the periods of net output are not exponentially distributed, and therefore we lose this nice feature.

The above explains that the analysis for π‘Š>1 is considerably more involved than for π‘Š=1.

For various values of π‘Š, the model described above has been extensively validated in [2], by ad hoc network simulations that include all the details of the widely used IEEE 802.11 MAC-protocol. As indicated above, the alternative resource sharing policies can be enforced in real systems by deploying the recently standardised IEEE 802.11E protocol; [2] also indicates how to map the parameter settings of IEEE 802.11E on our model parameters.

The goal of the present paper is to extend the results of [4] to the case π‘Š>1. As in [4], four performance metrics are considered: (i) the stationary workload of the queue, (ii) the queueing delay, that is, the delay of a β€œpacket” (a fluid particle) that arrives at the queue at an arbitrary point in time, (iii) the flow transfer delay, that is, the time elapsed between arrival of a flow and the epoch that all its traffic has been put into the queue, and (iv) the sojourn time, that is, the flow transfer time increased by the time it takes before the last fluid particle of the flow is served.

We introduce the model (including a graphical illustration) and notation in Section 2β€”it is noted that in our model an admission control policy is in force. We also present some preliminaries as well as the stability condition. In Section 3 the steady-state workload (i.e., buffer content) distribution of the queue is characterised. This is done by relying on techniques from [5–7]. Unfortunately, we cannot exploit the resemblance a related M/G/1 queueing model, as was possible in [4]. We find the distribution function of the steady-state workload, in terms of the solution of an eigensystem and a set of linear equations. In Section 4, we study the queueing delay of a tagged fluid particle that arrived at time 0. A full characterisation of its Laplace transform can be given; the computations turn out to be relatively straightforward, based on the observation that during the queueing delay the queue cannot enter the β€œidle mode.”

Above we already indicated that the analysis of the flow transfer delay is much more involved than for π‘Š=1, mainly due to the fact that the buffer can become empty during the flow transfer, so that the allocation gets into the β€œidle mode.” The derivation of the Laplace transform requires the solution of various complex systems of equations. The results can be found in Section 5. In order to prove that the number of equations matches the number of unknowns, we need to show that a certain eigensystem has sufficiently many eigenvalues in the right half-plane; this we showed by using an elegant and powerful lemma of Sonneveld [8].

Section 6 concentrates on the so-called sojourn time, which is defined as the flow transfer time increased by the time it takes before the last fluid particle of the flow has left the queue; in other words, the sojourn time is the time it takes for the flow to go through the relay node. Relying on the results of Section 5, the sojourn time can be decomposed into a number of known components. Section 7 concludes and identifies a number of topics for future research.

2. Model and Preliminaries

In this section, we first give a detailed description of our model and introduce notation. Then, we derive the stability condition.

2.1. Model

The following model was verbally motivated in the Introduction. Consider a queueing system at which flows arrive according to a Poisson process transmits traffic into a queue (which is served in a FIFO manner) and leaves when ready. When there are 𝑛 flows active and the queue is nonempty, each flow transmits traffic into the queue at rate 𝐢/(𝑛+π‘Š), while a rate π‘ŠπΆ/(𝑛+π‘Š) is used to serve the queue; as a consequence, the queue drains when the number of flows present is below π‘Š. For ease, we assume that π‘Š is noninteger; we come back to this issue later in Section 7. When there are 𝑛 flows active and the queue is empty, all flows transmit at rate 𝐢/(2𝑛), while the queue is served at rate 𝐢/2, so that the queue remains empty.

Suppose that we impose the admission control policy that the system accommodates maximally π‘βˆˆβ„• flows simultaneously; in this way, each active flow is guaranteed at least a transmission rate 𝐢/(𝑁+π‘Š), and the queue at least π‘ŠπΆ/(𝑁+π‘Š). We assume that 𝑁>π‘Š (as otherwise the queue remains empty).

The above dynamics define a queueing process, for any given initial buffer level and initial number of flows present; we denote the buffer content at time 𝑑 by π‘Šπ‘‘. We let 𝑁𝑑 denote the number of flows present (i.e., feeding traffic into the queue) at time 𝑑. A pictorial illustration is given in Figure 1.

Figure 1: Illustration of the model. The top panel depicts the number of flows 𝑁𝑑 as a function of time, the middle panel the rate allocated to each source as a function of time, and the bottom panel the workload π‘Šπ‘‘ as a function of time; we have chosen π‘Š=3/2. Note that when 𝑁𝑑=1 the rate per source equals 𝐢/2 when the buffer is empty, and 2𝐢/5 when the buffer is nonempty. Also note that the queue builds up when 𝑁𝑑β‰₯2.

We introduce the following notation.

(i) π‘Šπ‘‘>0: the β€œbusy mode.” It is not hard to see, under the assumption of exponentially distributed flow sizes (with mean πœ‡βˆ’1) and interarrival times (with mean πœ†βˆ’1), that, during periods that π‘Šπ‘‘>0, the process 𝑁𝑑 behaves as a Markov chain on {0,…,𝑁}, with generator matrix 𝑄bβŽ›βŽœβŽœβŽœβŽœβŽœβŽœβŽœβŽπœ‡βˆΆ=βˆ’πœ†πœ†1π‘βˆ’πœ‡1πœ‡π‘βˆ’πœ†πœ†2π‘βˆ’πœ‡2πœ‡π‘βˆ’πœ†πœ†β‹±β‹±β‹±π‘π‘βˆ’πœ‡π‘π‘βŽžβŽŸβŽŸβŽŸβŽŸβŽŸβŽŸβŽŸβŽ ,(2.1)where πœ‡π‘›βˆΆ=πœ‡π‘›/(𝑛+π‘Š); the subscript β€œb” stands for β€œbusy.” We define πœˆπ‘›βˆΆ=πœ‡π‘›πΆ+πœ†1{𝑛<𝑁}.

When 𝑁𝑑=𝑛, the aggregate traffic rate generated by the flows is π‘ŸπΌ,π‘›βˆΆ=𝐢𝑛/(𝑛+π‘Š), while the queue's output rate is π‘Ÿπ‘‚,π‘›βˆΆ=π‘ŠπΆ/(𝑛+π‘Š), such that the net rate of change of the queue isπ‘Ÿπ΄,π‘›βˆΆ=π‘ŸπΌ,π‘›βˆ’π‘Ÿπ‘‚,𝑛=π‘π‘›βˆ’π‘Šπ‘›+π‘Š.(2.2)Define π‘…πΌβˆΆ=diag{π‘ŸπΌ}, π‘…π‘‚βˆΆ=diag{π‘Ÿπ‘‚}, and π‘…π΄βˆΆ=π‘…πΌβˆ’π‘…π‘‚.

Busy periods are periods in which π‘Šπ‘‘ is positive all the time. With 𝑛+∢=βŒˆπ‘ŠβŒ‰, it is evident that the number of active flows at the beginning of a busy period equals 𝑛+. The number of active flows at the end of a busy period is in {0,…,π‘›βˆ’}, with π‘›βˆ’βˆΆ=βŒŠπ‘ŠβŒ‹.

(ii) π‘Šπ‘‘=0: the β€œidle mode.” Let idle periods be periods in which π‘Šπ‘‘=0 all the time. An idle period ends as soon as 𝑁𝑑=𝑛+. During the idle period necessarily π‘π‘‘βˆˆ{0,…,π‘›βˆ’}. One could say that 𝑁𝑑 behaves as a Markov chain on {0,…,π‘›βˆ’} until 𝑁𝑑 jumps from π‘›βˆ’ to 𝑛+ (i.e., the start of a new busy period). The corresponding rate matrix (which is not a bona fide generator matrix) is𝑄iβŽ›βŽœβŽœβŽœβŽœβŽœβŽœβŽœβŽβŽžβŽŸβŽŸβŽŸβŽŸβŽŸβŽŸβŽŸβŽ βˆΆ=βˆ’πœ†πœ†πœ‡π‘/2βˆ’πœ‡π‘/2βˆ’πœ†πœ†πœ‡π‘/2βˆ’πœ‡π‘/2βˆ’πœ†πœ†β‹±β‹±β‹±πœ‡π‘/2βˆ’πœ‡π‘/2βˆ’πœ†;(2.3)the subscript β€œi” stands for β€œidle.”

2.2. Stability Condition

To make sure that the steady-state workload π‘Šβ‹† is finite a.s., the mean drift should be negative when π‘Šπ‘‘ is large. Since 𝑁𝑑 behaves essentially like a stationary Markov process with generator 𝑄b when π‘Šπ‘‘ is large, it follows that π‘Šπ‘‘ can only escape to ∞ when βˆ‘π‘π‘›=0πœ‹π‘›π‘Ÿπ΄,𝑛β‰₯0, denoting by β†’πœ‹β‰‘(πœ‹0,…,πœ‹π‘)T the invariant measure of 𝑄b. Hence, we should require that βˆ‘π‘π‘›=0πœ‹π‘›π‘Ÿπ΄,𝑛<0. Elementary Markov chain analysis yields that, with 𝜚∢=πœ†/(πœ‡πΆ),πœ‹π‘›=πœŒπ‘›π”Ή(𝑛+π‘Š,𝑛)βˆ‘π‘π‘š=0πœšπ‘šπ”Ή(π‘š+π‘Š,π‘š),(2.4)where, for π‘˜β‰₯β„“β‰₯0,𝔹(β‹…,β‹…) can be regarded as a β€œgeneralised binomial coefficient”:𝔹(π‘˜,β„“)∢=Ξ“(π‘˜+1)Ξ“(β„“+1)Ξ“(π‘˜βˆ’β„“+1).(2.5)The stability condition becomes βˆ‘π‘π‘›=0π‘Ÿπ΄,π‘›πœ‹π‘›<0.

It is instructive to show how this condition simplifies in the situation of π‘β†’βˆž. Due to (recognize the probability density function of the negative binomial distribution)βˆžξ“π‘š=0πœšπ‘š1𝔹(π‘š+𝑀,π‘š)=(1βˆ’πœš)π‘Š+1,(2.6)we have to verify whetherβˆžξ“π‘›=0πœ‹π‘›β‹…π‘›βˆ’π‘Š=𝑛+π‘Šβˆžξ“π‘›=0πœŒπ‘›π”Ή(𝑛+𝑀,𝑛)(1βˆ’πœš)π‘Š+1β‹…π‘›βˆ’π‘Šπ‘›+π‘Š<0.(2.7)Using identity (2.6) again, writingπ‘›βˆ’π‘Š=𝑛+π‘Š2𝑛𝑛+π‘Šβˆ’1,(2.8)and observing thatβˆžξ“π‘›=0πœšπ‘›π”Ή(𝑛+𝑀,𝑛)2𝑛=𝑛+π‘Šβˆžξ“π‘›=1πœšπ‘›π”Ή(𝑛+𝑀,𝑛)2𝑛𝑛+π‘Š=2βˆžξ“π‘›=1πœšπ‘›π”Ή(𝑛+π‘€βˆ’1,π‘›βˆ’1)=2πœšβˆžξ“π‘›=0πœšπ‘›π”Ή(𝑛+𝑀,𝑛)=2𝜚(1βˆ’πœš)π‘Š+1,(2.9)it is readily verified that the stability requirement reduces to 2πœšβˆ’1<0. In other words, for the system to be stable, it is required that 𝜚<1/2 (irrespective of the value of π‘Š). This result makes sense as essentially all traffic has to be β€œserved” twice: first it has to be transmitted from the sources to the queue, and then it has to be served by the queue.

3. Buffer Content Distribution

In this section, we study the steady-state workload π‘Šβ‹† of the queue introduced in the previous section (jointly with the steady-state number 𝑁⋆ of sources present). We do this by relating the workload of our model (to which we refer as Model I) to the workload in a slightly different system (Model II): a model in which the generator 𝑄b and the traffic rate matrices 𝑅𝐼, 𝑅𝑂, and 𝑅𝐴 apply also when the buffer is empty (so Model II has no β€œidle mode”).

The procedure of relating a feedback system (Model I, in which the sources react to the buffer content) to an (easier) nonfeedback system (Model II, in which the flows behave independently of the buffer content) resembles that of [7, Section 2].

The distribution of the steady-state workload is characterised in terms of the solution of a certain eigensystem (and a number of additional linear equations). It also enables us to compute the corresponding Laplace transform, which we use several times in the next sections.

3.1. Preliminary Results

In this subsection, we consider the model without feedback, that is, Model II: the generator matrix 𝑄b and the traffic rate matrices 𝑅𝐼, 𝑅𝑂, and 𝑅𝐴 apply not only when the buffer content is positive, but also when the buffer is empty. We assume that the stability criterion derived above (which reduces to 𝜚<1/2 when π‘β†’βˆž) applies. Denote by 𝑉𝑑 the buffer content of this system at time 𝑑 (where 𝑉⋆ is its stationary version), and by 𝑀𝑑 the number of flows present at time 𝑑 (where 𝑀⋆ is its stationary version). Define also →𝐹(π‘₯)∢=(𝐹0(π‘₯),…,𝐹𝑁(π‘₯))T, where𝐹𝑛𝑉(π‘₯)∢=ℙ⋆≀π‘₯,𝑀⋆=𝑛.(3.1)Model II has been studied extensively in the literature; we now recall a number of basic properties, which turn out to become useful when analysing Model I, see Section 3.2.

Buffer Content Distribution
It is well known from the literature how the 𝐹𝑛(π‘₯) can be determined; they obey the system of linear differential equations:π‘…π΄β†’πΉξ…ž(π‘₯)=𝑄Tb→𝐹(π‘₯).(3.2)Owing to the special birth-death structure, we can use explicit results obtained by van Doorn et al. [9].
A central role in the analysis is played by the eigensystem𝑧→𝑣𝑅𝐴=→𝑣𝑄b,(3.3)with eigenvectors →𝑣0 up to →𝑣𝑁 and corresponding eigenvalues 𝑧0,…,𝑧𝑁. Notice that π‘Ÿπ΄,𝑛≠0, for all 𝑛=0,…,𝑁, so 𝑅𝐴 is invertible. Then, [9, Theorem 1] says that all eigenvalues 𝑧 are real and simple.
Moreover, observe that the number of states of 𝑀𝑑 in which 𝑉𝑑 drains (or remains empty) is 𝑛+; in the other π‘βˆ’π‘›βˆ’ the buffer level increases. Provided that the stability condition is satisfied, [9, Theorem 1] entails that there are π‘βˆ’π‘›βˆ’ negative eigenvalues, one eigenvalue that equals 0, and π‘›βˆ’ positive eigenvalues. Put the eigenvalues in increasing order; let (β†’π‘£π‘š)𝑛 refer to the 𝑛th component of β†’π‘£π‘š. Then the above, in conjunction with the fact that 𝐹𝑛(∞) lies between 0 and 1 for all 𝑛, implies that in the representation𝐹𝑛(π‘₯)=π‘ξ“π‘š=0π‘π‘šβ‹…ξ‚€β†’π‘£π‘šξ‚π‘›β‹…π‘’π‘§π‘›π‘₯,(3.4)the terms π‘βˆ’π‘›++1 up to 𝑁 are 0. As π‘§π‘βˆ’π‘›βˆ’=0 and β†’π‘£π‘βˆ’π‘›βˆ’=πœ‹, it follows that the requirement →𝐹(∞)=πœ‹ implies π‘π‘βˆ’π‘›βˆ’=1. We obtain𝐹𝑛(π‘₯)=πœ‹π‘›+π‘βˆ’π‘›+ξ“π‘š=0π‘π‘šβ‹…ξ‚€β†’π‘£π‘šξ‚π‘›β‹…π‘’π‘§π‘šπ‘₯.(3.5)Now, only the π‘π‘š (for π‘š=0 up to π‘βˆ’π‘›+) need to be determined. These follow from the fact that 𝐹𝑛(0)=0 for 𝑛=𝑛+,…,𝑁. These are π‘βˆ’π‘›βˆ’ equations in the same number of unknowns, and can be determined explicitly in terms of 𝑧0,…,π‘§π‘βˆ’π‘›+, as described in [9], Section 4.

Busy and Idle Periods
Elwalid and Mitra [10] give explicit expressions for a number of quantities that are related to the busy and idle periods of the queue. A busy period is, as before, defined as a period in which the buffer content is positive, whereas an idle period is a period in which the buffer is empty. It is easily seen that at the beginning of a busy period the number of flows present is equal to 𝑛+; at the end of the busy period the number of flows present is at most π‘›βˆ’.
Denote by →𝑃 the distribution of the number of flows present at the end of the busy period. Let the matrices 𝑄bDD, 𝑄bDU, 𝑄bUD, 𝑄bUU be the submatrices that are obtained by partitioning 𝑄b into down-states (i.e., states 𝑛 such that π‘Ÿπ΄,𝑛<0) and up-states (π‘Ÿπ΄,𝑛>0); similarly, →𝐹(π‘₯) is partitioned in →𝐹D(π‘₯) and →𝐹U(π‘₯).
Then, it is not hard to prove that→𝑃=1→𝐹D(0)𝑄bDDξ‚­β‹…,πŸβ†’πΉD(0)𝑄bDD,(3.6)see [10, Equation (5.9)]; βŸ¨β‹…,β‹…βŸ© denotes the inner product of two vectors. The mean idle period 𝔼𝐼 is given byβˆ‘π”ΌπΌ=βˆ’π‘›βˆ’π‘›=0𝐹𝑛(0)→𝐹D(0)𝑄bDDξ‚­,𝟏.(3.7)Finally, the mean busy period 𝔼𝐡 can be calculated. According to β€œrenewal reward” βˆ‘π‘›βˆ’π‘›=0𝐹𝑛(0)=𝔼𝐼/(𝔼𝐼+𝔼𝐡), so thatβˆ‘π”Όπ΅=𝔼𝐼⋅1βˆ’π‘›βˆ’π‘›=0𝐹𝑛(0)βˆ‘π‘›βˆ’π‘›=0𝐹𝑛(0).(3.8)

3.2. Analysis of Buffer Content Distribution

Now, we turn back to Model I, as described in Section 2.1. Our goal is to show that the steady-state buffer content π‘Šβ‹† of Model I (in which there are different queueing dynamics when the buffer is empty or nonempty) is intimately related to the steady-state buffer 𝑉⋆ content of Model II (in which there is no distinction between an empty and nonempty buffer).

Let us start by making a number observations. First, observe that in both Models I and II a busy period starts with 𝑛+ flow present. Also, the distribution of the length of the busy period 𝐡 is the same for both models, as well as the distribution →𝑃 of the number of flows present at the end of the busy period. In other words, the difference between the models lies just in the duration of the idle periods. In Section 3.1, we already found the mean idle period 𝔼𝐼 of Model II. Let us therefore consider the mean idle period 𝔼𝐽 of Model I.

As in [7, Lemma 2.3], we have that the mean idle period of Model I equalsξ‚¬βˆ’π”Όπ½=β†’π‘ƒπ‘„βˆ’1iξ‚­,𝟏;(3.9)the expected amount of time during this idle time in which there are 𝑛 flows present, say 𝔼(𝐽𝑛), is (βˆ’β†’π‘ƒπ‘„βˆ’1i)𝑛, that is, the 𝑛th entry of βˆ’β†’π‘ƒπ‘„βˆ’1i. This follows from the fact that the mean time π”Όπ‘š(𝐽𝑛) spent in 𝑛 during the idle time, given that at the beginning of the idle time π‘š flows were present, satisfies the linear system, for π‘š=1,…,π‘›βˆ’,π”Όπ‘š(𝐽𝑛1)=1ξ€½ξ€Ύ+πœ†πœ†+πœ‡πΆ/2π‘š=π‘›πœ†+πœ‡πΆ/2β‹…π”Όπ‘š+1𝐽𝑛+πœ‡πΆ/2πœ†+πœ‡πΆ/2β‹…π”Όπ‘šβˆ’1𝐽𝑛,(3.10)with 𝔼𝑛+(𝐽𝑛)=0, and𝔼0𝐽𝑛=1πœ†1𝑛=0+𝔼1𝐽𝑛.(3.11)We now have collected all the required elements to determine the distribution of the steady-state buffer content π‘Šβ‹†. Analogously to [7, Theorem 2.4] we obtain the following result for 𝐺𝑛(π‘₯)∢=β„™(π‘Šβ‹†β‰€π‘₯,𝑁⋆=𝑛).

Theorem 3.1. For all π‘₯β‰₯0, 𝐺𝑛𝐹(π‘₯)=𝑛(π‘₯)βˆ’πΉπ‘›ξ‚β‹…(0)𝔼𝐼+𝔼𝐡+𝔼𝐽𝔼𝐽+𝔼𝐡𝑛𝔼𝐽+𝔼𝐡.(3.12)

Proof. This is proven as follows. We first condition on π‘Šβ‹† being positive or zero:πΊπ‘›ξ‚€π‘Š(π‘₯)=ℙ⋆≀π‘₯,𝑁⋆=π‘›βˆ£π‘Šβ‹†ξ‚β„™ξ‚€π‘Š>0β‹†ξ‚ξ‚€π‘Š>0+ℙ⋆=0,𝑁⋆=𝑛.(3.13)By applying the renewal-reward theorem, the latter probability can be rewritten asβ„™ξ‚€π‘Šβ‹†=0,𝑁⋆=𝔼𝐽=𝑛𝑛𝔼𝐽+𝔼𝐡;(3.14)notice that these probabilities equal 0 for 𝑛=𝑛+,…,𝑁. Also, from β€œrenewal-reward,β€β„™ξ‚€π‘Šβ‹†ξ‚>0ℙ𝑉⋆=>0𝔼𝐼+𝔼𝐡𝔼𝐽+𝔼𝐡.(3.15)Hence, we are left with determining the first probability in the right-hand side of (3.13). We first rewrite it asℙ𝑁⋆=π‘›βˆ£π‘Šβ‹†ξ‚β„™ξ‚€π‘Š>0β‹†ξ‚ξ‚€π‘Š>0βˆ’β„™β‹†>π‘₯,𝑁⋆=π‘›βˆ£π‘Šβ‹†ξ‚β„™ξ‚€π‘Š>0⋆>0.(3.16)Now, recall that the distribution of (π‘Šβ‹†,𝑁⋆), conditional on π‘Šβ‹†>0, is the same as the distribution of (𝑉⋆,𝑀⋆), conditional on 𝑉⋆>0. Combining this with (3.15), we obtainℙ𝑀⋆=π‘›βˆ£π‘‰β‹†ξ‚β„™ξ‚€π‘Š>0⋆𝑉>0βˆ’β„™β‹†>π‘₯,𝑀⋆=π‘›βˆ£π‘‰β‹†ξ‚β„™ξ‚€π‘Š>0⋆=ℙ𝑉>0⋆>0,𝑀⋆𝑉=π‘›βˆ’β„™β‹†>π‘₯,𝑀⋆×=𝑛𝔼𝐼+𝔼𝐡=𝐹𝔼𝐽+𝔼𝐡𝑛(π‘₯)βˆ’πΉπ‘›ξ‚β‹…(0)𝔼𝐼+𝔼𝐡.𝔼𝐽+𝔼𝐡(3.17)This proves the claim.

Upon combining the above theorem with representation (3.5), we find the following useful result.

Corollary 3.2. For all π‘₯β‰₯0, Theorem 3.1, in conjunction with (3.5), defines numbers 𝛼𝑛 and π›½π‘›π‘š (with 𝑛=0,…,𝑁 and π‘š=0,…,π‘βˆ’π‘›+) such that 𝐺𝑛(π‘₯)=𝛼𝑛+π‘βˆ’π‘›+ξ“π‘š=0π›½π‘›π‘šπ‘’π‘§π‘šπ‘₯.(3.18)Here, 𝐺𝑛(0)>0 if and only if π‘›βˆˆ{0,…,π‘›βˆ’}; 𝐺𝑛(0) is given by πΊπ‘›ξ‚€π‘Š(0)=ℙ⋆=0,𝑁⋆=𝑛=𝛼𝑛+π‘βˆ’π‘›+ξ“π‘š=0π›½π‘›π‘š.(3.19)The probability of 𝑛 flows in the system is given by β„™(𝑁⋆=𝑛)=𝐺𝑛(∞)=𝛼𝑛 (where βˆ‘π‘π‘›=0𝛼𝑛=1). The Laplace transform of π‘Šβ‹† reads, for 𝑠>0, π”Όξ‚€π‘’βˆ’π‘ π‘Šβ‹†1𝑁⋆=𝑛=𝛼𝑛+π‘βˆ’π‘›+ξ“π‘š=0π‘ π›½π‘›π‘šπ‘ βˆ’π‘§π‘š.(3.20)

4. Queueing Delay Distribution

It is clear that it is a nontrivial step to translate the steady-state workload distribution into the queueing delay distribution. Importantly, to study the delay of a fluid particle arriving at time, say, 0, the arrivals and departures of flows after 0 have impact. In Sections 4.1 and 4.2, we analyse the so-called virtual queueing delay, that is, the delay experienced by a fluid particle arriving at a random point in time (i.e., a β€œtime average”); this is done through a direct approach in Section 4.1 and through so-called β€œdouble transforms” is Section 4.2. Section 4.3 characterises the queueing delay of an arbitrary fluid particle (i.e., a β€œtraffic average”).

4.1. Virtual Queueing Delay

Let 𝐷⋆ denote the delay experienced by a fluid particle arriving at the queue in steady state, say for ease at time 0; this type of delay is sometimes referred to as virtual queueing delay. Let 𝑂(0,𝑑) denote the amount of output capacity available in the interval [0,𝑑). If the fluid particle arrives at an empty queue, then the virtual delay is clearly zero; if the fluid particle arrives at a nonempty queue, then the queue is drained according to the rates π‘Ÿπ‘‚,𝑛 until the particle has been served (in fact even until the queue is empty). Define, for 𝑧β‰₯0, the random variable πœπ‘§ as the time until 𝑧 units of service have become available:πœπ‘§ξ‚†ξ‚‡ξ‚†ξ€œβˆΆ=inf𝑑β‰₯0βˆΆπ‘‚(0,𝑑)=𝑧=inf𝑑β‰₯0βˆΆπ‘‘0π‘Ÿπ‘‚,𝑁𝑠d𝑠=𝑧;(4.1)notice that 𝑂(0,𝑑) is increasing in 𝑑. Then, analogously to [4, Section 4.1], with some abuse of notation,π”Όπ‘’βˆ’π‘ π·β‹†=𝑁𝑛=0ξ€œβˆž0π”Όξ‚€π‘’βˆ’π‘ πœπ‘§βˆ£π‘β‹†ξ‚β„™ξ‚€π‘Š=𝑛⋆=𝑧,𝑁⋆=𝑛d𝑧.(4.2)Hence, to further compute this expression, we need to evaluate 𝔼(π‘’βˆ’π‘ πœπ‘§βˆ£π‘β‹†=𝑛). Here, we can use [4, Proposition 4.1]:π”Όξ‚€π‘’βˆ’π‘ πœπ‘§βˆ£π‘β‹†ξ‚=𝑅=𝑛expξ‚€ξ‚€π‘‚βˆ’1𝑄bβˆ’π‘ π‘…π‘‚βˆ’1ξ‚π‘§ξ‚πŸξ‚π‘›,(4.3)where 𝟏 denotes an (𝑁+1)-dimensional vector with 1s. As the same proposition entails that the eigenvalues are simple and negative (hence real numbers), it allows us to write, for constants π›Ύπ‘šπ‘›, with π‘š,𝑛=0,…,𝑁,π”Όξ‚€π‘’βˆ’π‘ πœπ‘§βˆ£π‘β‹†ξ‚==π‘›π‘ξ“π‘š=0π›Ύπ‘šπ‘›π‘’π›Ώπ‘š(𝑠)𝑧.(4.4)We thus obtain the following result.

Theorem 4.1. For 𝑠>0, π”Όπ‘’βˆ’π‘ π·β‹†=𝑁𝑁𝑛=0ξ“π‘š=0π›Ύπ‘šπ‘›π”Όξ‚€π‘’π›Ώπ‘š(𝑠)π‘Šβ‹†1𝑁⋆=𝑛,(4.5)where the π›Ύπ‘šπ‘› are as in (4.4). The 𝛿𝑛(𝑠), for 𝑛=0,…,𝑁, are the eigenvalues of π‘…π‘‚βˆ’1𝑄bβˆ’π‘ π‘…π‘‚βˆ’1 (which are negative). An expression for 𝔼(π‘’βˆ’π‘ π‘Šβ‹†1{𝑁⋆=𝑛}), with 𝑠>0, is available from Corollary 3.2.

4.2. A Second Approach: Double Transforms

We now proceed with demonstrating a second approach, which relies on the concept of β€œdouble transforms.” We feel that this is instructive, as this approach is used extensively in the remainder of the paper (when analysing the flow transfer delay and the sojourn time).

Let us first condition on the buffer content (π‘Š0=π‘₯) that the fluid particle sees (say that it arrives at time 0), and the number of flows that are then present (𝑁0=𝑛). Define, for given 𝑛=1,…,𝑁 and π‘₯β‰₯0, the transform of the queueing delay:πœ‰π‘›ξ‚€π‘’(π‘ βˆ£π‘₯)∢=π”Όβˆ’π‘ π·βˆ£π‘Š0=π‘₯,𝑁0=𝑛.(4.6)Then, we also introduce the transform of πœ‰π‘›(π‘ βˆ£π‘₯) with respect to the workload π‘₯:πΎπ‘›ξ€œ(𝑠,𝑑)=∞0π‘’βˆ’π‘‘π‘₯πœ‰π‘›(π‘ βˆ£π‘₯)dπ‘₯;(4.7)we say that 𝐾𝑛(𝑠,𝑑) is a β€œdouble transform.” Below, we show how to use these double transforms to derive π”Όπ‘’βˆ’π‘ π·β‹†.

Our first goal is to characterise the 𝐾𝑛(𝑠,𝑑), 𝑛=1,…,𝑁, for fixed 𝑠β‰₯0 and 𝑑>0. We do this by expressing 𝐾𝑛(𝑠,𝑑) in terms of πΎπ‘š(𝑠,𝑑) (with π‘šβ‰ π‘›) as follows. Condition on the time until the service rate changes; this time has an exponential distribution with mean πœˆπ‘›βˆ’1. Hence,πΎπ‘›ξ€œ(𝑠,𝑑)=∞0π‘’βˆ’π‘‘π‘₯ξ‚€ξ€œπ‘₯/π‘Ÿπ‘‚,𝑛0πœˆπ‘›π‘’βˆ’πœˆπ‘›π‘¦π‘’βˆ’π‘ π‘¦ξ‚€ξ€½ξ€Ύπœ†1𝑛<π‘›πœˆπ‘›πœ‰π‘›+1ξ‚€π‘ βˆ£π‘₯βˆ’π‘Ÿπ‘‚,𝑛𝑦+πœ‡π‘›πΆπœˆπ‘›πœ‰π‘›βˆ’1ξ‚€π‘ βˆ£π‘₯βˆ’π‘Ÿπ‘‚,𝑛𝑦+ξ€œξ‚ξ‚dπ‘¦βˆžπ‘₯/π‘Ÿπ‘‚,π‘›πœˆπ‘›π‘’βˆ’πœˆπ‘›π‘¦π‘’βˆ’π‘ π‘₯/π‘Ÿπ‘‚,𝑛d𝑦dπ‘₯.(4.8)A straightforward change of variable (π‘₯βˆ’π‘Ÿπ‘‚,𝑛𝑦=𝑧) then yields that𝐾𝑛1(𝑠,𝑑)=πœˆπ‘›+𝑠+tr𝑂,π‘›ξ‚€ξ€½ξ€ΎπΎπœ†1𝑛<𝑛𝑛+1(𝑠,𝑑)+πœ‡π‘›π‘πΎπ‘›βˆ’1(𝑠,𝑑)+π‘Ÿπ‘‚,𝑛.(4.9)For given 𝑠 and 𝑑, these are 𝑁+1 linear equations in the same number of unknowns. It is easy to see that the corresponding linear system is diagonally dominant, and hence there is a unique solution. This enables us to find the 𝐾𝑛(𝑠,𝑑).

Our second goal is to show how these 𝐾𝑛(𝑠,𝑑) yield an expression for π”Όπ‘’βˆ’π‘ π·β‹†. At an arbitrary point in time, the distribution function of the workload (jointly with the number of flows present) is given by 𝐺𝑛(β‹…), as given by (3.18). But, as the corresponding density is the weighted sum of exponentials, it entails that knowledge of the 𝐾𝑛(𝑠,𝑑) gives an expression for the Laplace transform of the virtual delay:π”Όπ‘’βˆ’π‘ π·β‹†=𝑁𝑛=0ξ€œ[0,∞)πœ‰π‘›(π‘ βˆ£π‘₯)d𝐺𝑛=(π‘₯)𝑁𝑛=0ξ‚€πœ‰π‘›(π‘ βˆ£0)πΊπ‘›ξ€œ(0)+(0,∞)π‘βˆ’π‘›βˆ’ξ“π‘š=0πœ‰π‘›(π‘ βˆ£π‘₯)π‘§π‘šπ›½π‘›π‘šπ‘’π‘§π‘šπ‘₯=dπ‘₯π‘›βˆ’ξ“π‘›=0𝐺𝑛(0)+𝑁𝑛=0π‘βˆ’π‘›βˆ’ξ“π‘š=0π‘§π‘šπ›½π‘›π‘šπΎπ‘›ξ‚€π‘ ,βˆ’π‘§π‘šξ‚;(4.10)recall that π‘§π‘š<0 for π‘š=0,…,π‘βˆ’π‘›βˆ’.

Theorem 4.2. For 𝑠>0, π”Όπ‘’βˆ’π‘ π·β‹†=π‘›βˆ’ξ“π‘›=0𝐺𝑛(0)+𝑁𝑛=0π‘βˆ’π‘›βˆ’ξ“π‘š=0π‘§π‘šπ›½π‘›π‘šπΎπ‘›ξ‚€π‘ ,βˆ’π‘§π‘šξ‚.(4.11)

4.3. β€œPacket Average” Queueing Delay

The previous subsections presented expressions for the Laplace transform of the queueing delay β€œat an arbitrary point in time” (a β€œtime average”). Clearly, there is a bias between the delay 𝐷⋆ β€œat an arbitrary point in time” and delay 𝐷⋆ β€œseen by an arbitrary fluid particle.” The correction to be made is analogous to [4, Section 4.2] and rather straightforward:π”Όπ‘’βˆ’π‘ π·β‹†=𝑁𝑛=0ξ‚€π‘Ÿπ‘–,π‘›βˆ‘π‘π‘˜=0πœ‹π‘˜π‘ŸπΌ,π‘˜ξ‚π‘ξ“π‘š=0π›Ύπ‘šπ‘›π”Ό(π‘’π›Ώπ‘š(𝑠)π‘Šβ‹†1𝑁⋆=𝑛),(4.12)compared to [11, Proposition 7.2].

5. Flow Transfer Delay Distribution

In this section, we focus on the time 𝐹 it takes for an arbitrary arriving flow to transmit its traffic. We define the flow transfer delay as the time between arrival and the epoch that its last fluid particle has been transmitted into the queue. Realise that the flow transfer time depends on the buffer content and number of flows that the tagged flow sees upon arrival. Due to the PASTA-property, these coincide with the corresponding time-averages. Recall that the case π‘Š=1, as addressed in [4] is simpler, as the buffer content seen upon arrival does not play a role.

Let us first condition on the buffer content (π‘Š0=π‘₯) and the number of flows (𝑁0=𝑛). Define, for 𝑠β‰₯0, 𝑑>0, the Laplace transform of the flow transfer time (conditional on π‘Š0=π‘₯ and 𝑁0=𝑛) and its transform with respect to π‘₯:πœ‚π‘›ξ‚€π‘’(π‘ βˆ£π‘₯)∢=π”Όβˆ’π‘ πΉβˆ£π‘Š0=π‘₯,𝑁0;𝐿=π‘›π‘›ξ€œ(𝑠,𝑑)=∞0π‘’βˆ’π‘‘π‘₯πœ‚π‘›(π‘ βˆ£π‘₯)dπ‘₯.(5.1)For later reference, we also introduce, for 𝑛=1,…,𝑁 and π‘š>π‘Š,πœ…π‘›(𝑠,𝑑)∢=πœˆπ‘›+π‘ βˆ’tr𝐴,𝑛;π‘‘π‘›πœˆ(𝑠)∢=𝑛+π‘ π‘Ÿπ΄,𝑛;ℓ𝑛,π‘š(𝑠)∢=𝐿𝑛𝑠,π‘‘π‘šξ‚(𝑠).(5.2)Notice that, for 𝑛>π‘Š, 𝑑𝑛(𝑠) is positive.

In Section 5.1, we find the 𝐿𝑛(𝑠,𝑑); this is in terms of auxiliary transforms that are determined in Section 5.2. We conclude this section by presenting the transform of the flow transfer delay; see Section 5.3.

5.1. A System of Equations for the Double Transform

We now deduce a system of equations for the 𝐿𝑛(𝑠,𝑑), 𝑛=1,…,𝑁. We do so by distinguishing between β€œdown-states” (𝑛 with π‘Ÿπ΄,𝑛>0) and β€œup-states” (with π‘Ÿπ΄,𝑛<0). The idea is that for up-states during the time till the first event (new arrival or departure) the buffer content cannot become 0, while for down-states this is possible. As a consequence, these cases have to be dealt with differently.

First, assume that 𝑛 is an β€œup-state”: π‘›βˆˆ{𝑛+,…,𝑁}. It is elementary to see that, conditioning on the first event taking place after 𝑀 units of time,πΏπ‘›ξ€œ(𝑠,𝑑)=∞0π‘’βˆ’π‘‘π‘₯ξ‚€ξ€œβˆž0πœˆπ‘›π‘’βˆ’πœˆπ‘›π‘€π‘’βˆ’π‘ π‘€Γ—ξ‚€ξ€½ξ€Ύπœ†1𝑛<π‘πœˆπ‘›πœ‚π‘›+1ξ‚€π‘ βˆ£π‘₯+π‘Ÿπ΄,𝑛𝑀+π‘›βˆ’1π‘›πœ‡π‘›πΆπœˆπ‘›πœ‚π‘›βˆ’1ξ‚€π‘ βˆ£π‘₯+π‘Ÿπ΄,𝑛𝑀+1π‘›πœ‡π‘›πΆπœˆπ‘›ξ‚ξ‚d𝑀dπ‘₯.(5.3)This is the sum of three integrals. The third equals𝐿𝑛(3)πœ‡(𝑠,𝑑)=𝑛𝐢𝑛⋅1𝑑⋅1πœˆπ‘›+𝑠=βˆΆπœ‡+𝑛(𝑠,𝑑).(5.4) Consider the first, and perform the change of variable π‘₯+π‘Ÿπ΄,𝑛𝑀=𝑦:𝐿𝑛(1)ξ€œ(𝑠,𝑑)=∞0π‘’βˆ’π‘‘π‘₯ξ‚€ξ€œβˆž0ξ€½ξ€Ύπ‘’πœ†1𝑛<π‘›βˆ’πœˆπ‘›π‘€π‘’βˆ’π‘ π‘€πœ‚π‘›+1ξ‚€π‘ βˆ£π‘₯+π‘Ÿπ΄,𝑛𝑀=ξ€œξ‚ξ‚d𝑀dπ‘₯∞0ξ€œπ‘¦/π‘Ÿπ΄,𝑛0π‘’βˆ’π‘‘(π‘¦βˆ’π‘Ÿπ΄,𝑛𝑀)ξ€½ξ€Ύπ‘’πœ†1𝑛<π‘›βˆ’πœˆπ‘›π‘€π‘’βˆ’π‘ π‘€πœ‚π‘›+1=ξ€œ(π‘ βˆ£π‘¦)d𝑀dπ‘¦βˆž0π‘’βˆ’π‘‘π‘¦ξ€½ξ€Ύξ‚€π‘’πœ†1𝑛<𝑛(π‘‘βˆ’πœˆπ‘›/π‘Ÿπ΄,π‘›βˆ’π‘ /π‘Ÿπ΄,𝑛)π‘¦βˆ’1tr𝐴,π‘›βˆ’πœˆπ‘›ξ‚πœ‚βˆ’π‘ π‘›+1(π‘ βˆ£π‘¦)d𝑦=πœ†π‘›ξ‚€πΏ(𝑠,𝑑)𝑛+1(𝑠,𝑑)βˆ’πΏπ‘›+1ξ‚€πœˆπ‘ ,𝑛+π‘ π‘Ÿπ΄,𝑛,whereπœ†π‘›ξ€½ξ€Ύ(𝑠,𝑑)∢=πœ†1𝑛<π‘πœ…π‘›.(𝑠,𝑑)(5.5)Similarly,𝐿𝑛(2)(𝑠,𝑑)=πœ‡π‘›ξ‚€πΏ(𝑠,𝑑)π‘›βˆ’1(𝑠,𝑑)βˆ’πΏπ‘›βˆ’1ξ‚€πœˆπ‘ ,𝑛+π‘ π‘Ÿπ΄,𝑛,whereπœ‡π‘›(𝑠,𝑑)∢=π‘›βˆ’1π‘›πœ‡π‘›πΆπœ…π‘›(𝑠,𝑑).(5.6)We arrive at𝐿𝑛(𝑠,𝑑)=πœ†π‘›ξ‚€πΏ(𝑠,𝑑)𝑛+1𝑠,π‘‘βˆ’β„“π‘›+1,𝑛(𝑠)+πœ‡π‘›ξ‚€πΏ(𝑠,𝑑)π‘›βˆ’1(𝑠,𝑑)βˆ’β„“π‘›βˆ’1,𝑛(𝑠)+πœ‡+𝑛(𝑠,𝑑).(5.7)Later, it will turn out to be also useful to consider the representationπœ…π‘›(𝑠,𝑑)𝐿𝑛(𝑠,𝑑)=πœ†1𝑛<𝑛⋅𝐿𝑛+1(𝑠,𝑑)+π‘›βˆ’1π‘›πœ‡π‘›π‘β‹…πΏπ‘›βˆ’1πœ‡(𝑠,𝑑)+π‘›πΆπ‘›β‹…πœ…π‘›(𝑠,𝑑)𝑑⋅1πœˆπ‘›ξ€½ξ€Ύ+π‘ βˆ’πœ†1𝑛<𝑛⋅ℓ𝑛+1,𝑛(𝑠)βˆ’π‘›βˆ’1π‘›πœ‡π‘›π‘β‹…β„“π‘›βˆ’1,𝑛(𝑠).(5.8)

Now, assume that 𝑛 is a down-state: π‘›βˆˆ{0,…,π‘›βˆ’}. In this case, we must distinguish between the cases that the process remains in state 𝑛 shorter, respectively, longer than βˆ’π‘₯/π‘Ÿπ΄,𝑛 (which is a positive number); in the former case, the buffer does not become empty before the first event, whereas in the latter case it does. In more detail, we haveπΏπ‘›ξ€œ(𝑠,𝑑)=∞0π‘’βˆ’π‘‘π‘₯ξ‚€ξ€œβˆ’π‘₯/π‘Ÿπ΄,𝑛0πœˆπ‘›π‘’βˆ’πœˆπ‘›π‘€π‘’βˆ’π‘ π‘€Γ—ξ‚€πœ†πœˆπ‘›πœ‚π‘›+1ξ‚€π‘ βˆ£π‘₯+π‘Ÿπ΄,𝑛𝑀+π‘›βˆ’1π‘›πœ‡π‘›πΆπœˆπ‘›πœ‚π‘›βˆ’1ξ‚€π‘ βˆ£π‘₯+π‘Ÿπ΄,𝑛𝑀+1π‘›πœ‡π‘›πΆπœˆπ‘›ξ‚+ξ€œdπ‘€βˆžβˆ’π‘₯/π‘Ÿπ΄,π‘›πœˆπ‘›π‘’βˆ’πœˆπ‘›π‘₯𝑒𝑠π‘₯/π‘Ÿπ΄,π‘›πœ‚π‘›ξ‚(π‘ βˆ£0)d𝑀dπ‘₯.(5.9)With πœ‡βˆ’π‘›(𝑠,𝑑)∢=πœ‡π‘›πΆ/(π‘›β‹…πœ…π‘›(𝑠,𝑑)⋅𝑑), this simplifies to𝐿𝑛(𝑠,𝑑)=πœ†π‘›(𝑠,𝑑)𝐿𝑛+1(𝑠,𝑑)+πœ‡π‘›(𝑠,𝑑)πΏπ‘›βˆ’1(𝑠,𝑑)+πœ‡βˆ’π‘›π‘Ÿ(𝑠,𝑑)βˆ’π΄,π‘›πœ…π‘›(𝑠,𝑑)β‹…πœ‚π‘›(π‘ βˆ£0).(5.10)As indicated, our goal is to generate a system of equations for the 𝐿𝑛(𝑠,𝑑) (with 𝑠 and 𝑑 fixed); we therefore wish to express πœ‚π‘›(π‘ βˆ£0) in terms of the 𝐿𝑛(𝑠,𝑑). This can be done as follows.
(i) First, for π‘›βˆˆ{0,…,π‘›βˆ’},πœ‚π‘›1(π‘ βˆ£0)=πœˆπ‘›ξ‚€+π‘ πœ†πœ‚π‘›+1(π‘ βˆ£0)+π‘›βˆ’1π‘›πœ‡π‘›π‘β‹…πœ‚π‘›βˆ’1πœ‡(π‘ βˆ£0)+𝑛𝐢𝑛,(5.11)whereas for π‘›βˆˆ{𝑛+,…,𝑁},πœ‚π‘›ξ€½ξ€Ύ(π‘ βˆ£0)=πœ†1𝑛<π‘π‘Ÿπ΄,𝑛⋅𝐿𝑛+1ξ‚€πœˆπ‘ ,𝑛+π‘ π‘Ÿπ΄,𝑛+π‘›βˆ’1π‘›β‹…πœ‡π‘›πΆπ‘Ÿπ΄,π‘›β‹…πΏπ‘›βˆ’1ξ‚€πœˆπ‘ ,𝑛+π‘ π‘Ÿπ΄,𝑛+πœ‡π‘›πΆπ‘›β‹…1πœˆπ‘›=ξ€½ξ€Ύ+π‘ πœ†1𝑛<π‘π‘Ÿπ΄,𝑛⋅ℓ𝑛+1,𝑛(𝑠)+π‘›βˆ’1π‘›β‹…πœ‡π‘›πΆπ‘Ÿπ΄,π‘›β‹…β„“π‘›βˆ’1,π‘›πœ‡(𝑠)+𝑛𝐢𝑛⋅1πœˆπ‘›.+𝑠(5.12)(ii) Now, consider the vector β†’πœ‚(𝑠)≑(πœ‚1(π‘ βˆ£0),…,πœ‚π‘›βˆ’(π‘ βˆ£0))T. Define for 𝑛,π‘š=1,…,π‘›βˆ’,π‘Žπ‘›,π‘šβŽ§βŽͺβŽͺ⎨βŽͺβŽͺ⎩𝜈(𝑠)∢=βˆ’πœ†,ifπ‘š=𝑛+1;𝑛+𝑠,ifπ‘š=𝑛;βˆ’(π‘›βˆ’1)/π‘›β‹…πœ‡π‘›π‘,ifπ‘š=𝑛+1.(5.13)and 0 else. The corresponding matrix is called 𝐴(𝑠), that is, 𝐴(𝑠)≑(π‘Žπ‘›,π‘š(𝑠))π‘›βˆ’π‘›,π‘š=1; for 𝑠>0 we have that 𝐴(𝑠) is diagonally dominant and hence invertible. Also, →𝑒(𝑠)≑(𝑒1(𝑠),…,π‘’π‘›βˆ’(𝑠))T, withπ‘’π‘›βŽ§βŽͺ⎨βŽͺβŽ©πœ‡(𝑠)∢=𝑛𝑐/𝑛,if𝑛=1,…,π‘›βˆ’πœ‡βˆ’1,π‘›βˆ’π‘/π‘›βˆ’+πœ‚π‘›+(π‘ βˆ£0),if𝑛=π‘›βˆ’.(5.14)Then, (5.11) implies that β†’πœ‚(𝑠)=(𝐴(𝑠))β†’βˆ’1𝑒(𝑠). In other words, once we know πœ‚π‘›+(π‘ βˆ£0), we can compute πœ‚1(π‘ βˆ£0),…,πœ‚π‘›βˆ’(π‘ βˆ£0). (iii) Let π‘Žβˆ’1𝑛,π‘š(𝑠)∢=(𝐴(𝑠))βˆ’1𝑛,π‘š. Now, (5.12) entails that, for 𝑛=1,…,π‘›βˆ’,πœ‚π‘›(π‘ βˆ£0)=π‘›βˆ’βˆ’1ξ“π‘š=1π‘Žβˆ’1𝑛,π‘šπœ‡(𝑠)π‘šπΆπ‘š+π‘Žβˆ’1𝑛,π‘›βˆ’ξ‚€πœ‡(𝑠)π‘›βˆ’πΆπ‘›βˆ’+πœ‚π‘›+(π‘ βˆ£0)=𝛼𝑛(𝑠)+𝛽𝑛(𝑠)ℓ𝑛++1,𝑛+(𝑠)+𝛾𝑛(𝑠)β„“π‘›βˆ’,𝑛+(𝑠),(5.15) where𝛼𝑛(𝑠)∢=π‘›βˆ’ξ“π‘š=1π‘Žβˆ’1𝑛,π‘šπœ‡(𝑠)π‘šπΆπ‘š+π‘Žβˆ’1𝑛,π‘›βˆ’πœ‡(𝑠)π‘›βˆ’πΆπ‘›βˆ’β‹…1πœˆπ‘›βˆ’;𝛽+𝑠𝑛(𝑠)∢=π‘Žβˆ’1𝑛,π‘›βˆ’πœ†(𝑠)β‹…π‘Ÿπ΄,𝑛+;𝛾𝑛(𝑠)∢=π‘Žβˆ’1𝑛,π‘›βˆ’π‘›(𝑠)β‹…βˆ’π‘›+β‹…πœ‡π‘›+πΆπ‘Ÿπ΄,𝑛+.(5.16) Inserting this into (5.10), we have found the following relation for down-states 𝑛:πœ…π‘›(𝑠,𝑑)𝐿𝑛(𝑠,𝑑)=πœ†β‹…πΏπ‘›+1(𝑠,𝑑)+π‘›βˆ’1π‘›πœ‡π‘›π‘β‹…πΏπ‘›βˆ’1+πœ‡(𝑠,𝑑)π‘›πΆπ‘›π‘‘βˆ’π‘Ÿπ΄,𝑛⋅𝛼𝑛(𝑠)+𝛽𝑛(𝑠)ℓ𝑛++1,𝑛+(𝑠)+𝛾𝑛(𝑠)β„“π‘›βˆ’,𝑛+;(𝑠)(5.17)notice the similarity with the equation for the up-states (5.8).

5.2. Determining the Auxiliary Transforms

From (5.8) and (5.17), it follows that for known functions πœ™π‘›(β‹…,β‹…) and πœ“π‘š,π‘˜(β‹…),→𝐿𝑛(𝑠,𝑑)=π‘ξ“π‘š=1𝑄(𝑠,π‘‘βˆ’1𝑛,π‘š(πœ™π‘š(𝑠,𝑑)+π‘ξ“π‘˜=𝑛+πœ“π‘š,π‘˜(𝑠)β„“π‘š,π‘˜(𝑠));(5.18)here, the 𝑁×𝑁 matrix 𝑄(𝑠,𝑑) is given through𝑄(𝑠,𝑑)𝑛,π‘šβŽ§βŽͺβŽͺ⎨βŽͺβŽͺβŽ©ξ€½ξ€ΎβˆΆ=πœ†1𝑛<𝑛,ifπ‘š=𝑛+1;βˆ’πœ…π‘›(𝑠,𝑑),ifπ‘š=𝑛;(π‘›βˆ’1)/π‘›β‹…πœ‡π‘›π‘,ifπ‘š=π‘›βˆ’1.(5.19)In other words, if the transforms ℓ𝑛,π‘š(𝑠), for 𝑛=1,…,𝑁 and π‘š=𝑛+,…,𝑁, would be known, then, for fixed 𝑠 and 𝑑, the values of the 𝐿𝑛(𝑠,𝑑) can be found directly from solving a system of linear equations. The rest of this subsection is devoted to explaining how to identify the ℓ𝑛,π‘š(𝑠), for given 𝑠>0. We first prove a useful lemma.

Lemma 5.1. Consider, for fixed 𝑠>0, the π‘‘βˆˆβ„‚ such that de𝑑(𝑄(𝑠,𝑑))=0. There are π‘βˆ’π‘›βˆ’ such values such that Re𝑑>0.

Proof. First, rewrite 𝑄=βŒ£π‘„βˆ’π·+𝑑𝑅𝐴, with̆𝑄𝑛,π‘šβŽ§βŽͺβŽͺ⎨βŽͺβŽͺβŽ©ξ€½ξ€Ύξ€½ξ€ΎβˆΆ=πœ†1𝑛≀𝑛ifπ‘š=𝑛+1,βˆ’πœ†1π‘›β‰€π‘›βˆ’(π‘›βˆ’1)/π‘›β‹…πœ‡π‘›π‘ifπ‘š=𝑛,(π‘›βˆ’1)/π‘›β‹…πœ‡π‘›π‘ifπ‘š=π‘›βˆ’1,(5.20)π‘‘π‘›βˆΆ=π‘›βˆ’1β‹…πœ‡π‘›πΆ+𝑠>0, βƒ—π·βˆΆ=diag{𝑑}. Observe that βŒ£π‘„ is a generator matrix. Notice also that solutions of det(𝑄(𝑠,𝑑))=0 are the eigenvalues of βˆ’π‘…π΄βˆ’1(βŒ£π‘„βˆ’π·).
(i) We first focus on properties of the eigenvalues of βˆ’π‘…π΄βŒ£βˆ’1𝑄. Recall that it follows from Theorem 2, part 3 of [8] that βˆ’π‘…π΄βŒ£βˆ’1𝑄 has as many eigenvalues in the right half plane as the number of up-states in 𝑅𝐴, that is, π‘€βˆΆ=π‘βˆ’π‘›βˆ’; there is also one eigenvalue of βˆ’π‘…π΄βŒ£βˆ’1𝑄 equal to 0 (note that βŒ£π‘„ is singular), and the remaining π‘›βˆ’βˆ’1 are in the left half plane. β€œGer|||π‘§βˆˆβ„‚βˆΆπ‘§+βŒ£π‘„π‘›,π‘›π‘Ÿπ΄,𝑛|||≀|||βŒ£π‘„π‘›,π‘›π‘Ÿπ΄,𝑛|||;(5.21)gorin” states that all eigenvalues are in at least one of the disks𝑛the βˆ’βŒ£π‘„π‘›,𝑛/π‘Ÿπ΄,𝑛th disk is a circle in the complex plane around |βŒ£π‘„π‘›,𝑛/π‘Ÿπ΄,𝑛| of radius βŒ£π‘„π‘›,𝑛<0 (which therefore goes through 0). Notice that βˆ’π‘…π΄βˆ’1(βŒ£π‘„βˆ’πœ€π·) implies that the number of disks in the right (left) half plane equals the number of up-states (down-states, resp.). These observations are illustrated in the left panel of Figure 2.
(ii) Now, consider the eigenvalues of πœ€>0. for small 𝜁(πœ€,𝑑)∢=det(βŒ£π‘„βˆ’πœ€π·+𝑑𝑅𝐴)=0. Observe that these solve the equation πœ•|||πœ•π‘‘πœ(πœ€,𝑑)πœ€,𝑑=0(5.22) As seen in the proof of [8, Theorem 2],𝜁has the same sign as the mean drift, that is, negative. Likewise, the derivative of πœ€ with respect to 𝐷 is positive (use that all diagonal entries of βˆ’π‘…π΄βŒ£βˆ’1𝑄 are positive). Hence, replacing βˆ’π‘…π΄βˆ’1(βŒ£π‘„βˆ’πœ€π·) by βˆ’π‘…π΄βˆ’1(βŒ£π‘„βˆ’πœ€π·) moves the zero eigenvalue to the left.
β€œGer|||π‘§βˆˆβ„‚βˆΆπ‘§+βŒ£π‘„π‘›,π‘›βˆ’πœ€π‘‘π‘›π‘Ÿπ΄,𝑛|||≀|||βŒ£π‘„π‘›,π‘›π‘Ÿπ΄,𝑛|||;(5.23)gorin” implies that all eigenvalues of πœ€=0 are in at least one of the disks𝜁(πœ€,𝑑)compared to the situation of πœ€>0 this means that the disks corresponding to the up-states (that were in the right half plane) move to the right (with the same radius); likewise, the disks corresponding to the down-states move to the left. This implies that all eigenvalues in the left (right) half plane remain in the left (right) half plane, because of the continuity of the solutions of π‘βˆ’π‘›βˆ’ in the coefficients of the characteristic polynomial.
Conclude that for small π‘›βˆ’, there are then πœ€ in the right half plane, and the remaining πœ€=1 in the left half plane. This is illustrated in the right panel of Figure 2.
(iii) Observe that the same arguments imply this classification remains valid when increasing βˆ’π‘…π΄βŒ£βˆ’1𝑄 further. The special case βˆ’π‘…π΄βˆ’1(βŒ£π‘„βˆ’πœ€π·) proves our claim.

Figure 2: Eigenvalues in the complex plane. (a) Eigenvalues of 𝑁=5; (b) eigenvalues of ℓ𝑛,π‘š(𝑠). In this example β†’β„“(𝑠), and there are 3 up-states and 2 down-states.

Now, we are able to characterise the transforms 𝑛=𝑛+,…,𝑁 as follows.

STEP 1. Determine linear equations for the entries of πœ…π‘›,π‘š(𝑠)∢=πœ…π‘›(𝑠,π‘‘π‘š(𝑠)).
(a)First, focus on (5.8); these relate to π‘›β‰ π‘š. We introduce the notation π‘š=𝑛+,…,𝑁. Then, for 𝑑=π‘‘π‘š(𝑠) and πœ…π‘›,π‘š(𝑠)ℓ𝑛,π‘šξ€½ξ€Ύξ‚€β„“(𝑠)=πœ†1𝑛≀𝑛𝑛+1,π‘š(𝑠)βˆ’β„“π‘›+1,𝑛+(𝑠)π‘›βˆ’1π‘›πœ‡π‘›π‘ξ‚€β„“π‘›βˆ’1,π‘š(𝑠)βˆ’β„“π‘›βˆ’1,𝑛(𝑠)+πœ…π‘›,π‘š(𝑠)πœ‡+𝑛𝑠,π‘‘π‘šξ‚.(𝑠)(5.24), we obtain by inserting πœ…π‘›,𝑛(𝑠)=πœ…π‘›(𝑠,𝑑𝑛(𝑠))=0:𝑛=π‘šNotice that 𝑀, so that for 𝑛=1,…,π‘›βˆ’ both sides reduce to 0; hence, these 𝑑=π‘‘π‘š(𝑠) equations are meaningless.(b)Now, consider (5.17); these relate to π‘š=𝑛+,…,𝑁. Plugging in πœ…π‘›,π‘š(𝑠)ℓ𝑛,π‘š(𝑠)=πœ†β„“π‘›+1,π‘š(𝑠)+π‘›βˆ’1π‘›πœ‡π‘›π‘β„“π‘›βˆ’1,π‘šπœ‡(𝑠)+π‘›πΆπ‘›π‘‘π‘š(𝑠)βˆ’π‘Ÿπ΄,𝑛⋅𝛼𝑛(𝑠)+𝛽𝑛(𝑠)ℓ𝑛++1,𝑛+(𝑠)+𝛾𝑛(𝑠)β„“π‘›βˆ’,𝑛+.(𝑠)(5.25) for β†’β„“(𝑠), we obtainℓ𝑛,π‘š(𝑠)

STEP 2. Reduce dimension of the vector 𝑛=1,…,𝑁. The sets of (5.24) and (5.25) enable us to express the π‘š=𝑛+,…,𝑁 for π‘›β‰ π‘š and β†’β„“+(𝑠)∢=(ℓ𝑛+,𝑛+(𝑠),…,ℓ𝑁,𝑁(𝑠))T, but πœ‘π‘š(β‹…,β‹…), in terms of πœ—π‘š,π‘˜(β‹…). We have thus identified functions 𝑛=1,…,𝑁 and 𝐿𝑛(𝑠,𝑑)=π‘ξ“π‘š=1𝑄(𝑠,𝑑)βˆ’1𝑛,π‘š(πœ‘π‘š(𝑠,𝑑)+π‘ξ“π‘˜=𝑛+πœ—π‘š,π‘˜(𝑠)β„“π‘˜,π‘˜(𝑠)).(5.26) such that for 𝑁,ℓ𝑛+,𝑛+(𝑠),…,ℓ𝑁,𝑁(𝑠)In other words, when the 𝐿𝑛(𝑠,𝑑) functions 𝐿𝑛(𝑠,𝑑)=det𝑄𝑛(𝑠,𝑑)det𝑄(𝑠,𝑑),(5.27) would be known, we would have found the 𝑄𝑛(𝑠,𝑑).

STEP 3. Apply Lemma 5.1. By virtue of Cramer's rule, we obtain from (5.26) that𝑄(𝑠,𝑑)where 𝑛 is defined as π‘š but with the πœ‘π‘šβˆ‘(𝑠,𝑑)+π‘π‘˜=𝑛+πœ—π‘š,π‘˜(𝑠)β„“π‘˜,π‘˜(𝑠)th column replaced by a vector of which the 𝑑th entry is 𝑠>0. For any 𝜏1(𝑠),…,πœπ‘βˆ’π‘›βˆ’(𝑠) in the right half plane, this should have a finite norm. Now fix π‘βˆ’π‘›βˆ’, and use Lemma 5.1. Denote the zeroes of the denominator by ℓ𝑛+,𝑛+(𝑠),…,ℓ𝑁,𝑁(𝑠). Conclude that each zero of the denominator should correspond to a zero of the numerator. This yields 𝑠,𝑑>0 equations that determine →𝐿(𝑠,𝑑)=𝑄(𝑠,𝑑)βˆ’1ξ‚€β†’πœ‘(𝑠,𝑑)+Θ(𝑠)β†’β„“+(𝑠),(5.28).

The above results are summarised in the following theorem.

Theorem 5.2. For β†’πœ™(𝑠), Θ(𝑠)with 𝑠>0 and π‘βˆ’π‘›βˆ’ defined by (5.26). For any 𝑑 there are det𝑄(𝑠,𝑑)=0 values of 𝜏1(𝑠),…,πœπ‘βˆ’π‘›βˆ’(𝑠) in the right half plane such that β†’β„“+(𝑠), say 𝑠>0. The vector π‘‘β†’πœπ‘š(𝑠) follows, for fixed 0, from letting π‘š=1,…,π‘βˆ’π‘›βˆ’. in the numerator of (5.27) and equating this to πœ‚π‘›(π‘ βˆ£0), for 𝑛=0,…,𝑁

Remark 5.3. It is easily verified that, in passing, we have also found a procedure to compute the 𝑛=1,…,𝑁, for π»π‘›πΊβˆΆ=π‘›βˆ’1(∞)βˆ‘π‘βˆ’1π‘š=0πΊπ‘š(∞).(5.29), compared to (5.11), (5.12), (5.15).

5.3. Flow Transfer Delay

It is clear that, due to PASTA, the number of customers present at (i.e., just after) arrival of an (accepted) flow has distribution (𝐻𝑛𝐺(π‘₯)∢=π‘›βˆ’1(π‘₯)βˆ‘π‘βˆ’1π‘š=0πΊπ‘š(∞)=𝐴×(π›Όπ‘›βˆ’1+π‘βˆ’π‘›βˆ’ξ“π‘š=0π›½π‘›βˆ’1,π‘šπ‘’π‘§π‘šπ‘₯),𝐴∢=(π‘βˆ’1ξ“π‘š=0π›Όπ‘š)βˆ’1;(5.30))βˆ‘π‘π‘›=1𝐻𝑛(∞)=1.For determining the flow transfer delay, however, it is also necessary to know the amount of work found in the buffer. The joint distribution of the number of flows and the buffer content is given byπ”Όπ‘’βˆ’π‘ πΉ=𝑁𝑛=1ξ€œ[0,∞)πœ‚π‘›(π‘ βˆ£π‘₯)d𝐻𝑛(π‘₯).(5.31)observe that indeed π”Όπ‘’βˆ’π‘ π·β‹† Hence,𝑠>0Mimicking the derivation of π”Όπ‘’βˆ’π‘ πΉ=𝑛+𝑛=1π΄πΊπ‘›βˆ’1(0)β‹…πœ‚π‘›(π‘ βˆ£0)+𝑁𝑛=1π‘βˆ’π‘›βˆ’ξ“π‘š=0ξ‚€π΄π‘§π‘šπ›½π‘›βˆ’1,π‘šξ‚β‹…πΏπ‘›ξ‚€π‘ ,βˆ’π‘§π‘šξ‚.(5.32), we obtain the following result.

Theorem 5.4. For 𝐿𝑛(β‹…,β‹…), πœ‚π‘›(β‹…βˆ£0)Expressions for 𝑆 and 𝐻𝑛(β‹…) are available from the previous subsection.

6. Sojourn Time Distribution

In this section, we study the sojourn time 𝑆 of flows in the system, which is defined as the flow transfer time, increased by the time it takes to serve the last particle of the flow. These components are not independent. Due to PASTA, the joint distribution of the workload and the number of flows that a new (accepted) flow sees upon arrival, is given by 𝐹, as defined through (5.30). To derive the Laplace transform of 𝑆, we first need to describe the workload increment (which can be positive or negative) during the flow transfer time 𝐹, see Section 6.1. Then, in Section 6.2 we put the components together, and derive the transform of π‘ŠπΉ+.

6.1. Joint Transform of Flow Transfer Time and Workload Increment

In the sequel it will turn out that, in order to characterise the distribution of the sojourn time, we do not just need the distribution of 𝑁𝐹+, but rather its joint distribution with the workload πœ‚π‘›(π‘ βˆ£π‘€) and the number of flows present 𝐿𝑛(𝑠,𝑑) at the end of the transfer (not counting the flow that just left). To this end we introduce the counterparts of πœ‚π‘›,π‘š(β†’π‘ ξ‚€π‘’βˆ£π‘₯)∢=π”Όβˆ’π‘ 1πΉβˆ’π‘ 2π‘ŠπΉ+1𝑁𝐹+=π‘šβˆ£π‘Š0=π‘₯,𝑁0;𝐿=𝑛𝑛,π‘š(β†’π‘ ξ€œ,𝑑)=∞0π‘’βˆ’π‘‘π‘₯πœ‚π‘›,π‘š(β†’π‘ βˆ£π‘₯)dπ‘₯,(6.1) and →𝑠≑(𝑠1,𝑠2).:ℓ𝑛,π‘š,π‘˜(→𝑠)∢=𝐿𝑛,π‘š(→𝑠,π‘‘π‘˜(𝑠1))with 𝐿𝑛,π‘š(→𝑠,𝑑) Similarly to before, we also define 𝐿𝑛(𝑠,𝑑).

𝑛>π‘Š can be derived essentially in the same fashion as 𝐿𝑛,π‘š(→𝑠,𝑑)=πœ†π‘›ξ‚€π‘ 1𝐿,𝑑𝑛+1,π‘š(→𝑠,𝑑)βˆ’β„“π‘›+1,π‘š,𝑛(→𝑠)+πœ‡π‘›ξ‚€π‘ 1𝐿,π‘‘ξ‚ξ‚€π‘›βˆ’1,π‘š(→𝑠,𝑑)βˆ’β„“π‘›βˆ’1,π‘š,𝑛(→𝑠)+πœ‡π‘›πΆπ‘›β‹…1𝑑+𝑠1β‹…1πœˆπ‘›+𝑠1+𝑠2π‘Ÿπ΄,𝑛,β‹…1π‘›βˆ’1=π‘š(6.2) was found in Sections 5.1 and 5.2. We sketch this procedure. The counterpart of (5.7) is, for 𝑛<π‘Š,𝐿𝑛,π‘š(→𝑠,𝑑)=πœ†π‘›ξ‚€π‘ 1𝐿,𝑑𝑛+1,π‘š(→𝑠,𝑑)+πœ‡π‘›ξ‚€π‘ 1𝐿,π‘‘π‘›βˆ’1,π‘š(→𝑠+πœ‡,𝑑)𝑛𝐢𝑛⋅1πœ…π‘›ξ‚€π‘ 1⋅1,𝑑𝑑+𝑠2ξ€½ξ€Ύβˆ’π‘Ÿβ‹…1π‘›βˆ’1=π‘šπ΄,π‘›πœ…π‘›ξ‚€π‘ 1,π‘‘β‹…πœ‚π‘›,π‘š(β†’π‘ βˆ£0).(6.3)whereas (5.10) generalises to, for πœ‚π‘›,π‘š(β†’π‘ βˆ£0),ℓ𝑛,π‘š,π‘˜(→𝑠)In the last equation, as before, the ℓ𝑛,π‘š,π‘˜(→𝑠) can be expressed in terms of the π”Όπ‘’βˆ’π‘ π‘†ξ‚€π‘’=π”Όβˆ’π‘ πΉβˆ’π‘ πœπ‘ŠπΉ+=ξ€œβˆž0ξ€œπ‘[0,∞)𝑛=1π‘βˆ’1ξ“π‘š=0π”Όξ‚€π‘’βˆ’π‘ πΉ1ξ‚†π‘ŠπΉ+=𝑦,𝑁𝐹+=π‘šβˆ£π‘Š0=π‘₯,𝑁0𝑒=π‘›Γ—π”Όβˆ’π‘ πœπ‘¦βˆ£π‘0=π‘šd𝐻𝑛(π‘₯)d𝑦.(6.4). Then, it remains to find the transforms {π‘Š0=0}; these can be determined as in Section 5.2.

6.2. Sojourn Time

The sojourn time can be decomposed into (i) the flow transfer delay and (ii) the time it takes to serve the traffic that is in the buffer at the end of the flow transfer delay (i.e., the time it takes to serve the last particle of the tagged flow). This allows us to write, as in [4, Section 6.3], with the usual abuse of notation{π‘Š0>0}Consider the cases {π‘Š0=0} and ξ€œβˆž0𝑁𝑛=1π‘βˆ’1ξ“π‘š=0π”Όξ‚€π‘’βˆ’π‘ πΉ1ξ‚†π‘ŠπΉ+=𝑦,𝑁𝐹+=π‘šβˆ£π‘Š0=0,𝑁0=π‘›π‘ξ“π‘˜=0π›Ύπ‘˜π‘šπ‘’π›Ώπ‘˜(𝑠)π‘¦π΄πΊπ‘›βˆ’1=(0)d𝑦𝑁𝑛=1π‘βˆ’1ξ“π‘π‘š=0ξ“π‘˜=0π›Ύπ‘˜π‘šπ”Όξ‚€π‘’βˆ’π‘ πΉ+π›Ώπ‘˜(𝑠)π‘ŠπΉ+1𝑁𝐹+=π‘šβˆ£π‘Š0=0,𝑁0=π‘›π΄πΊπ‘›βˆ’1=(0)𝑁𝑛=1π‘βˆ’1ξ“π‘π‘š=0ξ“π‘˜=0π›Ύπ‘˜π‘šβ‹…π΄πΊπ‘›βˆ’1(0)β‹…πœ‚π‘›,π‘šξ‚€π‘ ,βˆ’π›Ώπ‘˜ξ€Έ.(𝑠)∣0(6.5) separately. The contribution due to {π‘Š0>0} amounts toξ€œπ‘(0,∞)𝑛=1π‘βˆ’1ξ“π‘π‘š=0ξ“π‘˜=0π›Ύπ‘˜π‘šπœ‚π‘›,π‘šξ‚€π‘ ,βˆ’π›Ώπ‘˜ξ‚(𝑠)∣π‘₯π‘βˆ’π‘›βˆ’ξ“π‘—=0ξ‚€π΄π‘§π‘—π›½π‘›βˆ’1,𝑗𝑒𝑧𝑗π‘₯=dπ‘₯𝑁𝑛=1π‘βˆ’1ξ“π‘π‘š=0ξ“π‘˜=0π‘βˆ’π‘›βˆ’ξ“π‘—=0π›Ύπ‘˜π‘šβ‹…ξ‚€π΄π‘§π‘—π›½π‘›βˆ’1,𝑗⋅𝐿𝑛,π‘šξ‚€π‘ ,βˆ’π›Ώπ‘˜(𝑠),βˆ’π‘§π‘—ξ‚.(6.6)Similarly, we find that the contribution due to 𝑠>0 isπ”Όπ‘’βˆ’π‘ π‘†

Theorem 6.1. For π‘Š, π‘Šβˆˆβ„• is given by the sum of Expressions (6.5) and (6.6).

7. Discussion and Concluding Remarks

In this paper, we have considered a relay node in an ad hoc network, fed by a Poisson stream of exponentially distributed jobs. We have characterised its performance in terms of (the Laplace transforms of) the buffer content, the queueing delay, the flow transfer delay, and the sojourn time.

Integer Weights
In our analysis, we throughout assumed that the weight π‘Ÿπ΄,π‘Š=0 was noninteger. If 0,…,π‘Š, the analysis is slightly more involved. We now indicate how the analysis should be adapted. In the first place, one of the coupled differential equations in (3.2) has left-hand side 0 (because π‘Š); if we enumerate the equations 0=𝑁𝑛=0π‘žπ‘›,π‘ŠπΉπ‘›(π‘₯),orπΉπ‘Š1(π‘₯)=βˆ’π‘žπ‘Š,π‘Šξ“π‘›β‰ π‘Šπ‘žπ‘›,π‘ŠπΉπ‘›(π‘₯),(7.1), then the π‘žπ‘›,π‘šth equation reads(𝑛,π‘š)where 𝑄b is the 𝑛-entry of π‘›β‰ π‘Š. Then the π‘Ÿπ΄,π‘›πΉξ…žπ‘›ξ“(π‘₯)=π‘šβ‰ π‘Šπ‘žβˆ’π‘€π‘š,π‘›πΉπ‘š(π‘₯),whereπ‘žβˆ’π‘€π‘š,π‘›ξ‚€π‘žβˆΆ=π‘š,π‘›βˆ’π‘žπ‘Š,π‘›π‘žπ‘Š,π‘Šβ‹…π‘žπ‘š,π‘Šξ‚.(7.2)th differential equation (where π‘žβˆ’π‘Šπ‘š,𝑛β‰₯0) becomesπ‘šβ‰ π‘›Interestingly, βˆ‘π‘›β‰ π‘Šπ‘žβˆ’π‘Šπ‘š,𝑛=0 for π‘„βˆ’π‘Šb∢=(π‘žβˆ’π‘Šπ‘š,𝑛)π‘š,𝑛, and π‘š,𝑛=0,…,𝑁, and hence the π‘š,π‘›β‰ π‘Š (with 𝑁, but π‘…π‘Žβˆ’π‘€ξ‚€β†’πΉβˆ’π‘Šξ‚ξ…žξ‚€π‘„(π‘₯)=βˆ’π‘€bTβ†’πΉβˆ’π‘Š(π‘₯),(7.3)) correspond to an π‘…π΄βˆ’π‘Š-dimensional generator matrix. In self-evident notation, we have arrived at𝐹𝑛(β‹…)with all entries of π‘›β‰ π‘Š not equal to 0. In this way, the steady-state buffer content distribution of Model II can be determined: we first find the πΉπ‘Š(β‹…) for π‘Š, and then we use (7.1) to derive π‘Š.
The buffer content distribution follows in the same fashion as in Section 3.2. It is of crucial importance to choose a definition of busy and idle periods (i.e., one has to choose whether periods with an empty buffer and 𝑁=∞. flows in the system belong to the busy or to the idle periods), and then to consistently use this definition. It is readily verified that for the other performance measures no specific problems arise.

Limiting Cases
We now consider a number of interesting limiting choices for the weight 𝑁⋆(π‘Š). For ease, we lift the assumption of performing admission control; in other words: we take π‘Š Let π‘Šβ‹†(π‘Š) be the steady-state number of flows in the system (i.e., transmitting traffic into the queue), for a given weight 2π‘Šβ‹†π‘ (π‘Š)+π‘Šβ‹†(π‘Š); π‘Šβ‹†π‘ (π‘Š) is defined analogously.

As argued in [3], the total amount of traffic in the system has the same dynamics as an M/M/1 queue; in this M/M/1 all job sizes are inflated by a factor 2 (as they have to be processed twice). This total amount of traffic is to be understood as π‘Šβ‹†(π‘Š), π‘Š denoting the traffic at the sources, and 4πœ†βˆ’1β‹…πœš2/(1βˆ’2𝜚) the traffic at the queue; the factor 2 is due to the fact that traffic at the sources still needs to be processed twice, as opposed to traffic at the queue. Importantly, the evolution of the total queue is independent of π‘Š.; realise that the total queue is work-conserving. It follows from the Pollaczek-Khinchine formula that the mean amount of work (measured in processing time) in the system is π‘Š, independently of the choice of π‘ŸπΌ,𝑛 It can be seen that pathwise the amount of traffic that is at the sources increases in π‘Š (as the π‘Š=∞ decrease), so that the amount of traffic in the queue decreases in 𝑛.

(i) In case (1βˆ’2𝜚)(2𝜚)𝑛, the queue has maximum weight, and never builds up. Always half of the capacity is dedicated to the flows, and the other half to the queue. It can be verified that the queue becomes a normal processor-sharing queue. The flow transfer delays and the sojourn times coincide. Elementary computations reveal that the steady-state distribution of the number of flows in the system is geometrically distributed. The probability of 𝔼𝑁⋆(∞)=2𝜚/(1βˆ’2𝜚). flows in the system is π‘Š=0.; the mean number of flows is 𝐢.

(ii) A second extreme case is 𝑛 Then, the queue is only served when the flows have transmitted all their traffic into the queue; when the flows have something to transmit, the queue grows at a rate (1βˆ’πœš)πœšπ‘› In this case, the probability of 𝔼𝑁⋆(0)=𝜚/(1βˆ’πœš). flows in the system is π‘Š.; the mean number of flows is 2𝔼𝑁⋆1(𝑀)β‹…πœ‡,(7.4)

Evidently, the mean amount of work in the queue does depend on π”Όπ‘Šβ‹†ξ‚€1(∞)=π‘πœ†β‹…4𝜚2βˆ’21βˆ’2πœšβ‹…πœ‡πΆ2πœšξ‚1βˆ’2𝜚=0;π”Όπ‘Šβ‹†ξ‚€1(0)=π‘πœ†β‹…4𝜚2βˆ’21βˆ’2πœšβ‹…πœšπœ‡πΆξ‚=11βˆ’πœšπœ‡β‹…2𝜚.(1βˆ’πœš)(1βˆ’2𝜚)(7.5) First, observe that the mean amount of traffic (measured in processing time) that the flows still need to inject into the queue isπ‘Šwhere the factor 2 reflects the fact that the traffic still needs to be processed twice. We conclude that the mean amount of work (measured in processing time) at the queue isπ‘ŠThese arguments can be used to quantify the tradeoff between the flow transfer delay (which increases in π‘Š=1) and the queueing delay of the last particle (which decreases in π”Όπ‘Šβ‹†1(1)=πœ‡β‹…4𝜚2(1βˆ’πœš)(1βˆ’2𝜚),(7.6)). The formula for 𝜚<1/2 was already given in [3]π‘Šβ‹†which is indeed between (7.5) for 𝐷⋆.

Numerical Aspects
The numerical techniques to be used in the approach presented in this paper (namely, solving eigensystems, solving linear systems, and numerically inversion of Laplace transforms) are techniques that are well established, and for which efficient and reliable computer code is available. The distributions of 𝐹 and 𝑆 can be found without the need of performing any Laplace inversion; as a result, their evaluation boils down to solving a linear system of differential equations, comparable to those highlighted in, for example, [5, 6]. Determining the distribution of π‘Š=1 and limπ‘₯β†’βˆž1π‘₯ξ‚€π‘Šlogℙ⋆>π‘₯=βˆ’πœ—β‹†,(7.7) does require Laplace inversion. It is noted that recently, substantial progress has been made with respect to this type of inversion techniques. Besides the β€œclassical” reference [12], we wish to draw attention to significant recent progress by den Iseger, as reported on in [13]; the latter reference also provides a fairly complete literature overflow.

When focusing on obtaining numerical output, there are several alternatives to the approach described in this paper. A first alternative is to rely on tail asymptotics, as done in [4] for πœ—β‹†>0, in the spirit of𝐷⋆,𝐹where the constant 𝑆 follows from the solution of the corresponding eigensystem; likewise, one could consider the logarithmic tail asymptotics of β„™(π‘Šβ‹†>π‘₯)=πœ“(π‘₯)π‘’βˆ’πœ—β‹†π‘₯, and πœ“(β‹…). As this just provides us with decay rate (i.e., it says that π‘₯βˆ’1β‹…logπœ“(π‘₯)β†’0 for an unknown function βˆ’π›Ώ such that 1βˆ’π›Ώ), one could use importance sampling-based simulations to improve on this, where the twisted distribution can be computed as in [14]. For sojourn times, such importance sampling schemes can be set up as in [15].

Subjects for Future Research
We mention the following directions for further research.
(i) Multiple bottlenecks. In some situations, the scenario of a single bottleneck link may be an oversimplification of reality, and in such cases one could study multiple bottleneck links that share capacity. The complicating factor is that then the dynamics of the flows feeding into one queue will be affected by the workload process in other queues; the queues cannot be analysed separately. This gives the model the flavor of coupled-processors systems as studied in, for example, [16].
(ii) Other flow-size distributions. Another challenging extension is to consider nonexponential flow sizes; particularly the impact heavy-tailed jobs is interesting to study. Suppose for instance that the flow sizes have a regularly varying distribution of index βˆ’π›Ώ, then it is an open question whether the sojourn times are regularly varying of index π‘₯, as is the case in the M/G/1 FIFO queue [17, 18], or regularly varying of index 𝑆(π‘₯), as is the case in the M/G/1 processor sharing (PS) queue [19] (or perhaps regularly varying of another index).
(iii) Other queueing disciplines. In this study, as well as in [3, 4], the queue was supposed to operate under the FIFO discipline. This introduces some β€œunfairness” in that even small jobs can incur significant delay. Put differently the sojourn time of a job of size limπ‘₯↓0𝔼𝑆(π‘₯)>0., say π‘Š, is such that π‘Š If the scheduling discipline in the queue would be PS (rather than FIFO), then this limit would be 0; in this sense, PS could be regarded as a remedy for unfairness.
(iv) Weight selection. Now, that we are able to evaluate the performance of the relay node for a given weight π‘Š, one may wonder what value of 𝑀π‘₯=πœ†(Ξ“βˆ’π‘πΌ)π‘₯ should be chosen. As argued above, there is a tradeoff between the flow transfer delay and the queueing delay of the last particle, imposing some cost structure, and optimal value for 𝑀 can be selected.

In a network setting, each node chooses its own weight. A high weight may be beneficial for the node itself, but harmful for other nodes. In view of this it may make sense to charge nodes for their weight. Pricing schemes could provide incentives for users to act as transit nodes on multihop paths, compared to [20, 21].


The authors would like to thank Hans van den Berg and Frank Roijers (TNO ICT) for useful remarks.


  1. T. Bheemarjuna Reddy, I. Karthigeyan, B. S. Manoj, and C. Siva Ram Murthy, β€œQuality of service provisioning in ad hoc wireless networks: a survey of issues and solutions,” Ad Hoc Networks, vol. 4, no. 1, pp. 83–124, 2006. View at Publisher Β· View at Google Scholar
  2. F. Roijers, H. van den Berg, and M. Mandjes, β€œFluidflow modeling of a relay node in an IEEE 802.11 wireless ad-hoc network,” in Proceedings of the 20th International Teletraffic Congress on Managing Traffic Performance in Converged Networks, pp. 321–334, Ottawa, Canada, June 2007. View at Publisher Β· View at Google Scholar
  3. H. van den Berg, M. Mandjes, and F. Roijers, β€œPerformance modeling of a bottleneck node in an IEEE 802.11 ad-hoc network,” in Proceedings of the 5th International Conference on Ad-Hoc, Mobile, and Wireless Networks, T. Kunz and S. S. Ravi, Eds., vol. 4104 of Lecture Notes in Computer Science, pp. 321–336, Ottawa, Canada, August 2006. View at Publisher Β· View at Google Scholar
  4. M. Mandjes and F. Roijers, β€œA fluid system with coupled input and output, and its application to bottlenecks in ad hoc networks,” Queueing Systems, vol. 56, no. 2, pp. 79–92, 2007. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH Β· View at MathSciNet
  5. D. Anick, D. Mitra, and M. M. Sondhi, β€œStochastic theory of a data-handling system with multiple sources,” The Bell System Technical Journal, vol. 61, no. 8, pp. 1871–1894, 1982. View at Google Scholar Β· View at MathSciNet
  6. L. Kosten, β€œStochastic theory of data-handling systems with groups of multiple sources,” in Performance of Computer-Communication Systems, H. Rudin and W. Bux, Eds., pp. 321–331, Elsevier, Amsterdam, The Netherlands, 1984. View at Google Scholar Β· View at MathSciNet
  7. M. Mandjes, D. Mitra, and W. Scheinhardt, β€œModels of network access using feedback fluid queues,” Queueing Systems, vol. 44, no. 4, pp. 365–398, 2003. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH Β· View at MathSciNet
  8. P. Sonneveld, β€œSome properties of the generalized eigenvalue problem Mx=λ(ΓcI)x,where M is the infinitesimal generator of a Markov process, and Γ is a real diagonal matrix,” Department of Applied Mathematical Analysis, Delft University of Technology, Delft, The Netherlands, 2004. View at Google Scholar Β· View at MathSciNet
  9. E. A. van Doorn, A. A. Jagers, and J. S. J. de Wit, β€œA fluid reservoir regulated by a birth-death process,” Stochastic Models, vol. 4, no. 3, pp. 457–472, 1988. View at Google Scholar Β· View at MathSciNet
  10. A. I. Elwalid and D. Mitra, β€œAnalysis and design of rate-based congestion control of high-speed networks—I: stochastic fluid models, access regulation,” Queueing Systems, vol. 9, no. 1-2, pp. 29–64, 1991. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH
  11. S. Asmussen, Ruin Probabilities, vol. 2 of Advanced Series on Statistical Science and Applied Probability, World Scientific, River Edge, NJ, USA, 2000. View at MathSciNet
  12. J. Abate and W. Whitt, β€œNumerical inversion of Laplace transforms of probability distributions,” ORSA Journal on Computing, vol. 7, no. 1, pp. 36–43, 1995. View at Google Scholar Β· View at MathSciNet
  13. P. den Iseger, β€œNumerical transform inversion using Gaussian quadrature,” Probability in the Engineering and Informational Sciences, vol. 20, no. 1, pp. 1–44, 2006. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH Β· View at MathSciNet
  14. M. Mandjes and A. Ridder, β€œFinding the conjugate of Markov fluid processes,” Probability in the Engineering and Informational Sciences, vol. 9, no. 2, pp. 297–315, 1995. View at Google Scholar Β· View at MathSciNet
  15. M. Mandjes and B. Zwart, β€œLarge deviations of sojourn times in processor sharing queues,” Queueing Systems, vol. 52, no. 4, pp. 237–250, 2006. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH Β· View at MathSciNet
  16. G. Fayolle and R. Iasnogorodski, β€œTwo coupled processors: the reduction to a Riemann-Hilbert problem,” Zeitschrift für Wahrscheinlichkeitstheorie und Verwandte Gebiete, vol. 47, no. 3, pp. 325–351, 1979. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH Β· View at MathSciNet
  17. J. W. Cohen, β€œSome results on regular variation for distributions in queueing and fluctuation theory,” Journal of Applied Probability, vol. 10, pp. 343–353, 1973. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH Β· View at MathSciNet
  18. A. G. Pakes, β€œOn the tails of waiting-time distributions,” Journal of Applied Probability, vol. 12, no. 3, pp. 555–564, 1975. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH Β· View at MathSciNet
  19. A. P. Zwart and O. J. Boxma, β€œSojourn time asymptotics in the M/G/1 processor sharing queue,” Queueing Systems, vol. 35, no. 1–4, pp. 141–166, 2000. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH Β· View at MathSciNet
  20. J. Crowcroft, R. Gibbens, F. Kelly, and S. Östring, β€œModelling incentives for collaboration in mobile ad hoc networks,” Performance Evaluation, vol. 57, no. 4, pp. 427–439, 2004. View at Publisher Β· View at Google Scholar
  21. J. P. Göbel, A. Krzesinski, and M. Mandjes, β€œAnalysis of an ad hoc network with autonomously moving nodes,” in Proceedings of the Australasian Telecommunication Networks and Applications Conference (ATNAC '07), pp. 41–46, Christchurch, New Zealand, December 2007. View at MathSciNet