1 - necessity of qos

17
 © 2006 Cisco Sy stems, Inc. All rights reserved. QoS v2.2—1-1 Understanding the Need for QoS Introducing QoS

Upload: ortiz-edgar

Post on 14-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 1/17

 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-1

Understanding the Need for QoS

Introducing QoS

Page 2: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 2/17

 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-2

Before Converged Networks

Traditional data traffic characteristics:

•  Bursty data flow

•  First-come, first-served access 

•  Mostly not time-sensitive – delays OK

•  Brief outages are survivable

Page 3: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 3/17

 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-3

After Converged Networks

Converged traffic characteristics:•  Constant small-packet voice flow competes with bursty

data flow

•  Critical traffic must get priority 

•  Voice and video are time-sensitive

•  Brief outages not acceptable

Page 4: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 4/17

 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-4

Converged Networks:Quality Issues

•  Telephone Call: “I cannot understand you; your voice is breaking up.” 

•  Teleconferencing: “The picture is very jerky.Voice not synchronized.” 

•  Brokerage House: “I needed that information two hours ago.Where is it?” 

•  Call Center: “Please hold while my screen refreshes.” 

Page 5: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 5/17

 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-5

Converged Networks:Quality Issues (Cont.)

•  Lack of bandwidth: Multiple flows compete for a limitedamount of bandwidth.

•  End-to-end delay (fixed and variable): Packets have totraverse many network devices and links that add up to

the overall delay.•  Variation of delay (jitter): Sometimes there is a lot of 

other traffic, which results in more delay.

•  Packet loss: Packets may have to be dropped when alink is congested.

Page 6: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 6/17

 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-6

Lack of Bandwidth

•  Maximum available bandwidth equals the bandwidth of the weakest link.

•  Multiple flows are competing for the same bandwidth, resulting in much lessbandwidth being available to one single application.

Bandwidth max = min (10 Mbps, 256 kbps, 512 kbps, 100 Mbps) = 256 kbpsBandwidth avail = bandwidth max / flows

Bad Voice Due toLack of BW

Page 7: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 7/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-7

Ways to Increase Available Bandwidth

•  Upgrade the link: the best solution but also the most expensive.

•  Forward the important packets first.

•  Compress the payload of Layer 2 frames (it takes time).

• Compress IP packet headers.

Page 8: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 8/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-8

End-to-End Delay

•  End-to-end delay equals a sum of all propagation, processing,and queuing delays in the path.

•  In Best-Effort networks, propagation delay is fixed, processingand queuing delays are unpredictable.

Delay = P1 + Q1 + P2 + Q2 + P3 + Q3 + P4 = X ms

Bad Voice Due toDelay Variation 

Page 9: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 9/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-9

Types of Delay

•  Processing Delay: The time it takes for a router to take the packet from an input interface,examine it, and put it into the output queue of the output interface

•  Queuing Delay: The time a packet resides in the output queue of a router 

•  Serialization Delay: The time it takes to place the “bits on the wire” 

•  Propagation Delay: The time it takes to transmit a packet

Page 10: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 10/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-10

Processing and Queuing Delay

•  Processing Delay: The time it takes for a router to take the packet from an input interface,examine it, and put it into the output queue of the output interface

•  Queuing Delay: The time a packets resides in the output queue of a router 

•  Serialization Delay: The time it takes to place the “bits on the wire” 

•  Propagation Delay: The time it takes to transmit a packet

Page 11: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 11/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-11

Types of Delay

•  Processing Delay: The time it takes for a router to take the packet from an input interface,examine it, and put it into the output queue of the output interface

•  Queuing Delay: The time a packet resides in the output queue of a router 

•  Serialization Delay: The time it takes to place the “bits on the wire” 

•  Propagation Delay: The time it takes to transmit a packet

Page 12: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 12/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-12

Ways to Reduce Delay

•  Upgrade the link; the best solution but also the most expensive.

•  Forward the important packets first.

•  Compress the payload of Layer 2 frames (it takes time).

•  Compress IP packet headers.

Page 13: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 13/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-13

Packet Loss

•  Tail drops occur when the output queue is full. These are common drops, whichhappen when a link is congested.

•  Many other types of drops exist, usually the result of router congestion, that areuncommon and may require a hardware upgrade (input drop, ignore, overrun,frame errors).

Bad Voice Dueto Packet Loss

Page 14: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 14/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-14

Ways to Prevent Packet Loss

•  Upgrade the link; the best solution but also the most expensive.

•  Guarantee enough bandwidth to sensitive packets.

•  Prevent congestion by randomly dropping less important packetsbefore congestion occurs.

Page 15: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 15/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-15

Summary

•  Traditional networks use a separate network for delay- and jitter-sensitive voice traffic. The voice network is engineeredto support the required number of calls. For data traffic,protocols like TCP have been developed to adapt to thebursty nature of a data network.

•  Converged networks that support voice, video, and datacreate new requirements for managing network traffic. QoSmeets those requirements.

•  Converged networks suffer from different quality issues,

including lack of adequate bandwidth, end-to-end andvariable delay, and lost packets.

•  Lack of bandwidth causes networks to experience differenttypes of delay, including processing delay, queuing delay,serialization delay, and propagation delay.

Page 16: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 16/17 © 2006 Cisco Systems, Inc. All rights reserved. QoS v2.2—1-16

Summary (Cont.)

•  End-to-end delay is the sum of all propagation, processing,and queuing delays.

•  Packet loss can cause applications that use TCP to slowdown. Applications that do not use TCP, such as voicetraffic, will experience poor voice quality if the packet loss istoo excessive.

•  Ways to increase the available bandwidth, decrease the delayand packet loss include:

 –  Increasing the link capacity

 –  Using QoS mechanisms such as queuing, WRED, trafficpolicing and shaping, and link efficiency mechanismssuch as payload and header compression

Page 17: 1 - Necessity of Qos

7/27/2019 1 - Necessity of Qos

http://slidepdf.com/reader/full/1-necessity-of-qos 17/17© 2006 Ci S t I All i ht d Q S 2 2 1 17