Date post: | 30-Oct-2015 |
Category: |
Documents |
Upload: | ocira-oyaro |
View: | 22 times |
Download: | 0 times |
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 1/39
29th QUALITY OF SERVICE DEVELOPMENT GROUP (QSDG)MEETING
ITU-T STUDY GROUP 12
8TH – 12TH OCTOBER 2012, NAIROBI, KENYA
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 2/39
IP Quality of Service:
Theory and best practices
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 3/39
Who am I?
David Ocira OyaroRadio Network Planning and Optimization Engineer
Uganda Telecom
Experience: Over 10 years in wireless communication environment.
Competency area : Wireless Communication Solutions.
Responsibilities:
o Prepaid wireless public payphone
o Wide Area Networks (WAN) for satellite communication network.
o Wireless terrestrial communication networks (Microwave links and Base
Stations)- GSM/EDGE
- CDMA2000
- UMTS/HSDPA
- WiMAX
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 4/39
Abstract
Quality of Service (QoS) in IP networks is a set of methods forestablishing better and more reliable performance for today’s and
tomorrow’s networks.
QoS can solve many such problems by reserving privatechannels through a network, or differentiating classes of traffic
to prioritize the sensitive data. QoS also contains methods to
speed up backbone data transfers by; in advance planning
complete routes over a network, and avoiding congested or
broken connections.
This presentation explains QoS as it stands today, together with
suggestions on how it could work in the future.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 5/39
Outline
• Understand need for Quality of Service.
• Explore Internet QoS architectures.
• Check QoS best practices.
• Conclusion
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 6/39
Session I: QoS Essentials
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 7/39
Quality of Service
•ISO definition
– Quality of Service (QoS) is a "set of
qualities related to the collective
behavior of one or more objects.“
An operational perspective• Applications themselves?
– – Operational environment?
– – Servers
– – hardware & operating
system?
– – Internetwork topology?
– – Links?
– – Interneworking components?
• It depends on all
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 8/39
QoS
• A business perspective
• Setting up a network costs $$$!
• Each network element is a
resource
– – Tangible: routers,switches, links, servers …
– – Intangible: packets,
frames …
• What affects the intangible
assets?
– – Packet loss, delay, jitter …
• All this impact your business
• A network perspective
• Focus is on the network aspects
of QoS.
• QoS is actually managing
network’s intangible assets and
factors affecting them!
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 9/39
Congestion
• Root cause for congestion is
lack of bandwidth.
• – Demand for bandwidth is
greater than capacity.
• – Sudden surge in demand.
• – Unexpected traffic flowing
into the links due to routing.
.
• …
How does congestion affect
intangibles?
• Delay
– Packets start queuing up at the
router interfaces.
– Take more time to exit the router.
• Packet loss
– Queue buffers exhaust, routers start
dropping packets!
• Jitter
– Packets in the same flow routed to
links having variable delay.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 10/39
Congestion
Scenario(1) Speed Mismatch • LAN – WAN interconnect.
• Interconnection of high
bandwidth LAN links to low
bandwidth links.
• Problems:
– – Traffic from high
bandwidth links gets
choked
– on entering low
bandwidth links.
– – Buffer exhaustion on
devices.
Scenario(2)Aggregation • Traffic from multiple links
aggregates into a single link of
lesser bandwidth than the
aggregate.
• Problems
– – Similar to speed
mismatch. Here
aggregation is the reason
for the perceived speed
mismatch.
– – Aggregate link is choked.
– – Buffer exhaustion on
devices.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 11/39
Congestion
Scenario(3): Transit networks
• Traffic between two core networks
transits through the transit
network.
• Problems
– – Transit network acts as the
choke point.
– – Poor performance of the core
networks.
Flash points in the network
• Congestion causes the flash
points!
• Will such flash points be staticor dynamic?
• They will be dynamic! No one
can predict with accuracy
• where congestion will next occur!
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 12/39
Managing flash points – Provision QoS
Throwing bandwidth at the problem?
• Easiest way is to over provision the
network.
• Over-provisioning is static.
–
– Bandwidth cannot be carriedto a new flash point in the
network.
– – Over provisioned section may
not face congestion!
•
Over-provisioning does not alwaysmake business sense!
Manage the intangibles
• Treat network resources as
precious!
• Ensure fair usage of resources by
all.• Provide for priority access to
resource for some.
– How will it help in providing
quality of service?
• A matter of choice!
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 13/39
Benefits of managed QoS
• Enterprise networks
– Priority service to mission critical application traffic.
– Non critical traffic does not burden precious bandwidth.
– Helps in mitigating effects of denial of service (DoS) attacks.
• Service Providers
– IP QoS is a key cornerstone.
– Application level SLAs can be built and offered as a
premium service ($$$!).
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 14/39
Session 2: QoS architectures
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 15/39
QoS Architectures for Internet• Differentiated Services (DiffServ)
– Categorize traffic into different classes or priorities with high priority value
assigned to real time traffic
– Hop by hop (no assurance of end-to-end QoS)
• Integrated Services (IntServ) – Flow Based QoS Model (Resources are available prior to establishing the
session)
– Session by session (end-to-end)
– Uses RSVP (signaling protocol) to create a flow over a connectionless IP
• Multiprotocol Label Switching (MPLS)
– Not primarily a QoS model, rather a Switching architecture
– Ingress to the network decides a label according to FEC
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 16/39
The DiffServ Architecture
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 17/39
DiffServ
• – Offer various service levels
e.g. gold, silver, bronze …
• – Insert expected service level
in the packet as a “code point”.
• – DiffServ refers to the servicelevel as a “class”.
• – Each router participates in
providing a packet its class of
service. This is called as “Per
Hop Behaviour (PHB)”.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 18/39
DiffServ
Classification of packets What parameters can be used for
classification?
– Source/Destination IP addresses,
Port .
– Incoming/Outgoing interface.
– IP precedence values, DSCP value.
– …
Two types of classification
– BA classifier: based on behaviouraggregate.
– MF classifier: based on multiple
fields in the packet header or even
the payload.
•
Marking • Adding service level identification
to the frames or packets.
• Marking can be done at L2 o rL3
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 19/39
Policing or Shaping
Used with metering.
• Policing
– Drop non-conformant packets.
– Re-classify nonconformant
packets for the next hop to
discard them. – Aggressive.
• Shaping
– Buffer and schedule packet
egress as per policy.
– Has an effect of smootheningtraffic flow.
– Typically used for
speed mismatch scenarios
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 20/39
Queue and/or drop •
Queuing
– Buffer packets when an interface (link) is congested.
– Schedule egress of packets out of the buffer using a
scheduling algorithm (FIFO, CBQ, WFQ …).
• Dropping
– Drop packets that cannot be buffered or are
non-conformant.
– Dropping can happen at the edge or the core.
Which of the two is better?
Dropping works believing that sources will back-off!
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 21/39
Common PHBs No. PHB Behaviour
1 EF (Expedited
forwarding)
Very low delay, low jitter and assured
bandwidth
2 AF (AssuredForwarding)
Assured amount of bandwidth4 IETF defined sub classes
3 Default Best effort
4 CS (Class Selector) Backwards compatible with IP
precedencevalues.
Used for Forwarding Probability (FP)
Can you compare this with a mail service?
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 22/39
Interdomain DiffServ operation(1)
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 23/39
The IntServ (Integrated Services)Architecture
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 24/39
Why IntServ?
• Analogy of telephone call.
– – Caller requests for resources
from the telco for setting a
session with receiver.
– – Telco admits or rejects thecall depending on available
resources.
– – Once admitted, allocated
resources remain allocated till
the call is terminated by eitherend- point.
• Try explaining this using the
DiffServ concept?
• Certain applications expect
uniform service level for the entire
duration of the call/session/flow.
• DiffServ does not have a concept
of a “call” (or session /flow) – – DiffServ is incapable of
handling flows.
• Other limitations include lack of
admission control.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 25/39
IntServ
Defines two service classes
• – Controlled Load service
– • No fine grained guarantees
provided.
–
• Bandwidth reservationnecessary. (limited)
– • Additional packets receive best
effort service.
• – Guaranteed Service class
– • Provides firm bounds onthroughput and deterministic
upper bounds on packet delay.
– • Designed for intolerant real time
applications (CBR, rt-
VBR,interactive multimedia)
Applications need to know the
characteristics of the traffic
before hand.
•
Hosts “signal” the network torequest for resources to meet
traffic requirements.
• The network performs
admission control and eitheraccepts or rejects the resource
reservation request.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 26/39
IntServ IntServ provides QoS guarantees to individual
application sessions or flows.
Three components
– Sender specification (Tspec).
– Receiver specification (Rspec).
– Signaling by sender and receiver tonetwork components.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 27/39
IntServ vs. DiffServ
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 28/39
Choosing between the two
Choose IntServ for:
– Guaranteed bandwidth, end-to-end QoS.
Choose DiffServ for:
– High scalability
But don’t we require all this!
– Can’t we use the best of both worlds?
– IntServ is obsolete.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 29/39
MPLS
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 30/39
MPLS
Introduction
Specifies mechanisms to
manage traffic flows between
different hardware, machines,
or applications.
Maps IP addresses to simple,
fixed-length labels Interfaces to
existing routing protocols such
as RSVP, OSPF etc.
Supports the IP, ATM, and
frame-relay Layer-2 protocols
MPLS operation
Label creation and distribution
Table creation at each router
Label-switched path creation
Label insertion/table lookup
Packet forwarding
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 31/39
MPLS operation: Steps
Label creation and distribution
Table creation at each router
Label-switched path creation
Label insertion/table lookup
Packet forwarding
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 32/39
Traffic engineering
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 33/39
Traffic engineering
Introduction:Process that enhances
overall network utilization:
• By attempting to create auniform or
• Differentiated distribution
of traffic throughout thenetwork.
The need for TE IP routing (Destination address
based best /shortest path
selection)
– Over utilization of certain pathswhile others are under utilized.
Basic traffic engineering
– Find and set up best path to adestination with certain
characteristic.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 34/39
Session 3: Deploying DiffServ :-
Best Practices
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 35/39
Network architecture – 1
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 36/39
Network architecture - 2
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 37/39
DiffServ deployment
Align DiffServ deployment with each layer’scharacteristics
– Do not break the structure by assigning wrong
DiffServ responsibilities to network layers.
– Remember the primary DiffServ functions are:
• Packet classification.
• Packet marking.
• Queuing and/or Dropping.
• Policing and Shaping with optional metering.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 38/39
Conclusion
We discussed the need to map QoS deployment tothe network architecture.
Always plan the QoS deployment in details. It saves
patch-work in the future.
Post implementation monitoring is essential.
If possible choose platforms that provide Policy-
Based Management of QoS deployment.
7/16/2019 IP Quality of Service_2012_Oct..pptx
http://slidepdf.com/reader/full/ip-quality-of-service2012octpptx 39/39
Contact information
Uganda Telecom Ltd,Speke Road
Kampala
E-mails: [email protected]
[email protected] Skype: Ocira.Oyaro
Tweeter: @OciraOyaro
Cell Phone: +256 71 2900060
+256 77 7666774
+256 75 6666774