Professional Documents
Culture Documents
net/publication/247329951
CITATIONS READS
35 162
1 author:
Sally Floyd
University of California, Berkeley
139 PUBLICATIONS 38,434 CITATIONS
SEE PROFILE
All content following this page was uploaded by Sally Floyd on 07 September 2014.
Sally Floyd
CS 268: Computer Networks
floyd@ee.lbl.gov
1
The Environment
2
Underlying problems of Drop-Tail gateways
3
Approach of RED gateways
4
RED gateway algorithm:
Variables:
avg : average queue size
p a : packet marking/dropping probability
Fixed parameters:
5
30
Queue
10 0
.. ... .
.. .. . ..
. . . .. . . ..
.... . .. .. ...... . ......
Packet Number (Mod 90) for Four Connections
.. .. . . .
...
. .....
. .. .
. .. ..
.. . . ... ..
........ .. ....
. . ...
. ...
.. .. ..
.....
. . .. . .. ..
. .
.. ..... . .
. ..
.
. .
...
. . ...
.
. . . . . .
200
.. .. . . . .
...... . .. ... ... .. .
. . . . ...
.. .. .. .. .. .. . . . . ..
. . . ...
..... .... . . .. .. .. .
...
..... ...... . ... ... .... .. .. ..
. . . .... . . . ..
.. . .
. . ...... . ... .... ...
. . ... . ... ...
.
. .. . . .
. . . . .
.. . ...... .. ... .. .. .
.
..
... . .. ... ... .. ... ..
100
..
.. .. .. .. .. .. .. .. .. .. .. .. ..... .... ..... . . . . . . .. . . .
.. ... .. .... ... .. .. .... ... .. .. .. .... .. .. .. .. .. .
... ... ... ... ... ... ... ... ... ... .... ... ..... ...... ..... .... ... .... ...... ..... .... ... .... .... ... ... ... ..... ... ... ..... ... .... .....
.. .. .. .. .. .. .. .. .. .. .. .. ... .... .... ... .. .. .. .... .. .. .. ... .. .. .... .. ... .. .. .. .. .... .
... ... ... ... ... ... ... ... ... ... ... ... ... ...... ....... .... ... ... .... ...... .... .... .... .... ... .... .... ... ... ... ... ... ... .... ....
.. . . . . . . . . .. . .. .. .... .. . ... .. .. . .. . ... ... .. .. ... .. .. ... . .. . . ..
... .... ... ... ... .... ... ... ... .. .... ... .... ..... ....... .... ... ..... ....... ... . ... .... ... ..... .... .. ....... ...... ...... ... .... .. .... .... ..
.
... . .. .. .. . .. .. .. .. . .. .. ... ... .. .. .. .. ... .. .. .. ..... . .. . .. .. .. . .. . . ..
0
6
Comparing Drop Tail and RED gateways.
FTP SOURCES
3 4
1ms 100Mbps
5 GATEWAY
20ms 45Mbps
SINK
100 80
Average Queue
20 40 060
7
Calculating the average queue size
Parameters:
wq : queue weight
s: typical transmission time
q: current queue size
time : current time
q tim e: start of the queue idle time
to implement.
8
Time constant for calculating the average queue size
(1 0 q )L+1 0 1 < mi n :
w
L +1+
wq
th
(For mi n th =5 packets, and L =50 packets,
choose wq 0: 0042 .)
9
Calculating the packet drop probability
1: ... .... ... . . . .. ... . . . ... .. . . .. . ........ . . .... ... ........ ..... . .. ........ .... . . ....... ..... .. . ..
2: .... . . ... ..... .. . . . . . .... . . .. . . . . . . ... . . . .... . . .. . ... ... ... .. . . .. . . .. . ... . . . .. . . . . . . . . . .. ..
10
Misbehaving users
11
Implementations
RED algorithms implemented in software for IBM RS/6000
routers on ANSNET (45 Mbps network between Hawaii
and continental US). The main goal is to achieve high link
utilization, including for high-bandwidth TCP connections
to the Maui High Performance Computing Center.
Open questions
12
Fairness issues with RED gateways:
2 4 6 8
round trip time ratio
(solid, ’+’ = node 1, dashed, ’x’ = node 2)
13
TCP and Explicit Congestion Notification?
Disadvantages of ECN:
– Non-compliant sources?
14
References
(Zhang and Clark 1990), Zhang, L., and Clark, D.,
“Oscillating Behavior of Network Traffic: A Case
Study Simulation”, Internetworking: Research and
Experience, Vol. 1 No. 2, December 1990, pp.
101-112.
(Floyd 1991) Connections with Multiple Congested
Gateways in Packet-Switched Networks Part 1:
One-way Traffic, Computer Communication Review,
V.21 N.5, October 1991, pp. 30-47.
(Floyd and Jacobson 1992), On Traffic Phase Effects
in Packet-Switched Gateways, Internetworking:
Research and Experience, V.3 N.3, September 1992,
p.115-156.
(Floyd and Jacobson 1993), Random Early Detection
Gateways for Congestion Avoidance, IEEE/ACM
Transactions on Networking, V.1 N.4, August 1993, p.
397-413.
(Floyd 1994), “TCP and Explicit Congestion
Notification”, to appear in ACM Computer
Communication Review.
15
View publication stats