advanced traffic management (qos) concepts
TRANSCRIPT
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
1/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
13191056_05F9_c2 1999, Cisco Systems, Inc. 1 1999, Cisco Systems, Inc.3191056_05F9_c2
2 1999, Cisco Systems, Inc.
319
1056_05F9_c2
Advanced TrafficAdvanced TrafficManagement and QoSManagement and QoS
ConceptsConcepts
Session 319Session 319
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
2/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
33191056_05F9_c2 1999, Cisco Systems, Inc.
IntroductionIntroduction
Traffic Management
Applications and Transports
So what Are the Issues for
TCP
Voice on IP
Video (Broadcast and Teleconferencing)
4
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Let's Talk about TrafficLet's Talk about Traffic
ManagementManagement
Why it is a concern
What the guiding principles are
What tools are available
What can be accomplished usingthose tools
What cannot be accomplished
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
3/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
53191056_05F9_c2 1999, Cisco Systems, Inc.
Why Traffic ManagementWhy Traffic ManagementIs a ConcernIs a Concern
Needs of certain applications
Mail? Web? Transaction processing?
Opportunities with certain transports
6
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Guiding Principles forGuiding Principles for
Traffic ManagementTraffic Management
We want to achieve
Predictability
Reliability
Availability
In a network that
Keeps intelligenceat the edges
Scales to necessarysizes andbandwidths
Minimizescomplexity
Uses cost-effectivetechnologies
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
4/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
73191056_05F9_c2 1999, Cisco Systems, Inc.
What Tools Are Available forWhat Tools Are Available forTraffic ManagementTraffic Management
Traffic path control
Queue depth management
Queue rate management
Permission to use a link
8
319
1056_05F9_c2 1999, Cisco Systems, Inc.
How Well Will TrafficHow Well Will Traffic
Management Do?Management Do?
We know we can do this:
Management of latency
Management of bandwidth
What cannot be accomplished
Creation of bandwidth that otherwisewould not be there
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
5/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 5
93191056_05F9_c2 1999, Cisco Systems, Inc.
Source: Gartner Group Study, March 1997
WAN ProtocolBreakdown
WAN ProtocolBreakdown
1994 1996 1998E 2000E 2002E
80%
70%
60%
50%
40%
30%
20%
10%
0%
IP SNA IPX
Others RFC 1490
IP
Primarily a WAN IP TalkPrimarily a WAN IP Talk
IP is the dominantinternet protocol
TCP is the dominantdata transport
95% of Internet trafficuses TCP
Voice is a growingmarket
But beware of hype
Heterogeneouslink layers
10 1999, Cisco Systems, Inc.
319
1056_05F9_c2
Making NetworksMaking NetworksPredictablePredictable
The GrailThe Grail
10 1999, Cisco Systems, Inc.
319
1056_05F9_c2
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
6/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 6
113191056_05F9_c2 1999, Cisco Systems, Inc.
This Is what You NeedThis Is what You Needto Understand:to Understand:
TCP-based applications, voice,and video can be managed wellwith a little planning
12
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Parekh and Gallaghers PaperParekh and Gallaghers Paper
INFOCOMM 93
One must have at most a predictablepredictableamount of traffic in the network
One must have predictablepredictable traffic
delay in each network element Given these, end-to-end delayend-to-end delay of a
host to host message is predictableis predictable
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
7/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 7
133191056_05F9_c2 1999, Cisco Systems, Inc.
Definition of PredictableDefinition of Predictable
Does not mean
Fixed, Invariant, or Zero
Means that it has a
Mean value
Statistical distribution
Upper bound
14
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Predictable Amount of TrafficPredictable Amount of Traffic
in the Networkin the Network
The source must pace trafficinitiation so that standing queuesare bounded
Queues form when arrival rate exceedsdeparture rate
When congestion (too many
messages in one queue) sets in:Sources must not increase their rate
Ideally, sources decrease their rate
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
8/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 8
153191056_05F9_c2 1999, Cisco Systems, Inc.
Examples of Source PredictabilityExamples of Source Predictability
TCP will keep at most a certainamount of traffic in flight
We say it is elasticrate isproportional to latency
Voice will send only and exactly as
fast as the coding algorithm permits
We say it is inelastic
16
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Predictable Packet Treatment inPredictable Packet Treatment in
Routers and SwitchesRouters and Switches
Transit latency must be within limitsacceptable to the application
Variation in transit latency must bewithin limits acceptable to theapplication
No stream may be locked out apartfrom administrative policy
Applicable policy must be observed
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
9/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 9
173191056_05F9_c2 1999, Cisco Systems, Inc.
Examples of UnpredictabilityExamples of Unpredictability
Queues change rapidly enough thatthe distribution cannot be described
Discards happen frequently enoughthat there is effectively no upper
bound on delivery time
18
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Examples of PredictabilityExamples of Predictability
Classes of queues get sufficientservice that ultimate arrival is timelyand normal
Timely is an application concept
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
10/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
193191056_05F9_c2 1999, Cisco Systems, Inc.
Quality of Service Issues inQuality of Service Issues inTraffic ManagementTraffic Management
Predominantly TCP traffic
Some specific applications
Voice/video traffic
20 1999, Cisco Systems, Inc.
319
1056_05F9_c2
Managing TCP TrafficManaging TCP Traffic
Moving Mountains of DataMoving Mountains of DataWithout Incurring the WorldWithout Incurring the World
Wide WaitWide Wait
20 1999, Cisco Systems, Inc.
319
1056_05F9_c2
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
11/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
213191056_05F9_c2 1999, Cisco Systems, Inc.
Transport Breakout TCP Applications
Backbone Traffic MixBackbone Traffic Mix
Source: MCI/NSF OC-3MON via http://www.nlanr.net, 1998
22
319
1056_05F9_c2 1999, Cisco Systems, Inc.
TCP Technology IssuesTCP Technology Issues
Single drops communicate fromnetwork to sending host
You need to slow down
Multiple drops in round trip trigger
time-outs
Something bad happened out here
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
12/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
233191056_05F9_c2 1999, Cisco Systems, Inc.
N+1
N
N+2N+3
Behavior of a TCP SenderBehavior of a TCP Sender
Sends as much ascredit allows
Starts credit small
Avoid overloadingnetwork queues
Increases creditexponentially
To gauge network capability
24
319
1056_05F9_c2 1999, Cisco Systems, Inc.
AckN
+1
N+1
N
N+2N+3
AckN
+1
AckN
+1
Behavior of a TCP ReceiverBehavior of a TCP Receiver
When in receipt of nextmessage, schedulesan ACK
When in receipt ofsomething else,
acknowledges all itcan immediately
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
13/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
253191056_05F9_c2 1999, Cisco Systems, Inc.
AckN
+1
N+1
N
N+2N+3
AckN
+1
AckN
+1
AckN+4
N+1
Sender Response to ACKSender Response to ACK
If ACK acknowledgessomething
Update credit and send
If not, presume it indicatesa lost packet
Send first unacknowledgedmessage right away
Halve current credit
Increase linearly to gaugenetwork throughput
26
319
1056_05F9_c2 1999, Cisco Systems, Inc.
AckN
+5
N+4
AckN
+1
N+1
N
N+2N+3
AckN
+1
AckN
+1
AckN
+4
N+1
N+4
WorldWorldWideWideWait!Wait!
Multiple Drops in TCPMultiple Drops in TCP
In the event of multiple dropswithin the same session:
Current TCPs wait for time-out
Selective acknowledge maywork around (but seeINFOCOM 98)
New Reno fast retransmitphase takes several RTTsto recover
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
14/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
273191056_05F9_c2 1999, Cisco Systems, Inc.
Remember Parekh and GallagherRemember Parekh and Gallagher
One must have at most a predictablepredictableamount of traffic in the network
One must have predictablepredictable trafficdelay in each network element
Given these, end-to-end delayend-to-end delay of ahost to host message is predictableis predictable
28
319
1056_05F9_c2 1999, Cisco Systems, Inc.
How Can We Make TCP in aHow Can We Make TCP in a
Network Act Predictably?Network Act Predictably?
Predictable amount of trafficin the network:
Well-written TCP implementationsmanage their rates to the availablebandwidth
Router needs toProvide predictable treatment of packets
Queue delay and drop characteristics
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
15/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
293191056_05F9_c2 1999, Cisco Systems, Inc.
Fundamental FIFO QueueFundamental FIFO QueueManagement TechnologiesManagement Technologies
Tail drop
Network standard behavior
Causes session synchronization whenwaves of traffic experiencecorrelated drops
Random Early Detection (RED)Random drops used to desynchronizeTCP sessions and control rates
30
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Session SynchronizationSession Synchronization
Sessionsynchronizationresults fromsynchronizedlosses
Tail drop fromwaves of trafficsynchronizeslosses
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
16/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
313191056_05F9_c2 1999, Cisco Systems, Inc.
RED EnabledRED EnabledCourtesy of Sean Doran, Ebone
Effect ofEffect ofRandom Early DetectionRandom Early Detection
One day, below 100% throughput
Simple FIFO with tail drop
Starting 10:00 second day, 100%throughput
Random Early Detection enabled
32
319
1056_05F9_c2 1999, Cisco Systems, Inc.
RED EnabledRED EnabledCourtesy of Sean Doran, Ebone
Was that a Fluke?Was that a Fluke?
No, heres what happened that week
Session synchronization reducedthroughput until RED enabled
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
17/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
333191056_05F9_c2 1999, Cisco Systems, Inc.
0
50
100
150
200
250
300
350
400
Elapsed Time
NsRTT
Mean RTT Min RTT Max RTT STD DEV
MeanMeanLatencyLatencyCorrelatesCorrelates
withwithMaximumMaximum
QueueQueueDepthDepth
FIFO Traffic TimingsFIFO Traffic Timings
34
319
1056_05F9_c2 1999, Cisco Systems, Inc.
0
50
100
150
200
250
300
350
400
Elapsed Time
MsRTT
Mean RTT Min RTT Max RTT STD DEV
MeanMeanLatencyLatencyCorrelatesCorrelates
withwith
MinimumMinimumDropDropThresholdThreshold
AdditionalAdditional
CapacityCapacityto Absorbto AbsorbBurstsBursts
RED Traffic TimingsRED Traffic Timings
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
18/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
353191056_05F9_c2 1999, Cisco Systems, Inc.
ThereforeTCP QoS Definition:ThereforeTCP QoS Definition:
Normally at most one drop perround trip
Mean variation in latency bounded
by predictable network
36
319
1056_05F9_c2 1999, Cisco Systems, Inc.
TCP Flow StatisticsTCP Flow Statistics
>90% of sessions have ten packetseach way or less
Transaction mode (mail, small web page)
>80% of all TCP traffic results from
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
19/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 1
373191056_05F9_c2 1999, Cisco Systems, Inc.
An Interesting CommonAn Interesting CommonFallacy about RED:Fallacy about RED:
RED means you will have more drops
Statement derives from observed statistics
RED means that you will have
Closer to 100% utilization of your line
Less average delay per packet
But queuing theory?As a line approaches 100% utilization, drops willincrease, even though served load increaseseven though served load increases
38
319
1056_05F9_c2 1999, Cisco Systems, Inc.
TCP Traffic Management IssuesTCP Traffic Management Issues
Applications
Often have site-specific policyassociated with them
Traffic often identifiable by port numbers
SitesGenerally identifiable by address prefixor interface traffic is received on
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
20/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
393191056_05F9_c2 1999, Cisco Systems, Inc.
TCP Bandwidth PolicyTCP Bandwidth PolicyQuestions to AnswerQuestions to Answer
Particular site or application wants atleastleast a certain bandwidth
Particular site or application wants atmostmost a certain bandwidth
Particular site or application wants toaverageaverage about a certain bandwidth
40
319
1056_05F9_c2 1999, Cisco Systems, Inc.
ClassifierClassifier
Queues
InterfaceInterface
This Is Where ClassesThis Is Where Classes
Come inCome in
Classes can be for:
Voice
Importantapplication/site
Unimportant
application/siteAssuring at least a rate
Limiting to a rate
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
21/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
413191056_05F9_c2 1999, Cisco Systems, Inc.
Managed Link
Left Right
ICU
UC Me
U Betcha
Some Class of Traffic Wants atSome Class of Traffic Wants atLeastLeast a Certain Bandwidtha Certain Bandwidth
Example:
Several organizations share cost of link
Distribute bandwidth proportional tofiscal responsibility
42
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Class of Traffic Wants atClass of Traffic Wants at MostMost
a Certain Bandwidtha Certain Bandwidth
Traffic shaping
Similar queuing technology to class-based weighted fair queuing
Rate assigned to
Interface or sub-interfaceFrame Relay circuit
ATM virtual channel (in hardware)
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
22/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
433191056_05F9_c2 1999, Cisco Systems, Inc.
T-1
64
KBPS
Examples of Rate ControlExamples of Rate Control
Intranet exposure
Limit rate of web surfingoutside the company
Frame Relay network
Access rate exceedsPVC ratelimit rate torate of PVC
44
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Some Class of Traffic Wants toSome Class of Traffic Wants to
AverageAverage a Certain Bandwidtha Certain Bandwidth
Service provider or largeenterprise model
Designed for
Cost containment
Managed response toconflicting demands
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
23/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
453191056_05F9_c2 1999, Cisco Systems, Inc.
Marking TCP Traffic at EdgeMarking TCP Traffic at Edge
A useful technique:
Mark traffic at a network edge withsimple classifier
This allows network to
Do the right thing without having to fullyclassify everywhere
Use more effective markings
46
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Serving TCP Traffic with theServing TCP Traffic with the
Assured ServiceAssured Service
Presumes service level agreement
Flat rate for traffic meeting a rate/burst profile
Usage charging for traffic out of profile
Drop management (weighted RED)
All traffic subject to loss
Traffic out of profile much more subject to loss
Enhances ISP traffic engineering
(Good for service provider and consumer)
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
24/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
473191056_05F9_c2 1999, Cisco Systems, Inc.
Assured Service
0%
10%
20%
30%
40%
50%
60%
70%
010
20
30
40
50
60
70
80
90
Time
Usage
Structure of Presumed ServiceStructure of Presumed ServiceLevel AgreementLevel Agreement
Up to raterate over intervalintervalis in profile
Traffic within profilegets some guarantees
Traffic out of profilehas no guarantees
Potentially dropped byWRED at bottleneck
Usage pricingUsage pricing of overage
48
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Line Congested?Drop at Some Rate!
Best Effort Service in SimpleBest Effort Service in Simple
IP NetworksIP Networks
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
25/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
493191056_05F9_c2 1999, Cisco Systems, Inc.
Line Congestedand Packet Out ofand Packet Out of
ProfileProfile? Drop atSome Rate!
Assured Service in SimpleAssured Service in SimpleIP NetworksIP Networks
50
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Best effort Service in anBest effort Service in an
ATM-Based NetworkATM-Based Network
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
26/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
513191056_05F9_c2 1999, Cisco Systems, Inc.
Assured Service in anAssured Service in anATM-Based NetworkATM-Based Network
52
319
1056_05F9_c2 1999, Cisco Systems, Inc.
So, for TCPSo, for TCP
Traffic can be contained to a rate in amanner consistent with good qualityof service
Traffic can be managed well with alittle foresight and planning
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
27/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
53 1999, Cisco Systems, Inc.3191056_05F9_c2
Convergence with VoiceConvergence with VoiceNetworksNetworks
Its about Internet Telephony!Its about Internet Telephony!
53 1999, Cisco Systems, Inc.3191056_05F9_c2
54
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Again, the Premise:Again, the Premise:
TCP-based applications,voicevoice, and video can bemanaged well with a little
planning
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
28/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
553191056_05F9_c2 1999, Cisco Systems, Inc.
0
20
40
60
80
100
1996 1998 2000
Multimedia
Dynamic WWW
Static WWW
FTP and Telnet
Email and News
Other
Changing Corporate NetworkChanging Corporate NetworkApplication PredominanceApplication Predominance
2%2%
7%7%
27%27%
17%17%
39%39%
8%8%
2%2%
7%7%
27%27%
17%17%
39%39%
8%8%
13%13%
28%28%
15%15%
17%17%
12%12%
14%14%
Numbers
in Percent
Source: The Yankee Group, 1996
56
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Email
Informationsearch/access
Subscriptionservices/Push
Conferencing/multimedia
Video/imaging
250
200
150
100
50
1997 1998 1999 2000 2001
Traffic Projectionsfor Voice and Data
Rel. BitVolume
Circuit Switched Voice
Data(IP)
From 2000 on, 80% of ServiceFrom 2000 on, 80% of ServiceProvider Profits Will Be DerivedProvider Profits Will Be Derivedfrom IP-Based Services.from IP-Based Services.Source: CIMI Corp.Source: CIMI Corp.
Growth of IP TrafficGrowth of IP Traffic
Source: Multiple IXC Projections
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
29/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 2
573191056_05F9_c2 1999, Cisco Systems, Inc.
IP orIP or
VoiceVoice
ATMATM
OpticalOptical
B-ISDNB-ISDNIP or VoiceIP or Voiceover ATMover ATM
IP overIP overSONET/SDHSONET/SDH
IP overIP overOpticalOptical
IPIP
SONET/SDHSONET/SDH
OpticalOptical
ATMATM
SONET/SDHSONET/SDH
IP orIP orVoiceVoice
OpticalOptical
VoiceVoice
IPIP
OpticalOptical
High End IP Transport AlternativesHigh End IP Transport Alternatives
Lower Cost, Complexity and OverheadLower Cost, Complexity and Overhead
Multiplexing, Protection and Management at Every LayerMultiplexing, Protection and Management at Every Layer
58
319
1056_05F9_c2 1999, Cisco Systems, Inc.
H.323 Voice/VideoH.323 Voice/Video
Voice
Constant bit rate when sending
Relatively small messages (44-170 bytes)
Video
Generally high variable bit rateControlled by codec efficiency on picture
Message size is generally the MTU
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
30/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
593191056_05F9_c2 1999, Cisco Systems, Inc.
Delta Frames
KeyFrame
KeyFrame
Video: Traffic PatternVideo: Traffic Pattern
60
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Video: Effect of DelayVideo: Effect of Delay
Delta Frames
KeyFrame
KeyFrame
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
31/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
613191056_05F9_c2 1999, Cisco Systems, Inc.
Distribution of Deliveries in Time
TransmissionTime
PlaybackPoint
Unless itsToo Late
TypicalDelivery
Application Buffers Data
to Ensure Consistency
Preferred DeliveryPreferred DeliveryIntervalInterval
Video: Playback PointVideo: Playback Point
62
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Synchronization ofSynchronization of
Voice and VideoVoice and Video
McGurk effect: voice can soundgarbled to human ear when notsynchronized with video
Therefore, we have tosynchronize these
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
32/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
633191056_05F9_c2 1999, Cisco Systems, Inc.
QoS Definition for Voice:QoS Definition for Voice:
Low loss rate
Low absolute delay in two-waysituations
Broadcast voice doesnt have
this problem Low variation in delay
64
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Key Issue for Voice QoS:Key Issue for Voice QoS:
Silent periods must not be randomlyinserted or removed so as to makeother sounds unintelligible
End to end delay must becomprehended by human listener
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
33/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
653191056_05F9_c2 1999, Cisco Systems, Inc.
QoS Definition for Video:QoS Definition for Video:
Low loss rate
Low absolute delay in two-waysituations
Low variation in delay
66
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Key Issues for Video:Key Issues for Video:
All packets that comprise a videoframe must arrive during the sameframe interval
OK if its the last millisecond of thatinterval
Audio and video must besynchronized when shown to user
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
34/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
673191056_05F9_c2 1999, Cisco Systems, Inc.
How Can We Make Internet VoiceHow Can We Make Internet VoiceAct Predictably?Act Predictably?
Predictable amount of traffic inthe network
Predictable treatment of packets inrouters and switches
Planning to support these aspectsresults in a predictable network
68
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Voice/Video TrafficVoice/Video Traffic
Management IssuesManagement Issues
The fundamental problems withVoice/video traffic are
It doesnt slow down in response todelay or loss
It requires minimal variation in delay
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
35/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
693191056_05F9_c2 1999, Cisco Systems, Inc.
Predictable Amount ofPredictable Amount ofTraffic in the NetworkTraffic in the Network
The implication is that we have tocontrol used capacity
Capacity that individual calls consume
If you experience poor quality, use amore compact encoding or a lowerframe rate
Capacity that total call volume canconsume
If there isnt capacity, refusenew calls
70
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Predictable Treatment of PacketsPredictable Treatment of Packets
in Routers and Switchesin Routers and Switches
We have to place voice in queuesthat give it high priority
Maintain tight delay budgets
Application of class-based WFQ
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
36/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
713191056_05F9_c2 1999, Cisco Systems, Inc.
Planning for a Predictable NetworkPlanning for a Predictable Network
Enable CBWFQ on all relevant links
Configure voice queue with more bandwidththan traffic will need, or
For low bandwidth, priority queue [12.0(6)T]
Low speed links should use
Link Fragmentation or FRF.12
RTP compression for voice
Enable RSVP call negotiation
Refuse excess calls
72
319
1056_05F9_c2 1999, Cisco Systems, Inc.
FRF.12, and Link FragmentationFRF.12, and Link Fragmentation
and Interleavingand Interleaving
Premise:
Reducing voice packet size reducessession requirements on network
So compress out IP, UDP, and RTP
headers as much as possible
Limits jitter on lower bandwidth links
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
37/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
733191056_05F9_c2 1999, Cisco Systems, Inc.
Resource ReservationResource Reservation
Current deployment
Current extensions
Extensions being developed
74
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Current DeploymentCurrent Deployment
RSVP version 1
Call control for individual sessions
Deployed
Cisco 11.2
Microsoft Windows 98 (service pack)
Microsoft Windows NT 2000
Appropriate to edge networks
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
38/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
753191056_05F9_c2 1999, Cisco Systems, Inc.
Current ExtensionsCurrent Extensions
Policy management via COPS
LAN management via subnetbandwidth manager
76
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Policy Management Via COPSPolicy Management Via COPS
Local or centralpolicy server canauthorize decisions
Local policy:
Simple policies
Central policyserver:
Certificates,
Complex policies
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
39/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 3
773191056_05F9_c2 1999, Cisco Systems, Inc.
LAN Management Via SubnetLAN Management Via SubnetBandwidth ManagerBandwidth Manager
Subnet bandwidthmanager is RSVPin a switch
Controls aggregatereservations ona LAN
78
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Extensions Being DevelopedExtensions Being Developed
Rapid deployment of calls
Aggregate classification inedge networks
Aggregate classification and
admission in service providernetworks
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
40/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
793191056_05F9_c2 1999, Cisco Systems, Inc.
Rapid Deployment of CallsRapid Deployment of Calls
Problem: need acknowledgedreservation installation
Solution: acknowledge it
80
319
1056_05F9_c2 1999, Cisco Systems, Inc.
PSTN
PSTN
Aggregate Classification inAggregate Classification in
Edge NetworksEdge Networks
Use differentiatedservices codepoints to identifytraffic
Rather thanspecific flows
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
41/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
813191056_05F9_c2 1999, Cisco Systems, Inc.
Aggregate Classification inAggregate Classification inEdge NetworksEdge Networks
Reservation requestedby host in the usualway (RFC 2205)
Flow classificationand policing at firsthop router
Flow admission alongend to end path
Aggregate classification
and policing at
subsequent routers
82
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Voice/video calls
Placed across aggregationdomain boundary
Aggregate ClassificationAggregate Classification and Admissionand Admission
Across Service Provider NetworksAcross Service Provider Networks
Why?
Otherwise, you dontknow that bandwidthexists on a path
Aggregate reservations
Placed from ingressto egress for DSCP used
Use expeditedforwarding service
Limited rate of change
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
42/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
833191056_05F9_c2 1999, Cisco Systems, Inc.
Solving Voice/Video Issues UsingSolving Voice/Video Issues Usingthe Expedited Forwarding Servicethe Expedited Forwarding Service
Rate control
Application at source
Reservation in network
Jitter control
WFQs priority queue (low speed)Statistically empty queue (CB-WFQ)
84
319
1056_05F9_c2 1999, Cisco Systems, Inc.
The Implications forThe Implications for
Voice and VideoVoice and Video
We can control call volume
And therefore traffic volume
We can scalably prioritize traffic inthe system
And therefore deliver on latency issues So, voice and video can be managed
well with a little planning
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
43/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
85 1999, Cisco Systems, Inc.3191056_05F9_c2
Traffic Path ControlTraffic Path Control
What if IP Routing Isnt QuiteWhat if IP Routing Isnt Quite
Good Enough for Your Traffic?Good Enough for Your Traffic?
85 1999, Cisco Systems, Inc.3191056_05F9_c2
86
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Traffic EngineeringTraffic Engineering
Historical approaches
Load sharing
Routing metrics
A new oneLabel switching
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
44/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
873191056_05F9_c2 1999, Cisco Systems, Inc.
Load SharingLoad Sharing
Multipath routing
Equal and unequal cost
Multilink PPP
88
319
1056_05F9_c2 1999, Cisco Systems, Inc.
RoutingRouting
Administrative metrics
Designed to move traffic to statisticallylow volume links
Load sensitive metrics
Designed to move data away fromcongested links
Tendency towards oscillation
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
45/54
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
46/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
913191056_05F9_c2 1999, Cisco Systems, Inc.
Principles of Label SwitchingPrinciples of Label Switching
Labeled paths:
Multiple enumerated point to pointrelationships between pairs of routers
Sets of pair-wise relationships create alabeled tunnel
Conceptually similar to ATM VCs orFrame Relay DLCs, but
Interface independentUsed to model network layer constructs
Variable length packets
92
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Notice: TwoLabels on One
Interface,Distinguishing
Routes
Network Layer ConstructsNetwork Layer Constructs
Types of traffic streams
Destination routes
Source-destination routes
AS pairs
BGP community pairs
Tunnels can create
Any routing that meetsengineering needs
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
47/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
933191056_05F9_c2 1999, Cisco Systems, Inc.
Using Labeled Tunnels to CreateUsing Labeled Tunnels to CreateVirtual Private NetworksVirtual Private Networks
Imagine edgenetwork with privateaddress space
Stretch labeledtunnels across thenetwork
Now, do it again
Disjoint networks
Same address space
Separate routing
94
319
1056_05F9_c2 1999, Cisco Systems, Inc.
MPLS Traffic EngineeringMPLS Traffic Engineering
Same technology can dragspecific routes around
Several less-used paths vs afew denser paths
Initially seen as
off-line engineering Can use either
LDP or RSVP to install routes
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
48/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
953191056_05F9_c2 1999, Cisco Systems, Inc.
CoS in MPLS NetworksCoS in MPLS Networks
CClass oof SService
Roughly similar to diff-serv code point
Eight values, not sixty-four
Implements similar drop/delaymanagement within labeled tunnels
Therefore, MPLS networks havefundamental TCP QoS support
96
319
1056_05F9_c2 1999, Cisco Systems, Inc.
The Obvious HoleThe Obvious Hole
Wouldnt it be nice if engineeredlabeled tunnels could
Have specific bandwidths guaranteed?
Recover from network events quickly
and automatically using reasonable ifnot optimal routes?
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
49/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 4
973191056_05F9_c2 1999, Cisco Systems, Inc.
MPLS Routing for ResourceMPLS Routing for ResourceReservationReservation
Use OSPF/IS-IS to distributebandwidth availability information
Edge router does SPF calculationwhen needed
RSVP used to install labeled tunnel
while checking for race events CoS field used to identify traffic for
queued rate support
98
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Automated Reinstallation ofAutomated Reinstallation of
Labeled TunnelsLabeled Tunnels
RSVP tears downaffected tunnels
Edge devicesrecalculate routes
RSVP used to
re-install tunnels Bandwidth checks
result in retry
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
50/54
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
51/54
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
52/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 5
1033191056_05F9_c2 1999, Cisco Systems, Inc.
Assured Forwarding ServiceAssured Forwarding Service
Designed for TCP
Classes control rates for SLAs
Drop controls trace effects backto sources
Implement using
Committed access rate,Weighted Random Early Detection,
Class-based weighted fair queuing
104
319
1056_05F9_c2 1999, Cisco Systems, Inc.
Expedited Forwarding ServiceExpedited Forwarding Service
Appropriate to voice/video
Requires
Under-subscribed traffic classes
Reservation of bandwidthPolicing
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
53/54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.Presentation_ID.scr 5
1053191056_05F9_c2 1999, Cisco Systems, Inc.
Guiding PrinciplesGuiding Principlesfor Predictabilityfor Predictability
One must have at most a predictablepredictableamount of traffic in the network
One must have predictablepredictable trafficdelay in each network element
Given these, end-to-end delayend-to-end delay of ahost to host message is predictableis predictable
106
319
1056_05F9_c2 1999, Cisco Systems, Inc.
In Your NetworkIn Your Network
TCP-based applications, voice,and videoand yourbandwidthcan be managedwell with a little planning
-
8/14/2019 Advanced Traffic Management (QOS) Concepts
54/54
107 1999, Cisco Systems, Inc.3191056_05F9_c2
Please Complete YourPlease Complete YourEvaluation FormEvaluation Form
Session 319Session 319
1073191056_05F9_c2 1999, Cisco Systems, Inc.