Presentation is loading. Please wait.

Presentation is loading. Please wait.

Quality of Service (QoS)

Similar presentations


Presentation on theme: "Quality of Service (QoS)"— Presentation transcript:

1 Quality of Service (QoS)
Chapter 8

2 Overview Why Quality of Service
Policing vs. shaping, effect on voice, video, games. Call Admission and Control (CAC) Queuing strategies DSCP

3 Why QoS? Some applications require better than best-effort service
Bandwidth requirements Delay requirements Jitter requirements Reordering requirements Ability to offer premium services make more money

4 Destination IP Address
IP QoS VHL TOS Total Length Identification Flags Offset TTL Protocol Checksum Source IP Address Destination IP Address

5 Delay/ Throughput/ Reliability
TOS Byte Delay/ Throughput/ Reliability Precedence Reserved 111: Network Control 110: Internetwork Control 101: CRITIC/ECP 100: Flash Override 011: Flash 010: Immediate 001: Priority 000: Routine US DoD Automatic Voice Network (autovon)

6 TOS Byte The use of the TOS byte was never formalised
Therefore not possible to offer service guarantees across the Internet

7 IntServ vs. DiffServ IntServ: Integrated services
Flow-based mechanism Fine-grained Does not scale well as it requires significant flow state to be kept by routers in the network DiffServ: Differentiated services Class-based mechanism, packet marked with class Course-grained Scales well, requires compatible classes to be defined and deployed

8 DiffServ Code Point (DSCP)
Reserved Precedence Backwards compatible with TOS precedence bits Reserved bits have since been allocated to Explicit Congestion Notification (ECN)

9 DSCP Per-Hop Behaviours
Best-Effort: Expedited Forwarding: Assured Forwarding: Class 1 AF11 (low drop): AF12 (med drop): AF13 (high drop): Class 2 AF21 (low drop): AF22 (med drop): AF23 (high drop): Class 3, 4.

10 Packet Classifier / Conditioner
| | +----->| Meter | | | | | | | | | | V V | | | | | Shaper/ | packets =====>| Classifier |=====>| Marker |=====>| Dropper |=====> | | | | | | Logical View of a Packet Classifier and Traffic Conditioner Source: RFC 2475

11 Definitions Classification: identify traffic by attributes and assign it a traffic class Source, Destination IP addresses Protocol Type Port numbers Incoming port

12 Definitions Marking: process of marking classified traffic
Signals priority to downstream switches and routers Could mark IP DSCP, ATM CLP, or MPLS EXP field Markings can be duplicated to lower-layer framing, and then copied back when frame is removed

13 Policing vs. Shaping Policing Shaping
Enforce compliant traffic profile by dropping some packets Dropper Shaping Enforce compliant traffic profile by delaying some packets Shaper

14 Rate-limiting Implemented using a token bucket algorithm
A token is a credit When a packet is transmitted, the number of credits is reduced Rate-limit is achieved by specifying the rate at which tokens are replenished

15 Dual-token Bucket Rate Limiter
Used to implement bursty links First bucket: peak rate Second bucket: committed rate First bucket is bigger than second bucket When it over-flows, packet is coloured red Excess packets arriving at second bucket are coloured yellow Otherwise, packet is coloured green Green packets will be forwarded, red discarded, yellow will be forwarded in best-effort fashion

16 Queuing Strategies Queuing occurs when all packets cannot be forwarded at that moment Need to decide how to forward FIFO Strict Priority Queuing Weighted Fair Queuing Need to decide if any packets should be discarded Tail Drop Random Early Discard

17 Call Admission and Control (CAC)
It is possible even with QoS that a network might not be able to support a specified service, e.g. Another voice call Streaming video Have network Signal if call may enter Police other traffic so call can be supported

18 Further Reading Chapter 8: Broadband Network Architectures RFC 2475


Download ppt "Quality of Service (QoS)"

Similar presentations


Ads by Google