qos

20
Fundamentals of Quality of Service Gopan Govindan

Upload: gopan-govindan

Post on 09-Jun-2015

193 views

Category:

Education


1 download

DESCRIPTION

Revealing the basics of quality of service. The slide includes significant parameters that define quality of service along with brief descriptions.

TRANSCRIPT

Page 1: QoS

Fundamentals of Quality of Service

Gopan Govindan

Page 2: QoS

QoS

Introduction

?

Page 3: QoS

Definition metrics

Characteristics of network that define QoS

• Bandwidth

• Latency

• Jitter

• Packet loss

Page 4: QoS

The “Model”

DiffServ

• Each packet in the network contains a marking that indicates the required QoS

• Each network device applies QoS based upon this marking

Page 5: QoS
Page 6: QoS

Signaling QoS Requirements

Markers

• ToS – RFC 791

• CoS – QoS at MAC level

• DSCP – RFC 2474

Page 7: QoS

ToS

Bits that matter

Page 8: QoS

CoS

Bits that matter

* Push of packets with a specific CoS has dependency on Switch

Page 9: QoS

Bits that matter

DSCP

Page 10: QoS

Treatment

PHB

• Default PHB – RFC 2474 – DSCP 0 – Traditional best-effort service (FIFO)

• Class-selector PHB – RFC 2474 – for backward compatibility with IP precedence – xxx000

• Assured Forwarding PHB – RFC 2597 - 4 AF classes - AF1, AF2, AF3, AF4

• Expedited Forwarding PHB – RFC 2598 – place packets to priority queue – DSCP 46

• Voice Admit PHB – RFC 5865 -  identical characteristics to the EF PHB – also admitted by the network using CAC procedure – DSCP 44

Page 11: QoS

The “FLOW”

QoS process

Page 12: QoS

Configuration…

Class map

Class map

To classify traffic of our interest.

Policy map

Defines a series of actions (functions) that we wish to apply to a set of classified inbound traffic.

Page 13: QoS

Configuration…

Page 14: QoS

Mathematics ;)

Minor algebra

Class map

• AR• CIR• Bc• Be• Tc

Page 15: QoS

Lets relate….

Class map

• AR - Access Rate - full line speed in bps, maximum transmit value - 128000 in our example

• CIR - Committed Information Rate - target value for transmission, normal transmit value

• Bc - Normal Burst - Equals CIR/Tc

• Be - Excess Burst - Equals or can be upto (AR/Tc)-Bc

• Tc will vary. 1/8 sec in data and 1/100 in voice.

Page 16: QoS

Lets relate….

Class map

AR/Tc = Bc+Be Bc = CIR/Tc

Page 17: QoS

Before entering the show…

Class map

Queuing

• FIFO Queuing

• WFQ – Fair-queue (#packets) (#dynamic) (#reserved)

• CBWFQ

• Priority Queues – implemented as heap

Queue Management (Discard)

• Tail drop

• RED

• WRED

Page 18: QoS

Algorithms

Traffic Shaping

• Leaky Bucket

• Token Bucket

Page 19: QoS

The baggage scanner !

Class map

Page 20: QoS

Ready for a better QoS ?