3.1 A Dynamic WFQ Based on the
Knightly’s Theory
As stated in the previous paragraphs, the WFQ is the
concerned scheduling algorithm, enhanced with an
integrated method of measurement and
characterization of the traffic aggregates, which in
our context corresponds to the different classes of
service in a DiffServ-enabled 4G network, in order
to tune at run-time the weights of the different
queues.
In particular, for each traffic aggregate
distinguished by the DSCP value (Nichols, 1998),
the parameters of the characterizing traffic constraint
functions are measured or indirectly calculated.
Those parameters are: the mean rate, the burstiness,
the peak rate and the peak rate duration.
Actually, for an initial simulation analysis, the
updating mechanism is triggered by the result of an
effective statistical test (see subsect. 3.2) applied to
the average arrival rate only. The said test is
executed for all the incoming active aggregates at
the considered IP router interface. It is enough that
just one parameter (i.e. the average arrival rate in a
queue) presents a variation detected by the test (with
the assigned level of reliability), to force an updating
of the parameters of all the aggregates and a tuning
of the scheduler’s weights. If there’s no significant
change in a measurement period for the functional
parameters, the weights remain the same.
The newly proposed updating algorithm based on
Knightly’s theory has been designed with particular
attention to the number of operations to be executed.
The goal is to reduce as much as possible the
computational overhead, in order to have a solution
suitable even for broadband networks, where the
high value of the router service rate could entail
constraints on the complexity of the deployed
mechanisms.
The weight value for each queue is obtained
from a system of equations similar to (5) (subsect.
2.2), where the minimum service capacity to be
allocated to each queue is the parameter to calculate,
that in turns corresponds to the queue weight. Of
course, the system also fulfils the condition that the
sum of the bandwidth allocated to the queues must
be equal to the service rate of the router interface (in
(5) indicated as C
link
).
In practice, we have to deal with an N
th
order
equation, where the parameter d to be determined,
referring to the equation (5), represents the
maximum delay for the N
th
class (the class granted
with the best service in terms of delay). To be noted
that the maximum delay of each class can be
expressed in terms of the maximum delay of a given
class (in this case of the N
th
one) by means of the
assigned QoS factors.
This non-linear equation can be easily solved at
run time with an approximated algorithm based on
the well-known Newton iterative method that allows
to easily obtain the searched solution with a
configurable maximum error. More in detail, with an
extremely limited number of iterations (actually,
never more than 4), it is possible to determine the d
value with an error lower than a microsecond.
Newton’s algorithm needs an initial value for the
parameter to be determined. It is represented by the
value employed in the previous bandwidth allocation
(currently still valid).
Furthermore, we remind that the computational
overhead is dramatically reduced by the application
of the statistical test that leads to an updating
frequency of about 30% of the measurement
windows (with a reliability level of 90%).
3.2 An Effective Statistical Test
The t-Student test (Spiegel, 2000) application to a
set of empirical observations of rate values is
conditioned to the truth of the following
assumptions:
I. the samples are independent and with
identical distribution (iid)
II. the samples belong to a normal statistical
distribution.
Actually, by the Central Limit theorem (Spiegel,
2000) the test can be applied to whatever
distribution if the observation set is large enough (in
practice > 30).
The iid hypothesis is verified when the number
of observations is small compared to the population
cardinality (Spiegel, 2000).
With a proper measurement window length both
the assumption are valid (Cao, 2001)(Cao, 2002).
With a given reliability level, the test is positive
when the hypothesis “the traffic (i.e. the mean rate)
of a service class has not changed” is to be rejected.
3.3 Traffic Description and
Parameter Settings
We considered traffic aggregates composed of both
TCP and UDP flows. The latter, H.263 coded video
streams at different bit rates, ranging from 64 to 256
Kbit/s as mean value, generated by real traces
(H.263/MPEG4) of video streaming and
conferencing applications (see the table below for
more details). By their nature of typical compressed
video flows, the related bit rate is highly variable
with a burstiness factor (peak to mean rate ratio) of
even 10.
WEIGHT UPDATING METHODS FOR A DYNAMIC WEIGHTED FAIR QUEUING (WFQ) SCHEDULER
45