lecture 22 - quality of service in networks

36
Quality of Service in Networks Presented by: Shatrunjay Rawat Communication Group – R&D CMC Limited

Upload: montykhanna

Post on 28-Oct-2014

16 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Lecture 22 - Quality of Service in Networks

Quality of Service in Networks

Presented by: Shatrunjay Rawat

Communication Group – R&D

CMC Limited

Page 2: Lecture 22 - Quality of Service in Networks

What does Users Expect?

Best service Whenever they want Minimum Price

Page 3: Lecture 22 - Quality of Service in Networks

Service Provider’s Limitations

Limited Resources High Requirements / Demand Cost of Resources Profit Moto

Page 4: Lecture 22 - Quality of Service in Networks

Meeting Point?

Quality of Service Provisioning

Page 5: Lecture 22 - Quality of Service in Networks

Quality of Service Parameters

Availability Reliability Bandwidth Delay and Response Time BER, etc Cost?

Page 6: Lecture 22 - Quality of Service in Networks

Popular Network Protocols

Ethernet Token Ring & Token Bus X.25 Frame Relay TDM ATM IP

Page 7: Lecture 22 - Quality of Service in Networks

Ethernet

Best Effort Mechanism Non deterministic Quality is

Traffic Dependent Bandwidth Dependent

Page 8: Lecture 22 - Quality of Service in Networks

Token Ring & Token Bus

Assured Response Known Delay Limited Control on QoS

Page 9: Lecture 22 - Quality of Service in Networks

Frame Relay

Reservation of Resources PVC & SVC Data and Voice Not Scalable:

Bandwidth limited to 2Mbps

Page 10: Lecture 22 - Quality of Service in Networks

TDM

Dedicated Links and Bandwidth Best Response Time Lowest Delay Voice, Data, Video Denial of Service Wastage of Bandwidth Limited Flexibility Costly

Page 11: Lecture 22 - Quality of Service in Networks

ATM

Good QoS features Various Classes Services

CBR, ABR, VBR, etc

Data, Voice, Video Scalable Bandwidth Denial of Service Costly

Page 12: Lecture 22 - Quality of Service in Networks

IP

Connection-less Best effort Service is not denied Primarily designed for data communication Most Popular i.e. widely used Cost effective Traditionally no QoS control

Page 13: Lecture 22 - Quality of Service in Networks

Present Scenario

Demand for Voice and Video over Internet

Needs Differential QoS for Data, Voice and Video to avoid jitter and packet loss

Needs Fundamental Change in the Internet Architecture

Page 14: Lecture 22 - Quality of Service in Networks

QoS - Types

Resource Reservation (Integrated Service)

Prioritisation (Differentiated Service)

Page 15: Lecture 22 - Quality of Service in Networks

Resource Reservation

network resources are apportioned according to an application's QoS request, and subject to bandwidth management policy.

Page 16: Lecture 22 - Quality of Service in Networks

Prioritisation

network traffic is classified and apportioned network resources according to bandwidth management policy criteria.

To enable QoS, network elements give preferential treatment to classifications identified as having more demanding requirements.

Page 17: Lecture 22 - Quality of Service in Networks

Type of QoS Characterisation

Per Flow Identified by five tuple: transport protocol,

source address, source port number, destination address, and destination port number

Per Aggregate An aggregate of two or more flows

Page 18: Lecture 22 - Quality of Service in Networks

QoS Protocols

ReSerVation Protocol (RSVP) Differentiated Services (DiffServ) Multi Protocol Labeling Switching (MPLS) Subnet Bandwidth Management (SBM)

These protocols are not mutually exclusive of one another

Page 19: Lecture 22 - Quality of Service in Networks

ReSerVation Protocol (RSVP) RFC2205, 1997 Is a Transport Layer Protocol Operates on top of IPv4 and IPv6 Internet control protocol like ICMP and

IGMP Not a routing protocol Operates with unicast and multicast routing

protocols

Page 20: Lecture 22 - Quality of Service in Networks

RSVP

Request resources for simplex flows Receiver is responsible for making

request for QoS IP fragmentation will cause problem for

QoS as some information may be lost that is used for identifying packets

Page 21: Lecture 22 - Quality of Service in Networks

RSVP

Implemented by mechanisms called ‘traffic control’ Packet classifier Admission control

Determines the availability of resources

Policy control Determines administrative rights for QoS

Packet scheduler

Page 22: Lecture 22 - Quality of Service in Networks

RSVP

Salient Features Reservations in each router are "soft," which means

they need to be refreshed periodically by the receiver(s).

Applications require APIs to specify the flow requirements, initiate the reservation request, and receive notification of reservation success or failure after the initial request and throughout a session.

Reservations are receiver-based, in order to efficiently accommodate large heterogeneous (multicast) receiver groups.

Page 23: Lecture 22 - Quality of Service in Networks

RSVP

Salient Features Multicast reservations are "merged" at traffic

replication points on their way upstream RSVP traffic can traverse non-RSVP routers, this

creates a "weak-link" in the QoS chain where the service falls-back to "best effort“

There are two types of RSVP Protocols: Native RSVP and UDP-encapsulated RSVP. The 802 "Subnet Bandwidth Manager" only supports Native RSVP.

Page 24: Lecture 22 - Quality of Service in Networks

RSVP

RSVP provides the highest level of IP QoS available

Comes at the price of complexity and overhead,

Page 25: Lecture 22 - Quality of Service in Networks

Differentiated Services (DiffServ) Provides a simple and coarse method

of classifying services of various applications

There are currently two standard per hop behaviors (PHBs) defined that effectively represent two service levels (traffic classes):

Expedited Forwarding (EF) Assured Forwarding (AF)

Page 26: Lecture 22 - Quality of Service in Networks

DiffServ:Expedited Forwarding

dedicated to low-loss, low-latency traffic Has a single codepoint (DiffServ value –

8 bits(upper 2 for ECN)). EF minimizes delay and jitter and provides the highest level of aggregate quality of service.

Any traffic that exceeds the traffic profile (which is defined by local policy) is discarded.

Page 27: Lecture 22 - Quality of Service in Networks

DiffServ: Assured Forwarding

Has various classes and drop-precedences within each class.

Excess AF traffic is not delivered with as high probability as the traffic "within profile," which means it may be demoted but not necessarily dropped.

Page 28: Lecture 22 - Quality of Service in Networks

DiffServ

Assumes the existence of a service level agreement (SLA) between networks that share a border.

The SLA establishes the policy criteria, and defines the traffic profile.

Traffic will be policed and smoothed at egress points according to the SLA.

Page 29: Lecture 22 - Quality of Service in Networks

DiffServ

Any traffic "out of profile" (i.e. above the upper-bounds of bandwidth usage) at an ingress point have no guarantees (or may incur extra costs, according to the SLA).

The policy criteria used can include time of day, source and destination addresses, transport, and/or port numbers (i.e. application Ids).

Any context or traffic content (including headers or data) can be used to apply policy.

Page 30: Lecture 22 - Quality of Service in Networks

Multi Protocol Labeling Switching (MPLS) marks traffic at ingress boundaries in a

network, and un-marks at egress points

MPLS markings (20-bit labels) are primarily designed to determine the next router hop (and not the priority within the router)

Page 31: Lecture 22 - Quality of Service in Networks

MPLS

MPLS is not application controlled (no MPLS APIs exist), nor does it have an end-host protocol component.

Unlike any of the other QoS protocols, MPLS resides only on routers.

Page 32: Lecture 22 - Quality of Service in Networks

Multi-Protocol: Both Above and Below

Possibly several ways to set up Routing/Control

Single Forwarding Paradigm based on Label Switching

Can run over different Link Layer technologies

IPv6 IPv4 IPXNetwork Layer

Protocols

Eth

ernet

FD

DI

AT

M

Fram

e Relay

Poin

t-to-Poin

t

Link Layer Protocols

Label Switching

AppleTalk

Page 33: Lecture 22 - Quality of Service in Networks

MPLS

MPLS is protocol-independent (i.e., "multi-protocol"), so it can be used with network protocols other than IP (IPX, ATM, PPP, FR) or directly over data-link layer as well.

MPLS routing is used to establish "fixed bandwidth pipes" analogous to ATM or Frame Relay virtual circuits.

Page 34: Lecture 22 - Quality of Service in Networks

QoS in LAN

Ethernet HUB Single collision domain No QoS

Ethernet Switches No collision domain Better throughput No QoS

Page 35: Lecture 22 - Quality of Service in Networks

QoS in LAN

Layer 3 Switches Port based VLAN IP address based VLAN

ATM Switches Voice, data, video Lack of ATM based application softwares

i.e. ATM to the desktop Costly

Page 36: Lecture 22 - Quality of Service in Networks

Thanks

My e-mail: [email protected]