Next: Concluding remarks
Up: Mean response time
Previous: Effect of donor job
Contents
Effect of thresholds
The thresholds
and
have very different effects.
In this section, we study the effect of threshold settings on performance.
We will see that increasing
helps
alleviate donor pain given nonzero switching time, without appreciably
diminishing beneficiary gain. Thus, the optimal value of
tends to be well above 1. By contrast, increasing
increases beneficiary gain substantially (by increasing their
stability region), but also increases donor pain. Overall,
the impact of changes in
is more dramatic
than the impact of changes in
.
Figure 6.8 shows the mean response time for beneficiary
jobs (rows 1 and 3) and the mean response time for donor jobs (rows 2 and 4)
as a function of
for different threshold values.
In the top half of the figure we study the effect of
changing
from
to
as we hold
fixed at
. In the bottom half of the figure we study the effect of changing
from
to
as we hold
fixed at
.
Throughout,
and
are exponential with mean 1,
and
are exponential with mean 0 or 1, and we fix
.
As
is increased from
to
, Figure 6.8
shows only slightly higher response times for the beneficiary jobs.
Recall that increasing
does not change the beneficiary
stability region, although the beneficiary queue is helped less
frequently. In fact, under longer switching times, the effect of
raising
on beneficiary mean response time is even more
negligible, since the decreased frequency of helping beneficiary jobs is
counteracted by the positive benefit of wasting less time on
switching. We also see that increasing
creates less
penalty for the donor, as the donor does not have to visit the
beneficiary queue as frequently. Observe that when the switching
times are nonzero, the donor mean response time is always bounded
above by the mean response time for a corresponding M/GI/1 queue with
setup time
, and this bound is tight for all
values
as
reaches its maximum, since the beneficiary queue always
exceeds
in this case. We conclude that
has
somewhat small impact; however higher values of
are more
desirable for the system as a whole under longer switching time.
By contrast increasing
from
to
has dramatic
effects. In general (assuming non-zero switching time) increasing
can drastically improve beneficiary response time. This
result is not obvious, since increasing
allows the donor to
spend more time at the beneficiary queue before leaving, but
also means that when the donor leaves the beneficiary queue, the donor
will be absent for a longer time (since more time is needed to empty the
donor queue). Another positive effect of increasing
is
less switching overall. In the end, it is the enlargement of the
stability region due to higher
which substantially improves
the beneficiary response time when the switching times are large and
beneficiary load is high. When switching times are very short,
increasing
only slightly worsens the mean response time for
beneficiary jobs, as beneficiary jobs experience longer intervals
between help. In all cases evaluated, increasing
results in much higher mean
response times for donor jobs, since, for
, the donor job
arriving at an empty queue must wait for another
jobs to
arrive before being served.
We conclude that increasing
can have large impact, positive for the
beneficiary jobs, but negative for the donor jobs. Thus setting
is
much trickier than
.
Finally we
seek to determine good values for the thresholds,
and
,
as a function of the system parameters.
Above, we have already observed
some characteristics of
.
(i) Increasing
leads to lower gain for the beneficiary jobs
and lower pain for the donor jobs. (ii) Perhaps less obvious,
the relative drop in gain for the beneficiary jobs is
slight compared to the drop in pain for the donor jobs.
This points towards choosing a higher value of
.
Thus, if the switching time is zero, the optimal
is 1 (or 0),
since there is never any pain for the donor jobs.
Figure 6.9 (a) and (b) show optimal values of
for
minimizing overall mean response time (over all jobs) as a
function of
and
under various switching times when
.
The numbers on the contour curves show the
optimal
at each load. For clarity we only show lines up
to
.
The following additional characteristics of
are implied by the figure:
(iii) the optimal
is an increasing function of
and a
decreasing function of
;
(iv) increasing the switching time increases the optimal
.
Figure 6.9:
Optimal values of
and
with respect to overall mean response time,
where
and
have an exponential distribution with mean 1.
|
Figure 6.9 (c) and (d) show optimal values of
for minimizing overall mean response time when
. First observe that (i) under low
or low
the optimal
is 1. When
is low and
, the pain for donor jobs is so huge that the optimal
is always 1. When
is low, the beneficiary gains
little from increasing
, while the donor can have nonnegligible pain, which increases
with
; hence the
optimal
is always 1. The following characteristics of
are also implied by the figure: (ii) the optimal
is not a monotonic function of
, but is an increasing function
of
; (iii) increasing the switching time increases the optimal
. Note that although the range of the optimal values of
is smaller than
in
Figure 6.9, Figure 6.8 tells us that the
performance effect of changing
on the mean response time of
both beneficiary jobs and donor jobs is more significant than changing
.
Next: Concluding remarks
Up: Mean response time
Previous: Effect of donor job
Contents
Takayuki Osogami
2005-07-19