Академический Документы
Профессиональный Документы
Культура Документы
pre-defined narrow range, ARED also adapts some other parameters automatically, making
configuration simpler.
2. TCP CONGESTION CONTROL
2.1. Theory
2.1.1. Sliding window mechanism
The operation principle of sliding window is illustrated in Figure 1. The operation of
window for a communication process is illustrated in figure 2.
offered window
Usable window
...(n+1) (n+2) (n+3) (n+4) (n+5) (n+6) (n+7) (n+8) (n+9) (n+10) (n+11) ...
Have received
ACK
Can be transmitted
without ACK
Can not be
transmitted
until window
going right
Transport Entity A
Transport Entity B
...1000 1001
SN=1001
2400
2401...
SN=1201
...1000 1001
SN=1401
...1000 1001
1601
2400 2401...
2001
...1600 1601
2400 2401...
2001
SN=1601
2401...
AN=1601
W=1000
SN=1801
2601...
SN=2001
...1600 1601
2600 2601...
...1600 1601
2001
26002601...
SN=2201
...1600 1601
2600 2601...
SN=2401
...2600 2601
AN=2601,W=1400
4000 4001...
4000 4001...
2.2. Experiments
The purpose of these experiments is to illustrate the operation and some characteristics of
above algorithms. These experiments are run in NS2. Please refer to
http://www/isi.edu/nsnam/ns for detailed installation instruction. The sources are in type
file.tcl. To run an experiment, in shell type ns file.tcl. The results are plotted in xgraph.
Please zoom in to get better detail view. You can also get the result data in file*.tr for
analyzing by your softwares. Please refer to NSmanual to get the structure of fileAll.tr and
see the finish procedure in file.tcl to get the structure of other file*.tr.
A simple network topology in Figure 5 is used to study the operation of the algorithms.
TCP always have data to transmit. Queue on the G-SINK link is a DropTail type. When SINK
receives a segment, it frees segment and makes corresponding cumulative ACK immediately.
10Mbps, 10ms
TCP
1Mbps, 100ms
SINK