(IJCSIS) International Journal of Computer Science and Information Security,Vol. 10, No. 1, January 2012
optimum window size for which the channel gives maximumthroughput. We aim to find the size of this optimum size of the Sliding window.
V.
Simulation Setup and Methodology
Simulations have been done on ns-2 [9], a discrete eventsimulator. The simulations were carried for multihop wirelessstatic and mobile topologies.
A.
Multihop Wireless Static Topologies
A linear string topology of 8 nodes was designed, similarto the one used in [10]. A single TCP connection with variablenumber of hops (1-7) was studied. The nodes were configuredto use 802.11 MAC protocol with the following parameters.Distance between two nodes was 250 metres. This distance issame as the maximum transmission range. Radio propagationmodel used was Two-ray ground reflection model. Thechannel data rate was 2 Mbps, TCP packet size was 1460bytes and the maximum window size was 32. With the abovementioned parameters fixed and varying the TCP protocol,routing protocol and TCP sink results were taken. The resultshave been discussed in Section VI.
B.
Multihop Wireless Mobile Topologies
Our network model constitutes of 25 nodes in a 1500 x400 m2 flat, rectangular area. Movement of nodes wasaccording to the mobility patterns generated by the mobilitypattern generator offered by ns-2; which is based on randomwaypoint mobility model. In this model, each node picks arandom destination. Once it arrives to the destination it pausesfor some time and then picks another destination. Thisprocedure is followed throughout. The mean speed of thenodes was taken 10m/s and the pause time was 0 sec. Thesimulation results are based on an average throughput of 25mobility patterns. The parameters were same as those takenfor static topologies. Here, the TCP-NewReno variant wasstudied with variations in TCP sink, routing protocol andwindow size. Simulation results are discussed in the SectionVI.
C.
Performance Metric
Throughput has been used as the performance metric.Throughput was measured for fixed sender and receiver nodesover the entire period of the connection. TCP cannotdetermine the cause of packet loss, and considers congestionthe reason behind the losses. Thus, the throughput so obtainedis always less than the optimal value. In order to compare thedifference, we use another metric called the
expected throughput
.
Expected throughput
gives an upper bound on theTCP throughput.
Expected throughput
is calculated using thethroughput values obtained in the static topologies. If t
i
= time,T
i
= throughput, where i = hops (ranges from 1 to 7). Hence t1means "amount of time source and destination were 1 hop farfrom each other". Similar explanation comes for throughput.T
2
means "throughput when source and destination were 2hops far from each other". The values of T
i
are those obtainedfrom simulating static topologies and t
i
is obtained from thescene file. So, we calculate the
expected throughput
using (1)as follows:
iii1ii1
tTExpectedthroughputt
(1)Practical Throughput is obtained from the simulations. Both
expected
and practical throughputs are then compared in termsof the percentage achieved of the
expected throughput
calculated as follows:
Practical ThroughputPercentage Achieved = %Expected Throughput
(2)
VI.
R
ESULTS AND
A
NALYSIS
A.
Multihop Wireless Static Topologies
Tables I and II show the throughput (in Kbps) obtained foreach variant of TCP with DSDV and AODV routing protocolsrespectively. These results will be used for calculating the
expected
throughput
values as explained in Section V.Our studies show that NewReno variant of TCP gives themost optimum performance as compared to other variants forboth the routing protocols. This is because of the fact thatNewReno is more capable in handling multiple packet lossesfrom a single window of data as compared to other TCPvariants. Hence, for mobile topologies we carry out ouranalysis for the NewReno TCP scheme.As is known, the performance of TCP depends on therouting protocols as every routing protocol has a differenttechnique to handle link failures and to form routes. From ourresults, it can be seen in static topologies performance of proactive routing protocol (DSDV) is better in terms of throughput as compared to reactive routing protocol (AODV).The reason is that proactive protocols maintain a routing table.However, in reactive protocols route calculation is on-demandbasis which causes some delay in sending data. Also, DSDVhas lesser number of control packets which decreases thenumber of collisions.Further, an improvement in throughput is observed whenDelAck is used for all TCP variants over DSDV and AODVrouting protocols.
B.
Multihop Wireless Mobile Topologies
Tables III and IV show the throughput (in Kbps) obtainedfor the NewReno variant of TCP with DSDV and AODVrouting protocols respectively. Throughput values have beenobtained by varying the characteristics of TCP sink such aswindow size and delay interval.Based on the simulation results Fig. 2 to Fig. 7 have beenplotted and will be further analyzed.
64http://sites.google.com/site/ijcsis/ISSN 1947-5500