Impact of caching and MAC overheads on routing performance in ad hoc networks
Introduction
In an ad hoc network, mobile nodes communicate with each other using multi-hop wireless links. There is no stationary infrastructure such as base stations or access points. Each node in the network also acts as a router, forwarding data packets for other nodes. Study of ad hoc networks has recently attracted significant interest, for primarily two reasons. First, the very idea of automatically configurable, structure-less network, able to operate in a very dynamic environment with a high degree of fault-tolerance is interesting, and lot of future networked systems can utilize such properties. Examples range from military networks to sensor networks. Second, design of such networks presents interesting technical challenges. The challenges not only span across different layers of the traditional protocol stack, but also involve complex cross-layer interactions. While progress has been made in designing and evaluating protocols in the network [1], [2], [3], [4], [5] and medium access control (MAC) layers [6], [7], [8], [9] in isolation, relatively little attention has been paid in studying cross-layer interactions. In this paper, our thesis is that a holistic view of all protocol layers is important for the best overall performance. We present a case study illustrating this point with a step-by-step performance evaluation and improvement process that looks at both the network and MAC protocols together.
Ad hoc networks present two fresh challenges in network design. First, in the network layer, a dynamic routing protocol must efficiently find routes between two communicating nodes. The routing protocol must be able to keep up with the high degree of node mobility that often changes the network topology drastically and unpredictably. Second, in the link layer, a MAC protocol must provide access to the wireless medium efficiently and reduce interference. The impact of routing overhead and MAC control overheads or transmission errors can be significant in bandwidth-poor wireless networks. They can take a major toll on the overall performance unless controlled carefully.
In the second half of the past decade, there has been a considerable activity in designing protocols for both these layers in the ad hoc or packet radio framework. In particular, a new class of dynamic routing protocols, called ‘on-demand’ protocols [1], [2], has been invented that discovers routes on-demand, rather than proactively as in the distributed shortest-path protocols used in the Internet. The on-demand protocols are able to keep the routing overheads low without compromising significantly on the quality (cost) of the routes discovered [3], [4], [10]. They do this by eliminating unnecessary route finding activities and by using route caching directly or indirectly. For ease of scalability, combinations of proactive and on-demand routing have also been studied [11]. In the MAC layer, several variations of traditional carrier-sense multiple access (CSMA) techniques have been investigated to skirt around the well-known hidden-terminal and exposed terminal problems [12]. Important examples include CSMA with collision avoidance that uses a random back-off even after the carrier is sensed idle [9]; and a virtual carrier sensing mechanism using request-to-send/clear-to-send (RTS/CTS) control packets [6]. Both techniques are used in the IEEE wireless LAN standard 802.11 [9]. In addition to network and link layers, performance of transport layer protocols like TCP has also been investigated [13], [14].
What is missing, however, from the extant literature is a sense of the big picture—a wholesome view of the dynamics of multiple protocol layers that tell a coherent story of what impacts network performance. In the following sections we choose one well-studied routing protocol (dynamic source routing or DSR [1], [15]) and show how a subtle variation of this protocol can tremendously and somewhat unexpectedly improve performance. We investigate the reason of this altered performance delving deeper in the protocol stack. We show that the performance in the original protocol is impacted by a certain caching phenomena in the routing layer and MAC control overheads in the link layer, with their complicity taking a high toll on performance. We suggest solutions at both layers to alleviate these problems. Our goal with this performance study is not merely to improve performance of one single routing protocol, but also to present a systematic study demonstrating how interactions across layers could be studied to understand the performance of a wireless network.
The rest of the paper is organized as follows. In Section 2, we briefly describe the DSR protocol with particular emphasis on its caching activities and related performance issues. We also describe the IEEE 802.11 MAC layer protocol that will be used in the case study. Section 3 discusses related work. In Section 4, we describe the simulation environment and performance metrics. In Section 5, we present the complete performance study with different protocol variations in a sequence of steps. This section forms the core of our work. Finally, we conclude in Section 6.
Section snippets
Dynamic source routing
The key feature of DSR [1], [15] is the use of source routing. That is, the sender knows the complete hop-by-hop route to the destination. These routes are stored in a route cache. The data packets carry the source route in the packet header.
When a node in the ad hoc network attempts to send a data packet to a destination for which it does not already know the route, it uses a route discovery process to dynamically determine such a route. Route discovery works by flooding the network with route
Related work
Quite a few recent papers considered comparative performance evaluation of routing protocols for ad hoc networks using realistic and complete simulation models for physical, data link and MAC layers. Examples include Refs. [3], [4], which used the same ns-2-based simulation environments. However, the focus there was primarily on comparative evaluation of several routing protocols including DSR. Interactions with the MAC layer were not studied.
In Ref. [16], the authors of the DSR protocol
Simulation environment
We use a detailed simulation model based on ns-2 [32] in our study. In a recent work, the Monarch research group in CMU developed support for simulating multihop wireless networks complete with physical, data link and MAC layer models [3] on ns-2. The MAC layer uses the IEEE 802.11 standard as described before. The radio model uses characteristics similar to a commercial radio interface, Lucent's WaveLAN [33]. WaveLAN is a shared-media radio with a nominal bit-rate of 2 Mb/sec and a nominal
Performance evaluation
A couple of recent performance studies on DSR has produced interesting results. In Ref. [5], it was observed that DSR performs poorly under more challenging network conditions (large networks, high mobility, high traffic load) although it performs very well in less stressful situations. Also, in Ref. [13] it was observed that TCP performance with DSR is significantly improved by turning off replies from caches. In both papers, it was conjectured that the poor performance is due to the
Conclusions
We have analyzed the performance of a routing protocol for ad hoc networks that heavily depends on caching. We have found that caching can be a mixed blessing. Caching reduces or eliminates route discovery latency. But it also generates performance problems of its own. First, cache entries can become stale, and the stale entries can pollute other caches. Second, MAC overheads for replies from cache can be significant. We isolated these two problems by a series of simulation experiments some of
References (33)
- et al.
Dynamic Source Routing in Ad Hoc Wireless Networks
- et al.
Ad Hoc On-Demand Distance Vector Routing
(1999) - et al.
A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols
(1998) - et al.
Scenariobased Performance Analysis of Routing Protocols for Mobile Ad-Hoc Networks
(1999) - et al.
Performance comparison of two on-demand routing protocols for ad hoc networks
IEEE Personal Communications
(2001) MACA: A New Channel Access Method for Packet Radio
(1990)- et al.
MACAW: A Media Access Protocol for Wireless LANs
(1994) - et al.
Floor Acquisition Multiple Access with Collision Resolution
(1996) - IEEE Standards Department, Wireless LAN medium access control (MAC) and physical layer (PHY) specifications, IEEE...
- et al.
Simulation-based performance evaluation of routing protocols for mobile ad hoc networks
ACM/Baltzer Mobile Networks and Applications (MONET)
(2000)
The Performance of Query Control Schemes for the Zone Routing Protocol
Packet switching in radio channels: Part II—the hidden terminal problem in carrier sense multiple-access and the busy-tone solution
IEEE Transactions on Communications
Analysis of TCP performance over mobile ad hoc networks
ACM/Kluwer Wireless Networks
Effects of ad hoc MAC layer medium access mechanisms under TCP
ACM/Kluwer Mobile Networks and Applications
The effects of on-demand behavior in routing protocols for multi-hop wireless ad hoc networks
IEEE Journal on Selected Areas in Communication
Cited by (9)
Incidence of the improvement of the interactions between MAC and transport protocols on MANET performance
2014, Handbook of Research on Progressive Trends in Wireless Communications and NetworkingIB-MAC: Improvement of the backoff algorithm for better MAC - TCP protocols interactions in MANET
2011, Proceedings of the 10th International Symposium on Programming and Systems, ISPS' 2011A new backoff algorithm of MAC protocol to improve TCP protocol performance in MANET
2011, Communications in Computer and Information ScienceThe overhead and efficiency analysis on WiMAX's MAC management message
2009, Internetworking Indonesia JournalIEEE802.16 MAC management messages: The overhead and efficiency analysis in mesh topology
2009, Proceedings - MICC 2009: 2009 IEEE 9th Malaysia International Conference on Communications with a Special Workshop on Digital TV ContentsThe analysis of IEEE802.16e MAC layer overhead and efficiency in PMP topology
2008, 5th IEEE and IFIP International Conference on Wireless and Optical Communications Networks, WOCN 2008