6CS029 Lecture 4 - QoS Concepts
6CS029 Lecture 4 - QoS Concepts
6CS029 Lecture 4 - QoS Concepts
Interactive Prioritize for the lowest delay of all Applications could benefit from
data traffic and strive for a 1 to 2 lower delay.
second response time.
Not interactive Delay can vary greatly as long as Gets any leftover bandwidth after
the necessary minimum bandwidth all voice, video, and other data
is supplied. application needs are met.
Queuing Algorithms
First in First Out
• First In First Out (FIFO) queuing buffers and forwards packets in the
order of their arrival.
• FIFO has no concept of priority or classes of traffic and
consequently, makes no decision about packet priority.
• There is only one queue, and all packets are treated equally.
• Packets are sent out an interface in the order in which they arrive.
Weighted Fair Queuing (WFQ)
Provides fair bandwidth allocation to all network traffic.
• WFQ applies priority to identified traffic, classifies it into conversations
or flows, and then determines how much bandwidth each flow is
allowed relative to other flows.
• Classification can be based on source and destination IP addresses,
MAC addresses, port numbers, protocol, and Type of Service (ToS)
value.
Benefits Drawbacks
The model is the most scalable. There are no guarantees of delivery.
Scalability is only limited by Packets will arrive whenever they can
available bandwidth, in which and in any order possible, if they
case all traffic is equally affected. arrive at all.
No special QoS mechanisms are No packets have preferential
required. treatment.
It is the easiest and quickest Critical data is treated the same as
model to deploy. casual email is treated.
Integrated Services
• Explicitly provide QoS to individual flows
• Uses resource reservation and admission-
control mechanisms
• Uses a connection-oriented approach
• Admission control at the edge router
• Application informs the network of its traffic
profile and requests a particular kind of
service.
• Uses the Resource Reservation Protocol
(RSVP) to signal the QoS needs of an
application’s traffic along devices in the end-
to-end path through the network.
Benefits Drawbacks
• Explicit end-to-end resource admission • Resource intensive due to the stateful
control architecture requirement for continuous
• Per-request policy admission control signaling.
• Signaling of dynamic port numbers • Flow-based approach not scalable to large
implementations such as the internet.
Differentiated Services
Simple and scalable mechanism for classifying
and managing network traffic.
• Is not an end-to-end QoS strategy because it
cannot enforce end-to-end guarantees.
• The router which classifies the flows into
classes based on business requirements and
provides the appropriate QoS policy for the
classes.
• Enforces and applies QoS mechanisms on a
hop-by-hop basis
• It is possible to choose many levels of service
with DiffServ.
Benefits Drawbacks
• Highly scalable • No absolute guarantee of service quality
• Provides many different levels • Requires a set of complex mechanisms to
of quality work in concert throughout the network
QoS Implementation Techniques
QoS Tools
QoS Tools Description
Classification and • Sessions, or flows, are analyzed to determine
marking tools what traffic class they belong to and then marked
Note: Classification and marking can be done on ingress or egress, whereas other
QoS actions such queuing and shaping are usually done on egress.
Classification and Marking
Before a packet can have a QoS policy applied to it, the packet has to be classified.
Classification determines the class of traffic to which packets or frames belong. Only
after traffic is marked can policies be applied to it.
How a packet is classified depends on the QoS implementation.
• Methods of classifying traffic flows at Layer 2 and 3 include using interfaces,
ACLs, and class maps.
• Traffic can also be classified at Layers 4 to 7 using Network Based Application
Recognition (NBAR).