A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols
A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols
Josh Broch, David A. Maltz, David B. Johnson, Yih-Chun Hu, Jorjeta Jetcheva
Appeared in MobiCom98
Outline
Simulation
ns extensions Protocol implementations
Simulation results
ns-2 extensions
The ns-2 network simulator was extended to include: Node mobility A realistic physical layer
propagation delay, capture effects, carrier sense
Simulation Environment
Routing protocol models DSDV, TORA/IMEP, DSR, AODV Physical model Attenuation of radio waves (free propagation and two-ray ground reflection model) Data link layer model IEEE 802.11 MAC Address Resolution Protocol (ARP) model IP address resolution Packet buffering in each node 50 packet queue size in network interface. Additional 50 by routing protocol Ad hoc network 50 wireless mobile nodes moving about and communicating with each other
Protocol improvements
During protocol implementation and early tests general improvements were discovered and implemented.
- Broadcasts and broadcast responses were jittered using a random delay uniformly distributed between 0 and 10 ms. - Routing packets where queued at the head of the queue - Each protocol, except DSDV, used 802.11 MAC layer link breakage detection.
DSDV
DSDV mechanism
Each node maintains a routing table listing the next hop for each reachable destination. Each node advertises a sequence number which is recorded in the table.
A higher sequence number is a more favorable route Equal sequence number resorts to favoring lower metrics
DSDV Simulation
Triggered route updates are used to broadcast changes in the topology(i.e. broken link).
Receipt of a new sequence number for a destination. Labeled DSDV-SQ in the paper. Receipt of a new metric for a destination. Labeled DSDV in the paper. Link layer notification not used due to signification performance penalty.
DSDV constants
TORA features
TORA mechanism
Links between routers conceptually viewed as a height. Link is directed from the higher router to the lower router. Height adjustments occur when topology changes. Layered on top of IMEP, Internet MANET Encapsulation Protocol, for reliable in-order delivery of all routing control messages, and link state notifications.
Periodic BEACON / HELLO packets.
TORA/IMEP
Source routing:
Source routing is a technique whereby the sender of a packet can specify the route that a packet should take through the network. The source makes some or all of these decisions.
Route discovery:
When some node S originates a new packet destined to some other node D, it places in the header of the packet a source route giving the sequence of hops that the packet should follow on its way to D. Normally, S will obtain a suitable source route by searching its Route Cache of routes previously learned, but if no route is found in its cache, it will initiate the Route Discovery protocol to dynamically find a new route to D. In this case, we call S the initiator and D the target of the Route Discovery.
DSR mechanism 2
Route maintenance:
When originating or forwarding a packet using a source route,each node transmitting the packet is responsible for confirming that the packet has been received by the next hop along the source route; the packet is retransmitted (up to a maximum number of attempts) until this confirmation of receipt is received.
AODV Protocol
The AODV routing protocol is a reactive routing protocol. Therefore, routes are determined only when needed. The figure shows the message exchange of the AODV protocol
AODV Vs DSR
The major difference between AODV and DSR stems out from the fact that DSR uses source routing in which a data packet carries the complete path to be traversed. However, in AODV, the source node and the intermediate nodes store the next-hop information corresponding to each flow for data packet transmission.
Advantage:
The main advantage of this protocol is that routes are established on demand and destination sequence numbers are used to find the latest route to destination. The connection setup delay is less.
Disadvantage:
One disadvantage is that intermediate nodes can lead to inconsistent routes if the source sequence number is very old and the intermediate nodes have a higher but not the latest destination sequence number, thereby having stale entries. Also multiple Route Request packets in response to a single Route Request packet can lead to heavy control overhead.
Movement Patterns
Traffic Pattern
Traffic sources
CBR
Traffic rate
4 packets/second 64 bytes packets
Source count
10, 20 and 30 sources
Connections
Peer-to-peer connections started at times uniformly distributed between 0 and 180 seconds
Scenario Characteristics
Distribution of Shortest-path
Connectivity Changes
A connectivity change occurs when a node goes into or out of direct communication range with another node.
Metrics
Metrics
Routing Overhead
The total number of routing packets transmitted during the simulation Measures the scalability of the protocol Measures the degree to which protocol will function in congested or low-bandwidth environment Measures the protocol efficiency in terms of consuming node battery power
Metrics
Path Optimality
The difference between the number of hops a packet took to reach its destination and the length of the shortest path that physically existed through the network when the packet was originated Measures the ability of the routing protocol to efficiently use network resources by selecting the shortest path to a destination
On demand routing protocols TORA, DSR, and AODV-LL increase routing packets as load increases due to an increase in the number of destinations.
Path Optimality
The difference between the shortest path length and the length of the paths actually taken by data packet. Both DSDV-SQ and DSR use routes close to optimal TORA and AODV-LL have a significant tail. Note, TORA is not designed to find shortest path to destination.
Overhead in bytes
If routing overhead is measured in bytes and includes the bytes of the source route header that DSR replaces in each packet, DSR becomes more expensive than AODV-LL.
DSDV-SQ vs DSDV
Packet delivery ratio versus pause time with 20 CBR sources. At 1m/s DSDV delivers fewer packets than DSDV-SQ. DSDV dropped packets are caused by link breakages not detected as quick as DSDV-SQ At 20m/s both fail to converge below 300 seconds of pause time causing a large percentage of data packets to be dropped.
DSDV-SQ vs DSDV
Routing overhead versus pause time with 20 CBR sources. At 1m/s DSDV routing overhead is a factor of 4 smaller than DSDV-SQ At 20m/s DSDV triggering scheme reduces the relative routing overhead by a factor of 4 at pause time 900 and by a factor of 2 at pause time 0.
Conclusion
Contributions
ns network simulator extension This new simulation environment provides a powerful tool for evaluating ad hoc networking protocols.
Conclusion
Using ns, results were presented of a detailed packet-level simulation of four protocols.
DSDV performs predictably. Delivered virtually all packets at low node mobility, and failing to converge as node mobility increases. TORA worst performer. Still delivered 90% of the packets in scenarios with 10 or 20 sources. DSR was very good at all mobility rates and movement speeds. AODV performs almost as well as DSR, but still requires the transmission of many routing overhead packets. At higher rates of node mobility its actually more expensive than DSR.