Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 30 2 a Solution Created 2026-10-03 Updated 2026-10-14
A multiclass queue must specify its service discipline as well as its arrival and service rates. Here is an ordered-queue model that includes the usual class-independent exponential single-server queue. Let class- arrivals be independent Poisson processes of rates , and let a class- service requirement have the exponential distribution of rate . A state is a finite word of customer classes.
Choose service fractions with , and insertion probabilities with . The customer at position departs at rate ; a class- arrival is inserted at position at rate . All rates leading to the same word are added. For class-dependent , impose the symmetric service discipline . If all , arbitrary class-independent are permitted, including first come first served with insertion at the tail and service at the head.
Put and . For , the equilibrium word law isFor the symmetric service discipline, insertion and deletion satisfy detailed balance for a continuous-time Markov chain becauseFor the common-service-rate case, use time reversal of a continuous-time Markov chain instead: the reversed queue inserts with probabilities and serves with fractions . A forward insertion gives a reverse deletion rate , and a forward deletion gives a reverse insertion rate . Forward and reverse total rates both equal , proving global balance for a continuous-time Markov chain.
Summing the weights of all words of length gives , so the law is normalized. If counts class- customers and , the multinomial coefficient counting class orderings givesFor processor sharing, , the class-count vector itself is a Markov chain, with arrival rate and departure rate . Under first come first served, the ordered word is generally necessary. Class-dependent service rates combined with first come first served do not in general have the displayed simple equilibrium law; the discipline assumption matters.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 30 2 b Solution Created 2026-10-03 Updated 2026-10-14
Index the queue-class pairs by . Let be the external Poisson process arrival rate, let be the routing probability after class completes service, and put for the exit probability. An open network has a transient routing matrix , equivalently spectral radius less than one. The effective throughputs solve the traffic equations for a multiclass queueing network:At each queue use the ordered multiclass single-server queue model of part (a), with parameters . An external class- customer is inserted at position with rate . A customer of class in position completes at rate : it exits with probability or changes to class and is inserted at its destination with probability . Here is the destination population after the origin deletion, so this also defines routes returning to the same queue. At each node, either service rates are common to its classes or insertion and service fractions form a symmetric service discipline.
Let . The product-form stationary distribution of a multiclass queueing network isTo prove it by time reversal of a continuous-time Markov chain, interchange each node's insertion and service fractions, and usePairs with can be deleted. The traffic equations for a multiclass queueing network ensure . The ratio of the product weights for an insertion is ; for a deletion it is its reciprocal. Consequently every routing, entrance, and exit transition satisfies . The symmetric or common-rate hypothesis makes each node's total service rate identical forward and backward. Summing the traffic equations for a multiclass queueing network also gives . Thus the total transition rates match, proving global balance for a continuous-time Markov chain; each factor is normalized by part (a).
For the class counts the equilibrium law isUnder processor sharing these counts have explicit transition rates for , for , and for . Under a closed network, remove external entrances and exits and normalize the same product weights on the conserved customer populations, using a positive solution of the homogeneous traffic equations for a multiclass queueing network. That finite-state normalization does not require the open-network conditions .
Service discipline 2026-10-14
A service discipline specifies which customers receive the server's capacity and where newly arriving customers join the queue. First come first served and processor sharing give different sample paths even when their equilibrium populations agree.
Symmetric service discipline 2026-10-14
In an ordered queue, let be the fraction of service capacity assigned to position when customers are present. A symmetric discipline inserts an arrival into position with probability . The same position rule for service and insertion makes transitions satisfy detailed balance for the word weights . It accommodates class-dependent exponential service rates; processor sharing is an example.