Professional Documents
Culture Documents
Advanced Traffic Management (QOS) Concepts
Advanced Traffic Management (QOS) Concepts
319 1056_05F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Introduction
Traffic Management Applications and Transports So what Are the Issues for
TCP Voice on IP Video (Broadcast and Teleconferencing)
319 1056_05F9_c2
1999, Cisco Systems, Inc.
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
319 1056_05F9_c2
In a network that
Keeps intelligence at the edges Scales to necessary sizes and bandwidths Minimizes complexity Uses cost-effective technologies
319 1056_05F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Traffic path control Queue depth management Queue rate management Permission to use a link
319 1056_05F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
2002E
319 1056_05F9_c2
10
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
TCP-based applications, voice, and video can be managed well with a little planning
319 1056_05F9_c2
11
12
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Definition of Predictable
13
14
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Voice will send only and exactly as fast as the coding algorithm permits
We say it is inelastic
319 1056_05F9_c2
1999, Cisco Systems, Inc.
15
16
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Examples of Unpredictability
Queues change rapidly enough that the distribution cannot be described Discards happen frequently enough that there is effectively no upper bound on delivery time
319 1056_05F9_c2
17
Examples of Predictability
Classes of queues get sufficient service that ultimate arrival is timely and normal
Timely is an application concept
319 1056_05F9_c2
18
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
319 1056_05F9_c2
19
20
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
10
319 1056_05F9_c2
21
22
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
11
23
When in receipt of next message, schedules an ACK When in receipt of something else, acknowledges all it can immediately
319 1056_05F9_c2
1999, Cisco Systems, Inc.
+1 kN Ac 1 + kN Ac 1 N+ ck A
24
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
12
N+ 1
+1 kN Ac 1 + kN Ac +1 kN Ac
+4 kN Ac
25
N N+ N+1 2 N+ 3 +1 N+ 4 ck N A +1 kN Ac +1 kN Ac N+ 1
4 N+ ck A
N+ 4
5 N+ ck A
26
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
13
One must have at most a predictable amount of traffic in the network One must have predictable traffic delay in each network element Given these, end-to-end delay of a host to host message is predictable
319 1056_05F9_c2
1999, Cisco Systems, Inc.
27
Router needs to
Provide predictable treatment of packets Queue delay and drop characteristics
319 1056_05F9_c2
1999, Cisco Systems, Inc.
28
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
14
29
Session Synchronization
Session synchronization results from synchronized losses Tail drop from waves of traffic synchronizes losses
319 1056_05F9_c2
1999, Cisco Systems, Inc.
30
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
15
RED Enabled
31
RED Enabled
No, heres what happened that week Session synchronization reduced throughput until RED enabled
319 1056_05F9_c2
1999, Cisco Systems, Inc.
32
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
16
350
300
250
200
150
100
Ns RTT
50
0 Elapsed Time Mean RTT Min RTT Max RTT STD DEV
319 1056_05F9_c2
33
350
300
250
Additional Capacity to Absorb Bursts Mean Latency Correlates with Minimum Drop Threshold
Elapsed Time Mean RTT Min RTT Max RTT STD DEV
Ms RTT
200
150
100
50
319 1056_05F9_c2
34
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
17
Normally at most one drop per round trip Mean variation in latency bounded by predictable network
319 1056_05F9_c2
35
>80% of all TCP traffic results from <10% of the sessions, in high rate bursts
It is these that we worry about managing
319 1056_05F9_c2
1999, Cisco Systems, Inc.
36
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
18
37
Applications
Often have site-specific policy associated with them Traffic often identifiable by port numbers
Sites
Generally identifiable by address prefix or interface traffic is received on
319 1056_05F9_c2
1999, Cisco Systems, Inc.
38
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
19
Particular site or application wants at least a certain bandwidth Particular site or application wants at most a certain bandwidth Particular site or application wants to average about a certain bandwidth
319 1056_05F9_c2
1999, Cisco Systems, Inc.
39
Classifier
Queues
Interface
40
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
20
Managed Link
Example:
Several organizations share cost of link Distribute bandwidth proportional to fiscal responsibility
319 1056_05F9_c2
1999, Cisco Systems, Inc.
41
42
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
21
Intranet exposure
Limit rate of web surfing outside the company
T-1
64 KBPS
319 1056_05F9_c2
43
44
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
22
45
46
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
23
Assured Service
70% 60%
Usage
0 10 20 30 40 50 60 70 80 90
Time
47
319 1056_05F9_c2
48
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
24
Line Congested and Packet Out of Profile? Profile Drop at Some Rate!
319 1056_05F9_c2
49
319 1056_05F9_c2
50
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
25
319 1056_05F9_c2
51
Traffic can be contained to a rate in a manner consistent with good quality of service Traffic can be managed well with a little foresight and planning
319 1056_05F9_c2
52
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
26
319 1056_05F9_c2
53
TCP-based applications, voice, and video can be voice managed well with a little planning
319 1056_05F9_c2
54
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
27
100 80 60
Multimedia Dynamic WWW Static WWW FTP and Telnet Email and News Other
40 20 0
319 1056_05F9_c2
39%
39% 17% 8%
17% 8%
1996
Source: The Yankee Group, 1996
1999, Cisco Systems, Inc.
1998
2000
55
Growth of IP Traffic
Email Information search/access Subscription services/Push Conferencing/ multimedia Video/imaging
From 2000 on, 80% of Service Provider Profits Will Be Derived from IP-Based Services. Source: CIMI Corp.
319 1056_05F9_c2
1997
1998
1999
2000
2001
56
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
28
57
H.323 Voice/Video
Voice
Constant bit rate when sending Relatively small messages (44-170 bytes)
Video
Generally high variable bit rate Controlled by codec efficiency on picture Message size is generally the MTU
319 1056_05F9_c2
1999, Cisco Systems, Inc.
58
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
29
Key Frame
Key Frame
Delta Frames
319 1056_05F9_c2
59
Key Frame
Key Frame
Delta Frames
319 1056_05F9_c2
60
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
30
McGurk effect: voice can sound garbled to human ear when not synchronized with video Therefore, we have to synchronize these
319 1056_05F9_c2
62
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
31
63
Silent periods must not be randomly inserted or removed so as to make other sounds unintelligible End to end delay must be comprehended by human listener
319 1056_05F9_c2
64
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
32
Low loss rate Low absolute delay in two-way situations Low variation in delay
319 1056_05F9_c2
65
All packets that comprise a video frame must arrive during the same frame interval
OK if its the last millisecond of that interval
66
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
33
Predictable amount of traffic in the network Predictable treatment of packets in routers and switches Planning to support these aspects results in a predictable network
319 1056_05F9_c2
1999, Cisco Systems, Inc.
67
319 1056_05F9_c2
68
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
34
69
319 1056_05F9_c2
70
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
35
71
Premise:
Reducing voice packet size reduces session requirements on network So compress out IP, UDP, and RTP headers as much as possible
72
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
36
Resource Reservation
319 1056_05F9_c2
73
Current Deployment
RSVP version 1
Call control for individual sessions Deployed Cisco 11.2 Microsoft Windows 98 (service pack) Microsoft Windows NT 2000
74
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
37
Current Extensions
Policy management via COPS LAN management via subnet bandwidth manager
319 1056_05F9_c2
75
76
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
38
319 1056_05F9_c2
77
Rapid deployment of calls Aggregate classification in edge networks Aggregate classification and admission in service provider networks
319 1056_05F9_c2
1999, Cisco Systems, Inc.
78
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
39
319 1056_05F9_c2
79
PSTN
319 1056_05F9_c2
80
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
40
81
Aggregate reservations
Placed from ingress to egress for DSCP used Use expedited forwarding service Limited rate of change
319 1056_05F9_c2
1999, Cisco Systems, Inc.
Why?
Otherwise, you dont know that bandwidth exists on a path
82
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
41
Solving Voice/Video Issues Using the Expedited Forwarding Service Rate control
Application at source Reservation in network
Jitter control
WFQs priority queue (low speed) Statistically empty queue (CB-WFQ)
319 1056_05F9_c2
1999, Cisco Systems, Inc.
83
So, voice and video can be managed well with a little planning
319 1056_05F9_c2
1999, Cisco Systems, Inc.
84
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
42
85
Traffic Engineering
Historical approaches
Load sharing Routing metrics
A new one
Label switching
319 1056_05F9_c2
86
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
43
Load Sharing
Multipath routing
Equal and unequal cost
Multilink PPP
319 1056_05F9_c2
87
Routing
Administrative metrics
Designed to move traffic to statistically low volume links
88
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
44
Utility of These:
319 1056_05F9_c2
89
90
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
45
91
92
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
46
93
Initially seen as off-line engineering Can use either LDP or RSVP to install routes
319 1056_05F9_c2
1999, Cisco Systems, Inc.
94
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
47
Implements similar drop/delay management within labeled tunnels Therefore, MPLS networks have fundamental TCP QoS support
319 1056_05F9_c2
1999, Cisco Systems, Inc.
95
96
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
48
97
98
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
49
Q.E.D. MPLS
Traffic engineering for network layer traffic can be managed well with a little planning
319 1056_05F9_c2
99
319 1056_05F9_c2
100
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
50
Network Engineering
Capacity engineering
Engineered IP routes?
319 1056_05F9_c2
102
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
51
Implement using
Committed access rate, Weighted Random Early Detection,
319 1056_05F9_c2
103
104
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
52
One must have at most a predictable amount of traffic in the network One must have predictable traffic delay in each network element Given these, end-to-end delay of a host to host message is predictable
319 1056_05F9_c2
1999, Cisco Systems, Inc.
105
In Your Network
TCP-based applications, voice, and videoand your bandwidthcan be managed well with a little planning
319 1056_05F9_c2
106
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
53
319 1056_05F9_c2
107
319 1056_05F9_c2
108
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
54