+ All Categories
Home > Documents > CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ...

CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ...

Date post: 17-Jan-2016
Category:
Upload: baldric-sherman
View: 217 times
Download: 0 times
Share this document with a friend
18
CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University Edwardsville Fall, 2013 Dr. Hiroshi Fujinoki E-mail: [email protected] QOS_PART2/001
Transcript
Page 1: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QoS Implementation for the InternetIntServ and DiffServ

Department of Computer ScienceSouthern Illinois University Edwardsville

Fall, 2013

Dr. Hiroshi FujinokiE-mail: [email protected]

QOS_PART2/001

Page 2: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

Two existing QoS implementations for the Internet

QoS implementationin the Internet

IntServ (Integrated Service)

DiffServ (Differentiated Service)

Page 3: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

IntServ

IntServ controls QoS parameters by reserving resources at routers

• It is a virtual-circuit approach on top of datagram Internet

• By using a new add-on protocol, RSVP (developed by Intel)

(RSVP = Resource Reservation Protocol)

• Combination of admission control & traffic policing

• “flow-oriented” QoS control (“per-flow QoS control”)

Router Router Router Router

RSVP request forreserve resources Reserve

resources

Reserveresources

Reserveresources

Reserveresources

PositiveACK

HTTP

Page 4: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

IntServ

• “flow-oriented” QoS control

• A logical pipe must be created for each flow

• After the mid 90’s, user population in the Internet started exploding

• After the mid 90’s, many different types of network applications were introduced

• Huge number of pipes must be managed by each IntServ router

(scalability problem)

• IntServ uses a strict policing

Network traffic that violates its promise is all dropped

IntServ was not easy to use

Page 5: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

DiffServ

• Datagram approach (“packet-based QoS control”)

No admission control

No new QoS protocol is needed

(because IP network (the Internet) is a datagram packet switching network)

(no signaling)

- Extends “TOS” filed in the IP header

QOS_PART2/000

TCP Datagram (TCP packet)

TCP Header

(implemented on top of TCP)

Page 6: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

DiffServ

• Not “flow-oriented” QoS control

• Datagram approach

- No admission control

- No new QoS protocol is needed

(because IP network (the Internet) is a datagram packet switching network)

- DiffServ routers classify on-going traffic to groups of network traffic that has similar QoS requirements

• Mainly implemented by classifier, policing, shaping and scheduler at each router

• Many router venders, such as CISCO, implement DiffServ

(no signaling)

- Extends “TOS” filed in the IP header

Page 7: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

TCP

DeviceDriver

IP

DiffServ

CS 447 Network & Data Communication

QOS_PART2/000

Internal organization of DiffServ

DeviceDriver

NIC Routing Classifier

Device Queue(managed by OS)

NIC

(FIFO Queue)

PolicingShaping

PolicingShaping

PolicingShaping

DiffServ Queues(managed by Diffserv)

Scheduler

- Traffic shaping & policing- Queues & scheduler- Buffer (queue) management

Page 8: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

Traffic Shaping & Policing

Packet Marker + Buffer Manager

Token Bucket + Buffer Manager

Perform traffic policing only

Perform both traffic shaping and policing

Page 9: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

Packet Marker + Buffer Manager

Tra

ffic

Loa

d (

in b

ps)

Time

TMin

All marked as “BLUE”

All marked as “RED”

All marked as “YELLOW”

TMaxImmediately drop

TAcceptable

Page 10: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

Packet Marker + Buffer Manager

Classifier Marker

DiffServ Queue

When the DiffServ queue becomesfull, what should be done?

Buffer Manager

• If there are multiple packets of the same color (only one color),

• If there is no red packet, drop one yellow• If there is no red or yellow packet, drop one blue

• If there is a red packet, drop one red

(from tail, or top or middle of the queue)

Page 11: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

Token Bucket + Buffer Manager

Page 12: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

Global Synchronization and RED Queue

Classifier Marker

DiffServ Queue

When the DiffServ queue becomesfull, what should be done?

Queue Length MaxPac

ket

Dro

p P

rob

abil

ity

1.0(100%)

Is this bad?

Page 13: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

Global Synchronization and RED Queue

Router Router Router Router

The queuebecomes full

TCP detectsa packet loss

TCP detectsa packet loss

TCP detectsa packet loss

TCP detectsa packet loss

DiffServ Queue

Page 14: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

Global Synchronization and RED Queue

Router Router Router Router

The queuebecomes full

DiffServ Queue

I slowdown!

I slowdown!

I slowdown!

I slowdown!

Page 15: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

Global Synchronization and RED QueueA

ggre

gate

d T

hrou

ghpu

tof

a D

iffS

erv

queu

e (i

n bp

s)

Time

the bufferbecomes full

Globalsynchronization

Everyone hasbacked off

TCP slow-startin progress

Average queuethroughput

Available Txbandwidth

Wasted transmission bandwidth

Page 16: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data Communication

QOS_PART2/000

RED (Random Early Detection) Queue

Queue Length MaxPac

ket

Dro

p P

rob

abil

ity

1.0(100%)

Queue Length MaxPac

ket

Dro

p P

rob

abil

ity

1.0(100%)

Min

RED Queue

Page 17: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

RED (Random Early Detection) Queue

CS 447 Network & Data Communication

QOS_PART2/000

Router Router Router Router

Someone’s packetBEFORE queue

becomes full!

DiffServ Queue

I am OK!

I slowdown!

I am OK!

I am OK!

Page 18: CS 447 Network & Data Communication QoS Implementation for the Internet IntServ and DiffServ Department of Computer Science Southern Illinois University.

CS 447 Network & Data CommunicationA

ggre

gate

d T

hrou

ghpu

tof

a D

iffS

erv

queu

e (i

n bp

s)

Time

the bufferbecomes full

Globalsynchronization

Everyone hasbacked off

TCP slow-startin progress

Average queuethroughput

Available Txbandwidth

Wasted transmission bandwidth

the bufferbecomes full

QOS_PART2/000

RED (Random Early Detection) Queue


Recommended