Upload
josu-escalada
View
225
Download
0
Embed Size (px)
Citation preview
7/27/2019 Tema 4 Con Comentarios
1/55
QS (Q S)
IP
7/27/2019 Tema 4 Con Comentarios
2/55
QS IP
P S
T S
I
D S
7/27/2019 Tema 4 Con Comentarios
3/55
P S
7/27/2019 Tema 4 Con Comentarios
4/55
T A G QS
O
B
T S
R R
P S
A C
7/27/2019 Tema 4 Con Comentarios
5/55
F, (FCFS)
P /
FIFO (F I F O)
111
22
333
K C L: = C
7/27/2019 Tema 4 Con Comentarios
6/55
P
T
,
, .. IP /, , ..
R ?
7/27/2019 Tema 4 Con Comentarios
7/55
G (GPS)
= (,M) 1
=
+ 1
C: C ( )
: A : R , : R
GPS FCFS
GPS .
7/27/2019 Tema 4 Con Comentarios
8/55
H GPS PGPS COMPARE
7/27/2019 Tema 4 Con Comentarios
9/55
B (BR)
=
+
= (
, (
))
: BR
:
:
,
: R
:
7/27/2019 Tema 4 Con Comentarios
10/55
P GPS (PGPS) BR GPS: (
). PGPS ( WFQ)
BR
W ,
= (
)
7/27/2019 Tema 4 Con Comentarios
11/55
Q . PGPS
F: FTP
T: T FQ(=0):
FQ(=P):
L: =1
P: T (=4P)
F
7/27/2019 Tema 4 Con Comentarios
12/55
T S
7/27/2019 Tema 4 Con Comentarios
13/55
P M
T :
( ) ( ) : : 100
6000 !
.., 6000 . () .;1500
(.) . ( )
7/27/2019 Tema 4 Con Comentarios
14/55
A R
N QS (Q S)
Network Service Application
Constant bit rate Telephony
Real-time variable bit rate Videoconferencing
Non-real-time variable bit rate Streaming a movieAvailable bit rate File transfer
Example of QoS categories from ATM networks
7/27/2019 Tema 4 Con Comentarios
15/55
T
()
. ()
.
7/27/2019 Tema 4 Con Comentarios
16/55
T
() . () .
7/27/2019 Tema 4 Con Comentarios
17/55
L
()
. ()
.
() ,
() , ()
. ()
/
7/27/2019 Tema 4 Con Comentarios
18/55
A C A
S QS
Example flow specification
7/27/2019 Tema 4 Con Comentarios
19/55
F
7/27/2019 Tema 4 Con Comentarios
20/55
ATM
Celda no
conforme
Celda
conforme
Celda
conforme
ta(k) < TAT - TAT no cambia
TAT - < ta(k) TATTATTAT + T
TAT < ta(k)TAT ta(k) + T
TAT - TAT
7/27/2019 Tema 4 Con Comentarios
21/55
ATM (I)
Llegada de la celda
k en el instante ta(k)
TAT < ta(k) ?
TAT > ta(k)+ ?
TATTAT + T
Celda conforme
Celda no
conforme
TAT ta(k)No
No
Si
Si
ta(k) = Tiempo de llegada de una celdaT = I = Incremento
= L = Lmite
TAT: Tiempo de llegada terico
7/27/2019 Tema 4 Con Comentarios
22/55
ATM (II)
E (1) .
S TAT: .
S TAT, TAT
() T.
S TAT (TAT ), TAT T.
S (TAT ), . E TAT
7/27/2019 Tema 4 Con Comentarios
23/55
ATM (III)
Timeta(i)
ta(1) ta(2) ta(3) ta(4) ta(5)
T
TX+LCT
(TAT) Llegada de celdas ideal ( = 0.5 )
E
4.5 . P ,
4.5.
7/27/2019 Tema 4 Con Comentarios
24/55
ATM (IV)
Time
ta(i)
T
TX+LCT(TAT)
Llegada de celdas posible ( = 1.5 )
S ()
, TAT.
7/27/2019 Tema 4 Con Comentarios
25/55
ATM (V)
Time
ta(i)
T
TX+LCT
(TAT) Llegada de celdas posible ( = 3.5 )
C ,
. E T . E, >
T , N
N = 1+ (/ (T -)) , donde x es la parte entera de xN = 1+ (/ (T -)) = 1+ (3.5/ (4.5 - )) = 1+ (3.5/ 3.5)
= 1+ 1 = 2
7/27/2019 Tema 4 Con Comentarios
26/55
I (RSVP)
7/27/2019 Tema 4 Con Comentarios
27/55
RSVP E I
QS IP . I
I
S .
C
.
7/27/2019 Tema 4 Con Comentarios
28/55
RSVP A
7/27/2019 Tema 4 Con Comentarios
29/55
RSVP H R QS
QS
.
:
QS.
7/27/2019 Tema 4 Con Comentarios
30/55
A RSVP RSVP . I
.
RSVP . T
. RSVP
.
RSVP . I / .
RSVP , ,
.
RSVP .
7/27/2019 Tema 4 Con Comentarios
31/55
RSVP
(DA, PID , DP)DA IP
.
PID ID
T DP .
RSVP S D
7/27/2019 Tema 4 Con Comentarios
32/55
RSVP P R
7/27/2019 Tema 4 Con Comentarios
33/55
P M
S .
T .
P .S .
A ( )
IP .S T.
T
.
A: . U
.
7/27/2019 Tema 4 Con Comentarios
34/55
R M
A
T QS.
T , , QS .
A
A
A R (R ) QS.
A T (T ) .
7/27/2019 Tema 4 Con Comentarios
35/55
T T S E
Flow 1
Flow 2
Data Queue
Data Queue
7/27/2019 Tema 4 Con Comentarios
36/55
R M
R
.
A
M , .
S .
R S
7/27/2019 Tema 4 Con Comentarios
37/55
R S
WF (WF) S WF(*Q)
C () .
T ALL .
FF (FF) S FF(SQ), FF(S1(Q1), S2(Q2), )
C ,
.
SE (SE) S SS((S1, S2, ) Q)
C .
A .
7/27/2019 Tema 4 Con Comentarios
38/55
RSVP R SReservations
Distinct Shared
Fixed Filter Shared Explicit
None WildcardFilter
Wildcard
Explicit
Sender
Selection
S (WF SE)
( ).
FF ,
.
7/27/2019 Tema 4 Con Comentarios
39/55
R S E
7/27/2019 Tema 4 Con Comentarios
40/55
R S E
(C)
7/27/2019 Tema 4 Con Comentarios
41/55
Differentiated Services
7/27/2019 Tema 4 Con Comentarios
42/55
Providing Multiple Classes of Service
thus far: making the best of best effort service
one-size fits all service model
alternative: multiple classes of service
partition traffic into classes
network treats different classes of traffic differently(analogy: VIP service vs regular service)
No sepuedemostrar la imagen en estemomento.
0111 granularity: differential
service among multiple
classes, not among
individual connections
history: ToS bits
7/27/2019 Tema 4 Con Comentarios
43/55
D S N :
.
:
DS .
P
7/27/2019 Tema 4 Con Comentarios
44/55
P
R N A P (RSVP )
S N P (T C)
COPSSLS (IETF)
D S N P (TT)
QSNSIS3 S L P (IETF NSIS)
QS G S L P (IETF NSIS)
7/27/2019 Tema 4 Con Comentarios
45/55
P H B
6
() , TS
(T S) IP .
7/27/2019 Tema 4 Con Comentarios
46/55
Packet headers for IPv4 and IPv6
7/27/2019 Tema 4 Con Comentarios
47/55
P H B ()
, , , , .
. U EF PHB,
AF PHB , .
7/27/2019 Tema 4 Con Comentarios
48/55
Per Hop Behaviors (more)
Design with classes of QoS; customers buy what they want
Expedited class is sent in preference to regular class
Less expedited traffic but better quality for applications
7/27/2019 Tema 4 Con Comentarios
49/55
Implementation of DiffServ Customers mark desired class on packet
ISP shapes traffic to ensure markings are paid for
Routers use WFQ to give different service levels
Multiple classes of service: scenario
7/27/2019 Tema 4 Con Comentarios
50/55
Multiple classes of service: scenario
R1 R2H1
H2
H3
H41.5 Mbps linkR1 outputinterfacequeue
Scenario 1: mixed FTP and audio
7/27/2019 Tema 4 Con Comentarios
51/55
Scenario 1: mixed FTP and audio
Example: 1Mbps IP phone, FTP share 1.5 Mbps link.
bursts of FTP can congest router, cause audio loss
want to give priority to audio over FTP
packet marking needed for router to distinguishbetween different classes; and new router policyto treat packets accordingly
Principle 1
R1 R2
Principles for QOS Guarantees (more)
7/27/2019 Tema 4 Con Comentarios
52/55
Principles for QOS Guarantees (more)
what if applications misbehave (audio sends higher thandeclared rate)
policing: force source adherence to bandwidth allocations
marking and policing at network edge:
similar to ATM UNI (User Network Interface)
provide protection (isolation) for one class from othersPrinciple 2
R1 R2
1.5 Mbps link
1 Mbpsphone
packet marking and policing
Principles for QOS Guarantees (more)
7/27/2019 Tema 4 Con Comentarios
53/55
Principles for QOS Guarantees (more)
Allocating fixed (non-sharable) bandwidth to flow:inefficientuse of bandwidth if flows doesnt use its
allocation
While providing isolation, it is desirable to useresources as efficiently as possible
Principle 3
R1R2
1.5 Mbps link
1 Mbpsphone
1 Mbps logical link
0.5 Mbps logical link
Policing Mechanisms
7/27/2019 Tema 4 Con Comentarios
54/55
Policing Mechanisms
token bucket, WFQ combine to provide guaranteed upper
bound on delay, i.e., QoS guarantee!
WFQ
token rate, r
bucket size, bper-flowrate, R
D = b/Rmax
arrivingtraffic
7/27/2019 Tema 4 Con Comentarios
55/55
Policing Mechanisms (more)
Si(,)
Sj(,
)
i
j
, = 1, 2, , N
Si(, ) ( )i
j
F = i :
Si(, ) N
i: ; = 1, 2, , N
Si(, ): ,