Techniques To Improve Qos
Techniques To Improve Qos
Techniques To Improve Qos
Scheduling
Resource Reservation
Admission Control
Traffic Shaping
•A good scheduling technique treats the different flows in a
fair and appropriate manner.
Figure:Priority queuing
•The system processes packets in each queue in a round-robin fashion with the
•number of packets selected from each queue based on the corresponding
weight.
•For example, if the weights are 3, 2, and 1, three packets are processed from
the first queue, two from the second queue, and one from the third queue. If the
system does not impose priority on the classes, all weights can be equal. In this
way, we have fair queuing with priority.
Note
The token bucket allows bursty traffic at
a regulated maximum rate.
The token is initialized to zero. Each time a token is added, the
counter is incremented by 1. Each time a unit of data is sent,
the counter is decremented by 1. When the counter is zero, the
host cannot send data.
2. The naive answer says that at 6 Mbps it takes 4/3 sec to drain
an 8 megabit bucket. However, this answer is wrong, because
during that interval, more tokens arrive. The correct answer can
be obtained by using the formula
S = C/(M − ρ). Where-
S= total time for maximum speed
C= capacity of bucket
M= maximum speed of channel
ρ = token filling capacity
Substituting, we get S = 8/(6 − 1) or 1.6 sec.