Beruflich Dokumente
Kultur Dokumente
Cpsc 527
Advanced Computer Communications
Lecture 7b
DiffServ Overview
Instructor: Dr. Son T. Vuong
Email: vuong@cs.ubc.ca
The World Connected
Jump to first page
Outline
Conclusions
Cpsc 527
Cpsc 527
Cpsc 527
Cpsc 527
Cpsc 527
Cpsc 527
Cpsc 527
Consider a phone application at 1Mbps and an FTP application sharing a 1.5 Mbps
link.
bursts of FTP can congest the router and cause audio packets to be dropped.
want to give priority to audio over FTP
Cpsc 527
Applications misbehave (audio sends packets at a rate higher than 1Mbps assumed
above);
PRINCIPLE 2: provide protection (isolation) for one class from other classes
Require Policing Mechanisms to ensure sources adhere to bandwidth requirements;
Marking and Policing need to be done at the edges:
Cpsc 527
10
Cpsc 527
11
Cpsc 527
12
Summary
Cpsc 527
13
Cpsc 527
14
Scheduling Policies
Cpsc 527
15
Round Robin: scan class queues serving one from each class that has a
non-empty queue
Cpsc 527
16
Cpsc 527
17
Policing Mechanisms
Three criteria:
(Long term) Average Rate (100 packets per sec or 6000
packets per min??), crucial aspect is the interval length
Peak Rate: e.g., 6000 p p minute Avg and 1500 p p sec Peak
(Max.) Burst Size: Max. number of packets sent consecutively,
ie over a short period of time
Cpsc 527
18
Policing Mechanisms
Token Bucket: limit input to specified Burst Size and
Average Rate.
Cpsc 527
19
arriving
traffic
token rate, r
bucket size, b
WFQ
per-flow
rate, R
D = b/R
max
Cpsc 527
20
Cpsc 527
21
Scheduling (revisited)
Cpsc 527
22
Types of Schedulers
Cpsc 527
23
Cpsc 527
24
Host
Application
Access
Network
Core Network
Cpsc 527
25
GPS
scheduler
.
.
.
WFQ
scheduler
...
.
.
.
N-1
N
Cpsc 527
26
Cpsc 527
27
Cpsc 527
28
Cpsc 527
29
Congestion avoidance
Global synchronization avoidance
Cpsc 527
30
Cpsc 527
31
RED Buffer
Cpsc 527
32
Cpsc 527
33
Architecture of DiffServ
DiffServ Domain
A Set of per-hop (forwarding) behaviors (PHB).
Packet classification functions.
Traffic conditioning functions including:
metering
marking
shaping
policing
Cpsc 527
34
DS Nodes
DS boundary Nodes
Classify the ingress packets.
Perform traffic conditioning according to a
traffic conditioning agreement (TCA)
DS Interior Nodes
Cpsc 527
35
DS Definition
Cpsc 527
36
R
R
H
H
H
Cpsc 527
37
Cpsc 527
38
Cpsc 527
39
Cpsc 527
40
Cpsc 527
41
Profile in Router
(in/out)
Policy Scope
Other information (Address , port, permission,
month mask, time of day, direction )
Spring 2010 Dr. Son Vuong
Cpsc 527
42
Example of Profile
Name
Entry2
PolicyScope
DataTraffic
TimeOfDayRange
090000 to 170000
IncomingTOS
111
SourceAddressRange
139.24.2.12
to 139.24.2.255
Direction
Outgoing
MaxeRate
5000
OutgoingTOS
101
Cpsc 527
43
Examples of Services
Premium Service :
Cpsc 527
44
Cpsc 527
45
Best-effort queue
Cpsc 527
46
Cpsc 527
47
Cpsc 527
48
DiffServ queues
Cpsc 527
49
Cpsc 527
50
Cpsc 527
51
Cpsc 527
52
Summary
Cpsc 527
53