Transmission Control Protocol (TCP) : A Reliable Connection Oriented Byte Stream Service Queuing Disciplines
Transmission Control Protocol (TCP) : A Reliable Connection Oriented Byte Stream Service Queuing Disciplines
GNITS/ETM/CN LAB
Experiment No: 9A Page No: 54
Ref: GNITS/CN/9A G.N.I.T.S – ETM DEPARTMENT
Slow start has cwnd begins at one segment and be incremented by one segment
everytime an ACK is received. As mentioned earlier, this opens the window
exponentially: send one segment, then two, then four, and so on. Congestion avoidance
dictates that cwnd be incremented by 1/cwnd, compared to slow start’s exponential
growth. The increase in cwnd should be at most one segment in each round trip time
(regardless of how many ACKs are received in that RTT), whereas slow start increments
cwnd by the number of ACKs received in a round-trip time.
PROCEDURE:
Create Scenario for Sample: NetSim →Simulation →New → WAN →TCP
Sample Inputs: Follow the steps given in the different samples to arrive at the
objective.
Sample 1.a:
In this Sample,
Total no of CPE’s used: 2
Total no of Routers used: 1
The devices are inter connected as given below,
CPE 1 is connected with Router 1 by Link 1.
CPE 2 is connected with Router 1 by Link 2.
Note: Enable the Trace file as given below.
GNITS/ETM/CN LAB
Experiment No: 9A Page No: 55
Ref: GNITS/CN/9A G.N.I.T.S – ETM DEPARTMENT
After click on the Trace button, a window will appear as given below,
From the list of attributes, select Congestion Window and Segment Start Time.
Note: Trace should be enabled for all the samples as given above. Set the
properties for each device by following the tables,
GNITS/ETM/CN LAB
Experiment No: 9A Page No: 56
Ref: GNITS/CN/9A G.N.I.T.S – ETM DEPARTMENT
GNITS/ETM/CN LAB
Experiment No: 9A Page No: 57
Ref: GNITS/CN/9A G.N.I.T.S – ETM DEPARTMENT
Sample 1.b:
Set the same properties as given in sample 1.a, except the following properties.
Inputs for Sample 1.b:
GNITS/ETM/CN LAB
Experiment No: 9A Page No: 58
Ref: GNITS/CN/9A G.N.I.T.S – ETM DEPARTMENT
Sample 2.b:
Set the same properties as given in sample 2.a, except the following properties.
GNITS/ETM/CN LAB
Experiment No: 9A Page No: 59
Ref: GNITS/CN/9A G.N.I.T.S – ETM DEPARTMENT
Note: select x axis as segment arrival time and y axis as congestion window.
EXPECTED GRAPH:
GNITS/ETM/CN LAB
Experiment No: 9A Page No: 60
Ref: GNITS/CN/9A G.N.I.T.S – ETM DEPARTMENT
SIMULATION ANALYSIS
GNITS/ETM/CN LAB
Experiment No: 9A Page No: 61
Ref: GNITS/CN/9A G.N.I.T.S – ETM DEPARTMENT
Old Tahoe and Tahoe Congestion Control Algorithms affect the utilization of the
network,differently.In the above scenario in sample1.b and sample 2.b there is no
possibility for congestionto happen, because CPE 1 is sending the packets at data rate 64
kbps & R1 is sending thepackets at same data rate 64 kbps. So, there is no possibility for
packets to be dropped. Ifthere is no congestion then both the algorithms work
similarly.Old Tahoe waits until the RTO Timer expires before retransmitting a lost
packet. ButTahoe retransmits the lost packet immediately after getting three continuous
duplicateACK’s. This results in the increased packet transmission in the case of Tahoe
ascompared to Old Tahoe as shown in the above graph sample 1.a and sample 2.a.
RESULT:
GNITS/ETM/CN LAB