24
CSIS 4823 Data Communications Networking – QoS Mr. Mark Welton

CSIS 4823 Data Communications Networking – QoS

  • Upload
    alida

  • View
    44

  • Download
    0

Embed Size (px)

DESCRIPTION

CSIS 4823 Data Communications Networking – QoS. Mr. Mark Welton. Quality of Service. Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it - PowerPoint PPT Presentation

Citation preview

Page 1: CSIS 4823 Data Communications Networking –  QoS

CSIS 4823Data Communications

Networking – QoSMr. Mark Welton

Page 2: CSIS 4823 Data Communications Networking –  QoS

Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it

QoS allows certain types of traffic to be given a higher priority than other traffic

Fundamental purpose of QoS is to determine which traffic should be given priority

Quality of Service

Page 3: CSIS 4823 Data Communications Networking –  QoS

Recall: When the rate of bits being sent to a link

exceeds the line rate (called?) The interface on the router buffers as many

of the packets as possible Then the interface begins dropping packets

(called?)

Quality of Service

Page 4: CSIS 4823 Data Communications Networking –  QoS

QoS helps to deal with congestion QoS can not deal with continued saturation It can get important traffic through a

saturated link It will never turn a T1 into a DS3

Quality of Service

Page 5: CSIS 4823 Data Communications Networking –  QoS

Transport Layer protocols behave differently on congested networks

TCP - connection-oriented, sender/receiver adapt to network conditions and can resend lost packets◦ TCP-based applications are generally not

sensitive to lost packets◦ What are some examples?

Quality of Service

Page 6: CSIS 4823 Data Communications Networking –  QoS

UDP – connectionless, no error checking, no notification of loss packets◦ UDP-based applications can be sensitive to lost

packets◦ Examples???

Quality of Service

Page 7: CSIS 4823 Data Communications Networking –  QoS

Queues◦ FIFO – first in first out◦ WFQ - Cisco proprietary, Weighted Fair Queuing◦ CBWFQ – Class Based WFQ, creates classes of traffic

that each have a priority and each class queue uses WFQ

◦ Priority - queues created and traffic is serviced in highest priority queue first

◦ Low Latency queuing – a CBWFQ with strict priority queue. Preferred method for voice networks

◦ Traffic Shaping – monitors traffic, and when a configured threshold is met, packets are queued until a point where we want them to be sent

Quality of Service

Page 8: CSIS 4823 Data Communications Networking –  QoS

QoS Mechanics Marking - deciding what priority a packet

should be and labeling it accordingly Policing – the actions the router takes

based on how the packets are marked Scheduling – the interface actually serving

the packets in the order determined by how the marked packets are policed

Quality of Service

Page 9: CSIS 4823 Data Communications Networking –  QoS

Two primary types of IP prioritization used at Layer 3 (what device is implementing this?)◦ IP precedence

Defined in RFC 795◦ Differential services

Defined in RFC 2474 Both use the type of service (TOS) field in a

IP packet

Quality of Service

Page 10: CSIS 4823 Data Communications Networking –  QoS

Class of service (CoS) is a Layer-2 form of QoS

CoS works under the same principles as IP precedence

The values are stored in the 802.1P frame header not the IP header

What does this mean???

Quality of Service

Page 11: CSIS 4823 Data Communications Networking –  QoS

CoS IP precedence DSCP Name0 0 0-7 Routing (Best

Effort)1 1 8-15 Priority2 2 16-23 Immediate3 3 24-31 Flash4 4 32-39 Flash-override5 5 40-47 Critical6 6 48-55 Internet7 7 56-63 Network

Quality of Service

Page 12: CSIS 4823 Data Communications Networking –  QoS

Traffic policing vs. Traffic-shaping Traffic policy deals with what type of traffic

should given priority over other traffic◦ If the traffic is not given priority and the link is

congested then it will be dropped Traffic-shaping will “delay” traffic and deliver

it “late”◦ It will attempt to queue the traffic that would be

dropped and deliver it as the link is not congested

NOTE: I have over simplified this description to help make it easier to understand

Quality of Service

Page 13: CSIS 4823 Data Communications Networking –  QoS

Traffic policing vs. Traffic-shaping

Quality of Service

Page 14: CSIS 4823 Data Communications Networking –  QoS

So what happens if I have a DS3 in my data center and my branch office haves a T1on a frame relay network?

So what happens if I have a DS3 in my data center and my branch office haves a T1on a MPLS network?

Quality of Service

Page 15: CSIS 4823 Data Communications Networking –  QoS

A DS3 is 28 T1s So a DS3 gives you more bandwidth? In Frame relay each end of a DLCI is defines

with a bandwidth setting (throughput) What does MPLS do?

Quality of Service

Page 16: CSIS 4823 Data Communications Networking –  QoS

We increase the “frequency” that a bit can be sent which increases the throughput

This is also true for other media◦ CAT 5, CAT 5E, CAT 6, Fiber

Quality of Service

Page 17: CSIS 4823 Data Communications Networking –  QoS

Quality of Service

Page 18: CSIS 4823 Data Communications Networking –  QoS

If we send the traffic at DS3 speed to the T1 the queue will fill and packets will be dropped

Quality of Service

Page 19: CSIS 4823 Data Communications Networking –  QoS

If we “hold” the packets back at the DS3 and send them at a speed the T1 can handle we will not fill the queue and not drop packets

Quality of Service

Page 20: CSIS 4823 Data Communications Networking –  QoS

Problems???? Possibly

◦ As long as we do not hold the packets too long◦ Bufferbloat

Time for you to do some work What is bufferbloat tech talk http://en.wikipedia.org/wiki/Bufferbloat http://packetpushers.net/show-125-bufferbloat-

what-can-you-do-today-to-suffer-less-2/

Quality of Service

Page 21: CSIS 4823 Data Communications Networking –  QoS

“QoS “Carves Up” a Link into Smaller Logical Links”◦ “If I set a policy to give 10% of a link to voice then

I have reserved this to only be used by voice traffic”

◦ WRONG – it will use this policy only during times of congestion

◦ When congestion is not present the link will work as normal

Common QoS Misconceptions

Page 22: CSIS 4823 Data Communications Networking –  QoS

“QoS Limits bandwidth”◦ WRONG - QoS guarantees a queue will get priority

of some traffic over others during time of congestion

◦ If a QoS setting sets FTP to 10% of the link if congestion does not exist it will receive all the link it asks for

Common QoS Misconceptions

Page 23: CSIS 4823 Data Communications Networking –  QoS

“QoS resolves a need for more bandwidth”◦ WRONG - the best QoS can do is to prioritize

which packets should be sent first, which also means it’s determining which packets can be dropped!

◦ If you have a T1 and you’re trying to shove 20 Mbps through it, it doesn’t matter how you prioritize and queue your packets, you’re going to drop a lot of them

Common QoS Misconceptions

Page 24: CSIS 4823 Data Communications Networking –  QoS

“QoS prevents packets from being dropped”◦ WRONG – What QoS will do for you is help you get

the important packets through so that only the less important packets get dropped

◦ Traffic shaping can prevent packets from being dropped (assuming certain buffers are not similarly saturated), though this gets complicated

Common QoS Misconceptions