Académique Documents
Professionnel Documents
Culture Documents
www.com.dtu.dk
Take home points
After the lectures you should:
Be familiar the concept of QoS
Understand some implication of QoS requirements on routing
Be familiar with QoS issues in both traditional unicast routing and
other scenarios
Know about QoS support in the Internet today
Know about some QoS routing algorithms and protocols
Key terms
QoS, Constraints, ISA, Diffserv, OSPF-TE
www.com.dtu.dk
Outline of lecture
What is Quality-of-Service (QoS)?
Local and global state information
QoS Routing
Distribution of state information
Path finding algorithms
Using QoS in the Internet
Selected QoS protocols
Lecture material:
Huitema: Chapter 14
D. Katz et al, "RFC 3630 - Traffic Engineering (TE) Extensions to OSPF
Version 2", IETF, September 2003
www.com.dtu.dk
Example Applications setting new requirements to the
network
Videoconferencing
Interactive service
Video on Demand
Control signals should experience low delay
Distributed music recording
Low latency a must
High Quality video production with remote studios
Platform independent gaming transmission of display information.
Backup and restore
Huge bandwidth pipes required on demand
www.com.dtu.dk
Network requirements for typical research
application
Application Quality BW Latency Packet loss Mode
jitter
Storage and High 120-600 200 ms / - < 0.1% Unidirectional
backup Mbps
Accelerated VoD Very high 50-100 Mbps 500 ms / < 1% Unidirectional
streaming 50 ms
Uncompressed Very high 300-1500 150 ms / 1 < 1% Bidirectional
video production Mbps ms
Multipoint video High 2-13 Mbps 150 ms / < 1% Bidirectional
conferencing pr. partner 50 ms
www.com.dtu.dk
Schemes for providing QoS
Increasing bandwidth
Bandwidth affordable
Overprovisioning
No guarantees issued for any applications
Restricting access
Prioritisation of data
Guaranteed bandwidth supported
Delay bounds introduced
Dynamic bandwidth allocation
Improve utilisation while prioritising access
Integration of the applications with the network
Clear interfaces between heterogenous network domains
www.com.dtu.dk
Quality of Service (QoS)
What is network Quality-of-Service (QoS)?
Here today:
Network service, where users can specify requirements of service
(e.g., in terms of different parameters)
Parameters can be: Throughput, Delay, Jitter, Reliability, Cost,
Service can be guaranteed or approximate
QoS must be measurable
Traditional best-effort service is opposite of QoS
www.com.dtu.dk
Qualification of QoS parameters
www.com.dtu.dk
Why QoS?
Applications that require QoS support:
Real-time applications, e.g., VoIP and video/audio-streaming
Bounds on delay, delay-jitter and throughput
In general: All applications can benefit from QoS, but not all are worth it!
QoS more expensive than best-effort
www.com.dtu.dk
History of QoS
IPv4 specification defines Type-of-Service field in header:
www.com.dtu.dk
IP TOS Type of Service
Problem with QoS support using TOS:
Still no guarantees
www.com.dtu.dk
History of QoS (2)
Next attempt at QoS: ATM and ATMForum
www.com.dtu.dk
History of QoS (3)
ATM research resulted in many papers, book, conferences, ...
Many different companies were started on ATM
A lot of knowledge on QoS was accumulated
Experience used by MPLS
www.com.dtu.dk
QoS support in routers
Example from Integrated Services Architecture (see later)
www.com.dtu.dk
QoS Support in routers (2)
Different queues for different service categories
www.com.dtu.dk
Local state
Example of Link state
Bandwidth (B)
Delay (D)
Cost (C)
Link attribute: (B,D,C)
Example of node state
Queueing delay
CPU cost
Processing delay
Network state
All links include QoS states
All nodes include QoS state information
www.com.dtu.dk
From local states to routing decision
(1,5,...)
2 4
(1,1,...)
(4,1,...)
1 6
(6,1,...)
3 5
Given:
Graph representation of links (local state)
Multiple metrics per link
(Bandwidth, delay, ... , .. )
Find:
Path from 1 to 6 with lowest delay and min BW 2 ???
www.com.dtu.dk
QoS Routing Some definitions
Link constraints: Constraints on the use of links
Example: Every link must have capacity > R
Feasible path: Path that satisfies all link constraints and path constraints
Goal of QoS routing: Find at least one feasible path, given a set of
constraints, specified by users
www.com.dtu.dk
QoS Routing Some definitions (2)
Types of QoS routing:
Link-constrained routing
Example: Find path with throughput > R
Link-optimised routing
Example: Find path with maximum throughput
Path-constrained routing:
Example: Find path where delay < D
Path-optimised routing
Example: Find path with minimum delay
www.com.dtu.dk
QoS Routing Link metrics
QoS link metrics can be:
Additive: Delay, Jitter, Cost, (Packet loss probability), ...
Non-additive: Available capacity, Policies, ...
Non-additive link metrics are simple: Remove links that do not conform to
(link) constraints topology filtering
www.com.dtu.dk
Local state to global state what you did
Conversion of problem to weighted graph
Examining non-additive constraints
Finding those not satisfying constraints
Removing those
Result: New weighted graph
Shortest path routing techniques based on one additive constraint
Problems?
Scalability
Convergence time
www.com.dtu.dk
Hierarchical routing
www.com.dtu.dk
QoS Routing Multiple Constraints Problem
(1)
Given graph with m additive metrics (w1, w2, ..., wm) on every link
Given constraints Li for i = 1 ... m
www.com.dtu.dk
QoS Routing MCP problem (2)
MCP problem can be NP-complete
Depends on the range and relationship between metric components
Exact algorithms only useful for small networks
Approximative
algorithms,
e.g., Jaffes
or Fallback
or
www.com.dtu.dk
Optimisation Programming Language (OPL)
int nbLinks = ...;
int nbFlows = ...;
int nbNodes = ...;
5
5 range Links 1..nbLinks;
3
2 3 range Flows 1..nbFlows;
3 4
4 range Nodes 1..nbNodes;
2 6
2 3
2 2 3
1
1 2 // Topology of Network:
2 int+ u[Links] = ...;
1 1
1
1 4 5 int+ v[Links] = ...;
1
float+ linkbw[Links] = ...;
float+ cost[Links] = ...;
// Flows:
float+ effbw[Flows] = ...;
int+ s[Flows] = ...;
int+ d[Flows] = ...;
float+ h[Flows] = ...;
{
forall(l in Links) // (1)
Constraint (2) puts a maximum sum(i in Flows) effbw[i] * x[i,l] <= linkbw[l];
on the number of hops in the
path of a given flow. forall(i in Flows) // (2)
as long as the node is neither forall(i in Flows : s[i] <> n & d[i] <> n)
QoS examples:
Constrained S.T.: Bounded delay from source to every node
www.com.dtu.dk
QoS Routing Ad-hoc networks
QoS in ad-hoc networks difficult because:
Dynamic topology means imprecise information for routing
Overhead is likely to be higher than in wireline networks
Problem of resiliency
www.com.dtu.dk
QoS Routing Interdomain QoS routing
Problem with interdomain/hierarchical QoS Routing:
Domain hides internal topology State information is incomplete
Accurate QoS routing not possible
www.com.dtu.dk
Example of interdomain issues
Client
network
Client
network UNI1.0 A
D Optical network
A
R2
Optical network
B
UNI1.0
R2
I-NNI
I-NNI
E-
NNI UNI
Carrier domain
Client UNI1.0 UNI1.0 Client
network R2 network
C
R2 B
www.com.dtu.dk
QoS Routing Related issues
Admission control: New connection/flow rejected if QoS constraints can
not be met
Resource reservations
www.com.dtu.dk
QoS in the Internet
Two approaches directly aimed at QoS in the Internet:
Integrated Services Architecture (ISA) (Intserv)
Differentiated Services (DiffServ)
Other approaches:
MPLS-TE
Keep adding capacity
www.com.dtu.dk
Integrated Services Architecture (1)
Uses (soft-state) resource-reservation at routers
Resources are reserved per flow
Signalling using the RSVP protocol
Path messages from sender to receiver
Resv messages from receiver to sender
Receiver initated reservations
www.com.dtu.dk
Integrated Services Architecture (2)
Advantages and disadvantages:
Application requirements are matched (assuming that resources are
available!), i.e., the application gets what it asks for
Reservations can be shared in multicast groups (reservation merging)
Requires state-information per flow in routers, i.e., scalability issues
in core routers
RSVP protocol requires capacity for RSVP messages
Routers must determine for each IP packet the flow it belongs to. This
classification can be performance intensive in routers
Easier in IP version 6 compared to version 4
www.com.dtu.dk
Diffserv
Users have Service-Level Agreement (SLA) with network provider
www.com.dtu.dk
Diffserv (2)
Customer selects specific PHB for packet treatment, indicated in the DS
field of IP packets
DS field was the original ToS field
www.com.dtu.dk
Diffserv (3)
Advantages and disadvantages:
Better scalability in core part
Simplified processing in router
Only finite number of PHBs Application requirements not exactly
matched
www.com.dtu.dk
Intserv and Diffserv
ISA has scalability problems, Diffserv has granularity
problems
Idea: Why not combine ISA and Diffserv
www.com.dtu.dk
OSPF Traffic Engineering
Opaque Link State Advertisement (LSA)
Includes traffic metric
Maximum bandwidth
Reservable bandwidth
Unreserved bandwidth
Flooded when changes occur
E.g. when unreserved bandwidth changes by e.g. 10%
www.com.dtu.dk
OSPF-TE Lower limit of setup times (modelling
study)
Dependent on convergence times of routing protocols
Routing protocols for constraint based routing: (among others)
CSPF
OSPF-TE
Flooding procedure
When release/occupation of 10% of available link bandwidth
www.com.dtu.dk
Convergence time in large network
www.com.dtu.dk
OSPF-TE/MPLS/RSVP Modelling study
Enabling traffic engineering in
the network
For two large traffic flows
Packet loss reduced
Delay reduced
Delay wo/w TE
Network scenario
www.com.dtu.dk