Mr. Mark Welton. Quality of Service is deployed to prevent data from saturating a link to the point...
-
Upload
bertram-patterson -
Category
Documents
-
view
212 -
download
0
Transcript of Mr. Mark Welton. Quality of Service is deployed to prevent data from saturating a link to the point...
![Page 1: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/1.jpg)
CSIS 4823Data Communications
Networking – QoSMr. Mark Welton
![Page 2: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/2.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/3.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/4.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/5.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/6.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/7.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/8.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/9.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/10.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/11.jpg)
CoS IP precedence DSCP Name
0 0 0-7 Routing (Best Effort)
1 1 8-15 Priority
2 2 16-23 Immediate
3 3 24-31 Flash
4 4 32-39 Flash-override
5 5 40-47 Critical
6 6 48-55 Internet
7 7 56-63 Network
Quality of Service
![Page 12: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/12.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/13.jpg)
Traffic policing vs. Traffic-shaping
Quality of Service
![Page 14: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/14.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/15.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/16.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/17.jpg)
Quality of Service
![Page 18: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/18.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/19.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/20.jpg)
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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/21.jpg)
“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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/22.jpg)
“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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/23.jpg)
“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: Mr. Mark Welton. 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.](https://reader035.fdocuments.in/reader035/viewer/2022070413/5697bfe21a28abf838cb497e/html5/thumbnails/24.jpg)
“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