This note illustrates a novel application of exact linear algebra to performance evaluation and stochastic modeling. We focus on queueing network models, which are high-level abstractions of Markov chains used in capacity planning of computer and communication systems [6, 7]. Until recently, it was prohibitively expensive to compute exact solutions for these models when they describe hundreds or thousands of users interacting with a network of servers, a case of large practical application when sizing web architectures. Here, we overview a new approach, which we have recently proposed [3, 4], that overcomes this limitation by means of a linear matrix difference equation that strictly requires exact linear algebra to be evaluated. Exact linear algebra is required in our method because of uncontrollable numerical instabilities that arise if round-off errors are introduced in the recursive evaluation of the matrix difference equation. This difficulty is also exasperated by the “astronomical” growth of the number of digits of the operands, which can be as large as 101000−1010000. The application presented in this paper shows a case where accepting the computational costs of exact algebra to stabilize the numerical evaluation leads to massive computational savings compared to established approaches based on standard (inexact) linear algebra. The remainder of this work is as follows. In Section 2, we give minimal background about queueing network models and explain how they can be solved recursively. We point to textbooks such as [7] for extensive background on queueing networks. In Section 3, we discuss the new solution approach based on a matrix difference equation. The numerical properties of the method are discussed in Section 3.1, where we argue that exact algebra is the only viable approach to prevent numerical instability. For the reader interested in experimenting with the problem, we report an example in Section 3.2. Finally, we draw conclusions in Section 4. Additional material, including a MAPLE implementation of the matrix difference equation approach to queueing networks, can be obtained by contacting the author or from his homepage.
[1]
K. Mani Chandy,et al.
Open, Closed, and Mixed Networks of Queues with Different Classes of Customers
,
1975,
JACM.
[2]
Hisashi Kobayashi,et al.
Queuing Networks with Multiple Closed Chains: Theory and Computational Algorithms
,
1975,
IBM J. Res. Dev..
[3]
Giuliano Casale.
An efficient algorithm for the exact analysis of multiclass queueing networks with large population sizes
,
2006,
SIGMETRICS '06/Performance '06.
[4]
Giuliano Casale.
CoMoM: Efficient Class-Oriented Evaluation of Multiclass Performance Models
,
2009,
IEEE Transactions on Software Engineering.
[5]
Nicolas D. Georganas,et al.
RECAL—a new efficient algorithm for the exact analysis of multiple-chain closed queuing networks
,
1986,
JACM.
[6]
Stephen S. Lavenberg,et al.
A Perspective on Queueing Models of Computer Performance
,
1989,
Perform. Evaluation.
[7]
Jeffrey P. Buzen,et al.
Computational algorithms for closed queueing networks with exponential servers
,
1973,
Commun. ACM.
[8]
Stephen S. Lavenberg,et al.
Mean-Value Analysis of Closed Multichain Queuing Networks
,
1980,
JACM.
[9]
Virgílio A. F. Almeida,et al.
Capacity Planning for Web Performance: Metrics, Models, and Methods
,
1998
.