The algorithm proposed in Section 5.1 results in a finite system of linear equations that can be solved with numerical methods. Because the linear system is a result of matrix additions, subtractions, and multiplications, its numerical stability should be examined. However, because of the presence of a linear system, and because our matrices are not M-matrices, an analytic examination of the numerical stability is not easily feasible. In this section we argue via experimentation that ETAQA-M/G/1 is numerically stable and compare its stability behavior with Ramaswami's recursive formula. Ramaswami's recursive formula for the computation of the steady state probability vector of an M/G/1-type process consists of matrix additions of non-negative matrices and these computations are known to be numerically stable 5.3.
In the following, we focus on the stability of the method used to solve the original problem, rather than the stability of the problem itself. The latter is measured by a condition number (or conditioning), which depends on a specific instance of the problem, but not on the method used.
The stability of a method
,
given an input
, is determined as follows:
We follow the above definition to examine experimentally the stability
of ETAQA-M/G/1 versus that of Ramaswami's formula.
The output of the aggregate scheme is a probability vector of
elements and is denoted as
, where
belongs to the domain of
the method, i.e., it is a choice of all the elements of the input matrices.
The output of Ramaswami's is again a probability vector of
elements
and is denoted as
. Note that Ramaswami's original output is
post-processed to produce the same aggregate probabilities that
produces.
We run two sets of experiments, one for a well conditioned instance
of the problem, and one for an ill-conditioned instance. This is performed
via the following steps:
![]() |
For our experiments, we selected a CTMC that models a bursty hyper-exponential
server with burst sizes ranging from 1 to
.
The dimension of
matrices
,
and
for
is
and matrices
,
a
for
are of dimensions
,
and
respectively.
Since the corresponding
matrix for the process as well as matrices
and
for
are full, we consider
the case to a representative one.5.4
All experiments are conducted on a Pentium III with 64-bit double precision
arithmetic, and
machine precision.
Our first set of experiments considers well-conditioned input matrices,
where the values of their elements differ at most
by two orders of magnitude.
Figure 5.4 illustrates the behavior of ETAQA-M/G/1
and Ramaswami's formula under well-conditioned input for 50 distinct
experiments. Each experiment corresponds to a different
but
within the same magnitude range.
Figure 5.4(a) shows the perturbation of solution for
each of
experiments for ETAQA-M/G/1 and Ramaswami's formula, is
within the same magnitude range of
.
Observe that Figure 5.4(a) does present two lines, one
for ETAQA-M/G/1 and one for Ramaswami's formula but the lines
are almost indistinguishable at this level.
The proximity of the two solutions is better illustrated in
Figure 5.4(b) where the
difference between the solutions obtained by the two different methods is
plotted and is in the range of
.
The two methods are equal for all numerical purposes.
Figures 5.4(c) and 5.4(e) illustrate the
perturbation of solution for both methods with
's in the
range of
and
, respectively.
Across the three experiments, the degree of perturbation in the solution
(i.e., the conditioning of the problem)
is within three orders of magnitude less than
.
Consistently with Figure 5.4(b),
Figures 5.4(d) and 5.4(f) illustrate that
the two methods agree to machine precision.
Regardless of the magnitude of the input perturbation, the differences
between the solutions are consistently within the same range,
i.e.,
.
Next, we turn to a worse conditioned problem, where the elements within
the various input matrices vary significantly.
We use the same CTMC as the one
in the previous set of experiments but the entries in all input matrices
vary in magnitude up to
with the largest element in the range of
and the smallest in the range of
.
Therefore, by increasing the stiffness of the problem
the possibility of numerical errors increases.
Again, we perturb the input with random values within ranges of
,
, and
.
Results are presented in Figure 5.5.
![]() |
The perturbation of input matrices with values at the level of
introduces
a perturbation of the solution in the range of
, higher than the
perturbation of solution in the well-conditioned case (compare Figures
5.5(a) and 5.4(a)).
We point out that there are two lines on top of each-other in Figure
5.5(a) corresponding to ETAQA-M/G/1 and Ramaswami's
output respectively. The differences between the solutions obtained by both
methods for each experiments are presented in Figure 5.5(b)
and are in the range of
.
Comparing to the results of the well-conditioned case
we note an increase on the difference among the two solutions, but still
very small and clearly less than the perturbation value.
Figures 5.5(c) and 5.5(e) illustrate
the perturbation of solutions for perturbation of inputs in the ranges of
and
respectively.
Comparing to the results of Figure 5.4, we observe that
the conditioning of the problem increases.
The degree of perturbation remains constant for all three experiments and is
one order of magnitude less than
, consistently across experiments.
The difference of solutions between the two methods in the case of input
perturbation ranges of
and
are presented in Figures
5.5(d) and 5.5(f).
The differences are within the same range as for the experiment depicted
in Figure 5.5(b).
The results presented in Figures 5.4 and 5.5 show that both methods, ETAQA-M/G/1 and Ramaswami's formula behave very similarly under different numerical scenarios. Since for nearly the same input we obtain, in both cases, nearly the same output, we argue that the stability of Ramaswami's recursive formula is re-confirmed. Our experiments also illustrate that ETAQA-M/G/1 and Ramaswami's recursive formula are in good agreement.