Professional Documents
Culture Documents
sharp turning, and completely random wandering. In order to avoid these problems,
many authors modify the Random Mobility Model by changing the calculation of
speed, direction, or both.
Figure 4.1. Traveling Pattern of a Mobile Node using the Random Waypoint Mobility
Model on 500m×500m Area [98Ton]
56
This trend is illustrated in Figure 4.5, being stated that mobile node moving
with the Random Waypoint Mobility Model appear to converge, disperse, converge
again, etc. In order to alleviate this type of behavior and promote a semi-constant
number of neighbors, the Random Direction Mobility Model was developed.
The metrics has to be measured that describes the characteristics behavior of Ad hoc
network. There are many simulation parameters that need to be varied in order to
perform exhaustive simulations. In this chapter the simulation parameters used to
produce the simulation suite for this work are presented and explained. Table 4.1
shows a summary of the parameters for randomized simulations
99
98
PacketDeliveryRatio (%)
97
96
95
AODV
94
DSR
93
92
91
90
50 100 150 200 250 300 350 400
Simulation
Simulation TimeTime(second)
Figure 4.4. Packet Delivery Ratio for Three Nodes
59
100
AODV
DSR
99.8
99.6
99.2
99
98.8
98.6
50 100 150 200 250 300 350 400
Simulation
Simulation TimeTime
(second)
Figure 4.5. Packet Delivery Ratio for Ten Nodes
When the simulation starts to run, every node moves with very low speed that
means low mobility and then gradually speed up that is high mobility. It shows how
many of the sent data packets are actually received and why have the dropped packets
been dropped. The receive packets for the AODV version is large even for high
mobility. The value is almost constant and very close to one. Therefore, considering
the metric delivery ratio, AODV and DSR performs similarly. Because the optimal
value of delivery ratio is one, which means no packet loss for AODV and DSR.
Although these protocols may dropped packets for these simulation, their network
communication scenarios are too large to simulate. The main reasons for dropping
packets are that the protocols are sending packets on a broken route that packets in the
buffers are dropped because of congestion and timeouts. As packet delivery ratio is
logically same with average throughput, the performance of the realistic simulations is
evaluated by means of average throughput.
100
99.8
Packet Delivery Ratio (%)
99.6
99.4
99.2
3 nodes
99
5 nodes
7 nodes
98.8
10 nodes
98.6
50 100 150 200 250 300 350 400
Simulation Time
Simulation Time (second)
Figure 4.6. Packet Delivery Ratio in AODV
60
100
99
98
96
95
94
93
3 nodes
92
5 nodes
7 nodes
91
10 nodes
90
50 100 150 200 250 300 350 400
Simulation Time
Simulation Time (second)
Figure 4.7. Packet Delivery Ratio in DSR
AODV
2.5
DSR
2
Pkts number
Routing Overhead
1.5
0.5
0
Overhead
3.5
3 nodes
Routing Overhead
2.5
5 nodes
2
7 node
10 nodes
1.5
0.5
0
1
2.5
3 nodes
5 nodes
7 nodes
Routing Overhead
10 nodes
1.5
0.5
0
1
between the protocols. It has been tried to determine the relative different in average
throughput for these two protocols with respect to the changing number of nodes and
specific load that having used.
4
x 10
6
AODV
5
DSR
0
50 100 150 200 250 300 350 400
Simulation Time
Simulation Time (second)
Figure 4.11. Throughput Comparison of Three Nodes
4
x 10
2.5
AODV
DSR
2
Average Throughput (%)
1.5
0.5
0
50 100 150 200 250 300 350 400
Simulation Time
Simulation Time (second)
Figure 4.12. Throughput Comparison of Ten Nodes
The average throughput curves for all protocols are very similar to the packet
delivery ratio curves. This is logical because large packet drops will of course mean
lower throughput. DSR has higher throughput in less node density. But as the longer
the simulation time or the higher paths to route, AODV has more route. And then
AODV has performed communication of realistic large area. A large network often
means longer routes and longer routes mean that the source overhead in each packet
grows.
4
x 10
2.5
A v erage T hroug hput (% )
1.5 3 nodes
5 nodes
7 nodes
1 10 nodes
0.5
0
50 100 150 200 250 300 350 400
Simulation Time
Simulation Time (second)
Figure 4.13. Throughput Comparison of Nodes for AODV
63
4
x 10
6
5
3 nodes
A verage Throughput (% )
5 nodes
4 7 nodes
10 nodes
0
50 100 150 200 250 300 350 400
Simulation Time
Simulation Time (second)
Figure 4.14. Throughput Comparison of Nodes for DSR
8000
6000
4000
2000
0
Generate Recive
The above Figure shows the generated packet and receive of packets in
number of three nodes. As the same traffic pattern was used in all simulations, the
sending packets of three protocols are the same in some simulations and some are
different according to the simulation time. But received packets and forward packets
are different for all simulations according to the behavior of the protocols.
Traffic Data
15000
AODV
12500 DSR
10000
Packet Number
7500
5000
2500
0
Generate Receive
4.6. Summary
The Random mobility scenario shows how protocols behave in certain
circumstance of a situation. For this reason, these scenarios were designed and
simulated with different versions of the protocols DSR and AODV. DSR show the
best performance results overall. And another good candidate is AODV with having a
slightly higher packet overhead in different network density.
The DSR protocol is however based on source routing, which means that the
byte overhead in each packet can affect the total byte overhead in the network quite
drastically when the offered load to the network and the size of the network increases.
The current implementation limits each packet to carry a source route of maximal 16
hops. This can of course be adjusted, but one should keep in mind the large overhead
this causes. Then this implementation would not manage to route to all nodes.
This protocol AODV needs better link breakage detection. Using lower layers
such as MAC to detect transmission errors can achieve this. This protocol is a definite
choice for highly mobile networks. This protocol is highly optimized and also shows
good results in all simulations. As Table 4.2, AODV has less throughput, but the
65
packet delivery ratio is in optimization one. However, AODV protocol may good
performance in a realistic life scenario. This protocol could definitely be used in
highly mobile or dynamic networks as well as static networks.