Академический Документы
Профессиональный Документы
Культура Документы
Mecanismos de QoS
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS QoS requirements of Voice, Video and Data
Mecanismos de QoS
The Pragmatic Answer: Managed Unfairness The Technical Answer: Set of techniques to manage delay, jitter, packet loss, and bandwidth for flows in a network
Mecanismos de QoS
Who Cares ?
Voice Bandwidth Random Drop Sensitive Delay Sensitive Jitter Sensitive Low to Moderate Low High High
Congestion 69%
Mecanismos de QoS
Congestion-related performance degradation has been found to cause the majority of network downtime costs
Traffic Bottlenecks
Congested Internet uplinks Slowdowns at bandwidth mismatches
LANs, WANs or VPNs
6
Mecanismos de QoS
QoS Factors
Delay
(Latency)
DelayVariation
(Jitter)
Packet Loss
Mecanismos de QoS
CONS
Short-term solution Expensive $$$ Will not guarantee applications with low latency tolerance such as VoIP and video conferencing All applications receive same service, no protection for mission-critical applications. Abundant Bandwidth isnt always Available
Mecanismos de QoS 2001, Cisco Systems, Inc.
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS
Mecanismos de QoS
10
IntServ or DiffServ
Mecanismos de QoS
11
IntServ or DiffServ
Integrated Services
Network needs to maintain each reservation all or nothing mechanism real time traffic oriented
Differentiated Services
Define limited flow classes more scalable, but provisioning
Mecanismos de QoS
12
Technique for providing QoS in TCP/IP No need for per hop signaling and flow state maintenance as required by RSVP Each network device classifies, polices and schedules packets in a flow Uses the Type of Service (ToS) byte in the IP header to identify or set the priority level 6 most significant bits of the ToS byte are called DSCP (DiffServ Code Point) 3 of these DSCP bits identify the IP Precedence
Mecanismos de QoS 2001, Cisco Systems, Inc.
13
Layer 3
ToS (DS) field in IP Header
ToS 1 Byte
ECN
IP Precedence
DSCP
Mecanismos de QoS
14
IP Precedence marks packets into eight classes: 0 = Best Effort 1-5 = User Defined 6-7 = Reserved (Network Control) DiffServ framework extends class model to 64 classes (DSCP)
Server Handset
PBX
Handset
Mecanismos de QoS
15
IP prec
ToS bits
DSCP
Former ToS byte = new DS field
ECN
DS codepoint: a specific value of the DSCP portion of the DS field, used to select a PHB DS field (rfc2474): the IPv4 header TOS octet or the IPv6 Traffic Class octet when interpreted in conformance with the definition given in [DSFIELD]. The bits of the DSCP field encode the DS codepoint, ECN bits used for host Congestion Notification (RFC3168, cscdu83511)
Mecanismos de QoS 2001, Cisco Systems, Inc.
16
EF
001010 001100 001110 010010 010100 010110 011010 011100 011110 100010 100100 100110
0 34 36 38 26 28 30 18 20 22
10
12
14
Best Effort
Mecanismos de QoS 2001, Cisco Systems, Inc.
000000
17
Mecanismos de QoS
18
19
AF PHB, An Example
AF Class 1: 001dd0 AF Class 2: 010dd0 AF Class 3: 011dd0 AF Class 4: 100dd0
dd=Drop Preference
Mecanismos de QoS
20
Class-based Marking
DSCP and IP Prec
Router(config-pmap-c)#set ip dscp ? <0-63> Differentiated services codepoint value af11 Match packets with AF11 dscp (001010) af12 Match packets with AF12 dscp (001100) af13 Match packets with AF13 dscp (001110) af42 Match packets with AF42 dscp (100100) af43 Match packets with AF43 dscp (100110) cs1 Match packets with CS1(precedence 1) dscp (001000) cs2 Match packets with CS2(precedence 2) dscp (010000) cs6 Match packets with CS6(precedence 6) dscp (110000) cs7 Match packets with CS7(precedence 7) dscp (111000) default Match packets with default dscp (000000) ef Match packets with EF dscp (101110)
Mecanismos de QoS
21
RFCs to Remember
Details of the re-use of the ToS Byte, backward compatibility with IP Precedence, etc.
2001, Cisco Systems, Inc.
Mecanismos de QoS
22
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS QoS requirements of Voice, Video and Data
23
Mecanismos de QoS
QoS components
Classifier (ACL, NBAR,CB-marking) Conditioner Policy based Routing (PBR) Committed Access Rate (CAR, CB policing) Traffic Shaping (GTS, FTRS, CB-shaper) Queuing/Scheduling Congestion management(PQ, CQ, WFQ, CBWFQ, LLQ) Congestion avoidance (wRED) Fragmentation and Interleaving (MLPPP, FRF11/12)
Mecanismos de QoS 2001, Cisco Systems, Inc.
24
Traffic Conditioning
LinkEfficiency Management
Mecanismos de QoS
25
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS QoS requirements of Voice, Video and Data
26
Mecanismos de QoS
What is Classification?
The component of a QoS feature that recognizes and distinguishes between different traffic streams The most fundamental QoS Building Block Without classification all packets would be treated the same
Mecanismos de QoS
27
What is Marking?
The component of QoS that colors a packet (or frame) so that it can be identified and distinguished from other packets (or frames) in QoS treatment 802.1p/ISL CoS, IP Precedence, DSCP, etc.
Mecanismos de QoS
28
Classification Tools
Len
ID
Offset
TTL
Proto
FCS
IP SA
IP DA
Data
IPv4 Packet
7 6 5 4 3 2 Unused IP ECN 1 0
IP Precedence
IPv4: Three most significant bits of ToS byte are called IP Precedence (IPP)other bits unused DiffServ: Six most significant bits of ToS byte are called DiffServ Code Point (DSCP)remaining two bits used for flow control DSCP is backward-compatible with IP precedence
Mecanismos de QoS 2001, Cisco Systems, Inc.
29
Classification Tools
PRI
CFI
VLAN ID CoS
7
802.1p user priority field also called Class of Service (CoS) Different types of traffic are assigned different CoS values CoS 6 and 7 are reserved for network use
6 5 4 3 2 1 0
Mecanismos de QoS
SHAPING/COMPRESSION/ FRAGMENTATION/INTERLEAVE
Mecanismos de QoS
31
WAN
Mecanismos de QoS
32
Per-Hop Behavior
A Per-Hop Behavior (PHB) is a description of the externally observable forwarding behavior of a DS node applied to a set of packets with the same DSCP PHB may be defined in terms of their resources priority relative to others PHBs (Class A gets 50% more bandwidth than Class B) or the observable traffic characteristics (delay, loss, etc.) PHB defined in terms of behavior characteristics; does NOT mandate particular implementation mechanisms!
Mecanismos de QoS
33
Class-Based Marking Network-Based Application Recognition (NBAR) Policy-Based Routing (PBR) Access Control List / Route-Map Dial Peers Committed Access Rate (CAR)
Mecanismos de QoS
34
interface Ethernet0/0
ip policy route-map lab
access-list 101 permit tcp any host 10.22.1.10 route-map lab permit 10
match ip address 101 set ip precedence 4
Mecanismos de QoS
35
Mecanismos de QoS
36
Matching specification:
1) All traffic 2) IP precedence 3) MAC address 4) IP access list
Conform Action:
Drop, Transmit, Recolor
Exceed Action:
Drop, Transmit, Recolor
Action Policy
37
interface Serial4/0 bandwidth 2000 ip address 23.1.0.1 255.255.0.0 rate-limit output access-group 101 1544000 289500 579000 conform-action set-prec-transmit 3 exceedaction set-prec-transmit 0 access-list 101 permit udp host 15.1.0.5 host 23.1.0.2 No packets will be dropped in this example!
Mecanismos de QoS
38
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS QoS requirements of Voice, Video and Data
39
Mecanismos de QoS
Traffic Shaping
Internet Service Provider (ISP) Cloud
T1 Central Site
Reduces outbound traffic flow to avoid congestion (via buffering) Eliminates bottlenecks in topologies with data rate mismatch Provides mechanism to partition interfaces to match farend requirements
Mecanismos de QoS 2001, Cisco Systems, Inc.
40
Packet path: When a packet arrives at the interface for transmission, the following happens: if the SHAPING queue is empty, the arriving packet is processed by the traffic shaper. 1. If possible, the traffic shaper sends the packet to the OUTPUT queue. (Means if number of bits allowed during Tc is not reached) 2. Otherwise, the packet is placed in the SHAPING queue and sent in next Tc. If the SHAPING queue is not empty, the packet is placed in the shaping queue.
When there are packets in the SHAPING queue, the traffic shaper removes the number of packets it can transmit from the SHAPING queue every time interval.
Mecanismos de QoS
41
Token/leaky bucket
B - Burst size max in bits = bucket size R Overflow Tokens excess R - Token arrival rate. In practice: add an increment of tokens every Tc or every time a packet arrive YES: Conform (transmit at line rate)
Packets arriving
42
Token/leaky bucket
bucket is filled at defined rate with tokens (at each Tc or elapsed time between incoming pkts) Incoming Packets take available tokens in bucket Packets can to take up to burst bits (excess burst is just a 2nd bucket mechanism) If no credits in bucket, packet gets dropped (policer) or queued (shaper)
Mecanismos de QoS
43
Both ensure that traffic does not exceed a (contracted) BW limit Both limit BW but with different impact on traffic Policing drops more often - more retransmits Shaping adds variable delay (buffering) Policer causes TCP Retransmits Oscillation of Windows in TCP Policer can be a Marker also
Mecanismos de QoS
44
Policer on input or output interface; Shaper on output interface Shaper smooth traffic, policer allows bursts Shaper can adapt to Network congestion (BECN, FECN) Shaper create shaping queues (can be use as a congestion mechanism in virtual intf like tunnel)
Mecanismos de QoS
45
Traffic
Traffic
Traffic Rate
Policing
Traffic Rate
Time
Time
Traffic
Traffic Rate
Traffic
Shaping
Traffic Rate
Time
Time
Mecanismos de QoS
46
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS QoS requirements of Voice, Video and Data
47
Mecanismos de QoS
Queuing Algorithms
First In, First Out (FIFO) Priority Queuing (PQ) Custom Queuing (CQ) Weighted Fair Queuing (WFQ) Class-Based Weighted Fair Queuing (CBWFQ) Low Latency Queuing (LLQ)
Mecanismos de QoS
48
Interface Congested? No
Transmit Queue
Mecanismos de QoS
49
Simplest Queuing Algorithm packets leave in order of arrival Fixed Queue Lengths (default 40) Result in dropping from tail of queue under load
Mecanismos de QoS
50
Congestion Management
Prioritize traffic by re-ordering buffers on congested interfaces
Session Session Session Session 1 2 3 4 SNA HTTP SQLnet FTP
Mecanismos de QoS
The TheQoS QoSfeature featurecomponent componentthat thatdetermines determines how howoutput outputqueues queuesare areserviced serviced Scheduling Schedulingalgorithms algorithmsre-order re-ordertransmit transmit queues queuesto tooffer offerpriority priorityservice serviceto tospecified specified flows flows When Whenthere thereis isno nocongestion, congestion,the thenet neteffect effectis is simply simplyFIFO FIFO When Whenthere thereis iscongestion, congestion,scheduling schedulingis isthe the primary primaryQoS QoSaction actioncomponent component
Mecanismos de QoS 2001, Cisco Systems, Inc.
52
53
Classify
3 4 5 Up to 16
Weighted Round Robin Scheduling (byte count) Allocate Proportion of Link Bandwidth
54
Control Traffic
Queue #0 Queue #1 Queue #9 Queue #10 Queue #2 Queue #3 Queue #11 Queue #12 Queue #4 Queue #5 Queue #13 Queue #6 Queue #14 Queue #15 Queue #7 Queue #8 Queue #16 Transmission Queue
Mecanismos de QoS 2001, Cisco Systems, Inc.
55
Mecanismos de QoS
56
Custom Queuing - CQ Priority Queuing (PQ) 10% FIFO Fair Queuing - WFQ Weighted
15% FIFO 30% FIFO
High Robin service Round to multiple queues Medium Preference given by dispatching Splits traffic into flows more traffic Normal (default) in a given cycle Gives preference to low-volume, intermittent, traffic Low
57
Fair Queuing
24-kbps Flow Gets 28-kbps
(Only Needs 24 kbps)
Processor
2 2 2
1 2 2 2 2
2 1
Classify
Source address Dest address Source port Dest port IP precedence
Transmit Scheduling
Mecanismos de QoS
58
1 1
Reserved Queues
(RSVP and RTP Reserve)
Packets within the same weight are scheduled based on arrival time Default on serial Routing protocols and LMI bypass WFQ algorithm ALL RSVP traffic queued at weight 4, not just voice
Mecanismos de QoS
...
2 2 2 3
IP Precedence 7
De-queue
...
4 4 5 5
6 6
...
...
links E1 or less
59
CBWFQ
Mecanismos de QoS
60
OR
5 5
...
2 2 2 3
De-Queue
Default Class-Queue
Classify
...
6 6 6
WFQ System
(Unclassified Traffic)
Mecanismos de QoS
61
62
Benefits: Benefits:
Minimum Minimumbandwidth bandwidthallocation allocation Finer Finergranularity granularityand andscalability scalability MQC MQCinterface interfaceis iseasy easyto touse use
Mecanismos de QoS 2001, Cisco Systems, Inc.
63
Step 2: Define Bandwidth Weights guarantee minimum bandwidth Unused capacity is shared among the other classes Each queue can be separately configured for QoS
Benefits:
Maximize transport of priority traffic No wasted bandwidth as with PVCs Bandwidth allocation Finer granularity and scalability Modular QoS CLI (MQC) is easier to use
Mecanismos de QoS 2001, Cisco Systems, Inc.
64
Tail-drop/WRED BW given; weights derived Minimum BW guarantee Policing on incoming traffic Easy MQC configuration Default: 75% of BW allocatable Classify by ACL, protocol, interface Unused BW shared
65
Mecanismos de QoS
75 Percent Rule
Add Addup: up: Class Classbandwidths bandwidths RSVP RSVPmaximum maximum reserved reservedbandwidth bandwidth
75%
Result Resultmust mustbe beless lessthan thanor orequal equalto to75% 75%of of interface interfacebandwidth bandwidth(or (orFR FRDLCI DLCIMinCIR) MinCIR) Leaves Leavesheadroom headroomfor forcall callsignaling, signaling,SNMP, SNMP, management management(LMI) (LMI)and androuting routingtraffic traffic Max-reserved-bandwidth Max-reserved-bandwidth command commandoverrides overrides75% 75% limit, limit,but butbe becareful! careful!
2001, Cisco Systems, Inc.
Mecanismos de QoS
66
Router(config)# Router(config)# class-map class-map class1 class1 Router(config-cmap)# Router(config-cmap)# match match input-interface input-interface FastEthernet0/1 FastEthernet0/1 This is the policy ! ! for the traffic we Router(config)# Router(config)# policy-map policy-map policy1 policy1 care about. Router(config-pmap)# Router(config-pmap)# class class class1 class1 Router(config-pmap-c)# Router(config-pmap-c)# bandwidth bandwidth 1000 1000 This is where Router(config-pmap-c)# Router(config-pmap-c)# random-detect random-detect we enforce ! ! the policy. Router(config)# interface serial0/0 Router(config)# interface serial0/0 Router(config-if)# Router(config-if)# service-policy service-policy output output policy1 policy1
Mecanismos de QoS
67
IP RTP Priority
15% WFQ 10% WFQ 30% WFQ 5% WFQ 25% WFQ 15% WFQ
Mecanismos de QoS 2001, Cisco Systems, Inc.
CBWFQ
LLQ (PQ-CBWFQ)
68
A possible implementation of EF
Voice Queue Class 1 Strict Priority Scheduling
Classify
PQ PQ
Class 2 Class 3
Transmit Queue
Output Line
CBQ CBQ
Interface Hardware Ethernet Frame Relay ATM Serial Link Etc.
Classification by: ACL Protocol type Incoming Interface (EO, SO, S1, etc.) MPLS EXP field
CBWFQ
69
LLQ Benefits
Consistent Consistent configuration configuration and and operation operation across across all all media media types types
Frame FrameRelay Relay Leased Leasedlines lines ATM ATM
Entrance Entrance criteria criteria to to a a class class can can be be defined defined by by an an ACL ACL
Not Notlimited limitedto toUDP UDPports portsas aswith withIP IPRTP RTPpriority priority Use Useof ofIP IPRTP RTPpriority priorityshould shouldbe bephased phasedout out Ensure Ensuretrust trustboundary boundaryis isdefined definedto toensure ensuresimple simple classification classificationand andentry entryto toa aqueue queue
Mecanismos de QoS 2001, Cisco Systems, Inc.
70
Router(config)# policy-map wan_policy Router(config-pmap)# class Gold Router(config-pmap-c)# priority 512 Router(config-pmap)# exit Router(config-pmap)# class Silver Router(config-pmap-c)# bandwidth 256 Router(config-pmap)# exit Router(config-pmap)# class class-default Router(config-pmap-c)# fair-queue 10
Mecanismos de QoS
71
One Priority Queue (PQ) Multiple Priority Classes PQ min b/w guarantee + rate limiting
Mecanismos de QoS
72
Disadvantages Potential protocol starvation Must create policy statements on the interface Cannot guarantee bandwidth for any class; too fair if many flows No priority queue Limited to UDP/RTP ports; no per-call call admission Classification not automatic
Mecanismos de QoS
73
Queuing Summary
PQ CQ WFQ
IP Prec, RSVP, protocol, port Per flow Fair (weight, arrival time) No No Last resort
CBWFQ
Classification
Protocol, interface
Protocol, interface
Mod CLI
16 Roundrobin No No
Yes Yes
Yes
No
No
No
74
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS QoS requirements of Voice, Video and Data
75
Mecanismos de QoS
Without RED when the queue fills up ALL packets that arrive are droppedTail drop With RED as oppose to doing a tail drop the router monitors the average queue size and using randomization choose connections to notify that a congestion is impending
Mecanismos de QoS 2001, Cisco Systems, Inc.
76
RED
The average queue size is calculated based on the previous average and the current size of the queue Avg = (old_avg * (1 - 1/2^n)) + current_queue_size * 1/2^n) n exponential-weight-constant keyword P: drop probability prob = mark_prob * (avg - min_th) / (max_th - min_th) default mark_prob = 1/10
Mecanismos de QoS
77
weighted RED
Two drop slopes are shown; Up to eight can be defined
Prec 0 drop profile Slope is adjustable Prec 1 drop profile Queue Length
Max0/max 1
IP Prec 0 Min.
IP Prec 1 Min.
Configure min and max threshold per IPprec (or per DSCP drop pref)
Mecanismos de QoS 2001, Cisco Systems, Inc.
78
100%
Queue Utilization
Time Tail Drop 3 Traffic Flows Start at Different Times Another Traffic Flow Starts at This Point
Mecanismos de QoS
79
wRED
Dropping a message is a way of telling the sender to slow down Randomly drop (instead of tail drop) avoid global synchronization Weighted drop thresholds based on IP Prec Good for TCP traffic
Mecanismos de QoS
80
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS QoS requirements of Voice, Video and Data
81
Mecanismos de QoS
Transmit Queue
Output Line
IP Voice Jumbogram
WFQ Large Packet Fragmentation: Fragment Size Based on Required Delay
82
Link-Specific Tools
Voice
Data
Data
Data
Data
Voice
Data
Serialization delay is the finite amount of time required to put frames on a wire For links 768 kbps serialization delay is a major factor affecting latency and jitter For such slow links, large data packets need to be fragmented and interleaved with smaller, more urgent voice packets
Mecanismos de QoS 2001, Cisco Systems, Inc.
83
Link-Specific Tools
IP Header
20 Bytes
UDP Header
8 Bytes
RTP Header
12 Bytes
cRTP Reduces L3 VoIP BW by: ~ 20% for G.711 ~ 60% for G.729
2-5 Bytes
Mecanismos de QoS
84
Fragment 4 Fragment 3
Voice 2
Fragment 2
Voice 1
Fragment 1
Line overhead Segmentation/reassembly overhead (ppp multilink or FRF12 overhead) Fragment all packets greater than fragment size defined Interleave packets from OTHER queues
Mecanismos de QoS
85
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS QoS requirements of Voice, Video and Data
86
Mecanismos de QoS
Service Provider
Branch Offices
MPLS Provider
CPE IP MPLS CPE IP
IPSec VPN
IPSec Encrypted Tunnel
IP Provider
CE IP
Mecanismos de QoS 2001, Cisco Systems, Inc.
PE IPSec
PE
CE IP
87
Label = 20 bits Exp = Experimental, 3 bits S = Bottom of stack, 1bit TTL = Time to live, 8 bits
Two methods are possible Single LSP per QoS FEC: E-LSP
use EXP field in MPLS header to select Diff-Serv queue By default IP prec copied in EXP labels (cisco) By default exp is not copied down (in label below or prec)
88
Service Provider
89
Mecanismos de QoS
90
PE Router
MPLS VPN
PE-to-CE Queuing/Shaping/LFI Required Optional
Mecanismos de QoS
91
Agenda
What is QoS? QoS Service Types QoS Components Classification & Marking Traffic Shapping x Policing Queuing Algorithms Congestion Avoidance Link Efficiency Management QoS and MPLS QoS requirements of Voice, Video and Data
92
Mecanismos de QoS
CB Zone Satellite Quality High Quality 0 100 200 300 400 500 Fax Relay, Broadcast 600 700 800
Time (msec)
Delay Target
93
PSTN IP WAN
Campus Branch Office
CODEC
Queuing
Serialization
Jitter Buffer
G.729A: 25 ms
Variable
Variable
2050 ms
94
Cisco DSP codecs can use predictor algorithms to compensate for a single lost packet in a row Two lost packets in a row will cause an audible clip in the conversation
95
Mecanismos de QoS
PSTN
Physical Trunks
Third Call Rejected
Router/ Gateway
No Physical Limitation on IP Links If 3rd Call Accepted, Voice Quality of All Calls Degrades
PBX
STOP
96
30pps
15pps
I frame is a full sample of the video P and B frames use quantization via motion vectors and prediction algorithms
Mecanismos de QoS 2001, Cisco Systems, Inc.
97
65128 Bytes 1%
257512 Bytes 8%
Mecanismos de QoS 2001, Cisco Systems, Inc.
98
Oracle
064 Bytes 65127 Bytes 128252 Bytes 253511 Bytes 5121023 Bytes
SAP R/3
10241518 Bytes 5121023 Bytes
064 Bytes
10241518 Bytes
253511 Bytes
128252 Bytes
65127 Bytes
Mecanismos de QoS
99
500,000 400,000 300,000 200,000 100,000 0 SAP GUI, SAP GUI, SAP GUI, SAP GUI Release Release Release (HTML), 3.0F 4.6C, with 4.6C, no Release Cache Cache 4.6C
Same transaction takes over 35 times more traffic from one version of an application to another
Mecanismos de QoS 2001, Cisco Systems, Inc.
100
Voice
Latency 150 ms Jitter 30 ms Loss 1% 17106 kbps guaranteed priority bandwidth per call 150 bps (+ Layer 2 overhead) guaranteed bandwidth for Voice-Control traffic per call CAC must be enabled
Smooth Benign Drop sensitive Delay sensitive UDP priority
101
One-Way Requirements
Mecanismos de QoS
Video
Latency 150 ms Jitter 30 ms Loss 1% Minimum priority bandwidth guarantee required is:
Video-stream + 20% e.g. a 384 kbps stream would require 460 kbps of priority bandwidth
One-Way Requirements
Mecanismos de QoS
102
Different applications have different traffic characteristics Different versions of the same application can have different traffic characteristics Classify data into four/five data classes model:
Mission-critical apps Transactional/interactive apps Bulk data apps Best effort apps
Mecanismos de QoS 2001, Cisco Systems, Inc.
Data
103
Use four/five main traffic classes: Mission-critical appsbusiness-critical client-server applications Transactional/interactive appsforeground apps: clientserver apps or interactive applications Bulk data appsbackground apps: FTP, e-mail, backups, content distribution Best effort apps(default class) Optional: Scavenger appspeer-to-peer apps, gaming traffic Additional optional data classes include internetwork-control (routing) and network-management Most apps fall under best-effort, make sure that adequate bandwidth is provisioned for this default class
Mecanismos de QoS 2001, Cisco Systems, Inc.
104
Conclusions
QoS not inherent to network no BW creation, requires provisioning Requires for each flow:
Classification, metering, and congestion control
Mecanismos de QoS
105
Questions?
Mecanismos de QoS
106
Obrigado !!
NMS-2T30 9681_05_2004_c2 Mecanismos de QoS
2001, Cisco 2004 Systems, Cisco Systems, Inc. Inc. All rights reserved.
107