Elsevier

Computer Communications

Volume 27, Issue 3, February 2004, Pages 239-252
Computer Communications

Impact of caching and MAC overheads on routing performance in ad hoc networks

https://doi.org/10.1016/j.comcom.2003.08.014Get rights and content

Abstract

We consider an on-demand routing protocol for mobile ad hoc networks that uses route caching aggressively. We show that stale routes in the caches and medium access control (MAC) overhead for replies from caches can degrade performance significantly, so much so that relative performance is much better without using replies from cache. We analyze these problems in a series of evaluation steps, usually looking at both routing and MAC layer performances together. We suggest several mechanisms to address the stale cache problem and also suggest a change in the MAC layer interface to reduce the MAC overhead. The combination of these techniques improves the relative performance of cached replies. Apart from improving performance of the routing protocol, this work serves as a case study where an analysis spanning multiple layers was necessary to identify the performance bottlenecks in a wireless network.

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)

  • D. Johnson et al.

    Dynamic Source Routing in Ad Hoc Wireless Networks

  • C.E. Perkins et al.

    Ad Hoc On-Demand Distance Vector Routing

    (1999)
  • J. Broch et al.

    A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols

    (1998)
  • P. Johansson et al.

    Scenariobased Performance Analysis of Routing Protocols for Mobile Ad-Hoc Networks

    (1999)
  • C.E. Perkins et al.

    Performance comparison of two on-demand routing protocols for ad hoc networks

    IEEE Personal Communications

    (2001)
  • P. Karn

    MACA: A New Channel Access Method for Packet Radio

    (1990)
  • V. Bharghavan et al.

    MACAW: A Media Access Protocol for Wireless LANs

    (1994)
  • R. Garces 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...
  • S.R. Das et al.

    Simulation-based performance evaluation of routing protocols for mobile ad hoc networks

    ACM/Baltzer Mobile Networks and Applications (MONET)

    (2000)
  • Z.J. Haas et al.

    The Performance of Query Control Schemes for the Zone Routing Protocol

    (1998)
  • F.A. Tobagi et al.

    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

    (1975)
  • G. Holland et al.

    Analysis of TCP performance over mobile ad hoc networks

    ACM/Kluwer Wireless Networks

    (2002)
  • K. Tang et al.

    Effects of ad hoc MAC layer medium access mechanisms under TCP

    ACM/Kluwer Mobile Networks and Applications

    (2001)
  • D.B. Johnson, D.A. Maltz, Y.-C. Hu, The Dynamic Source Routing Protocol for Mobile Ad Hoc Networks (DSR),...
  • D. Maltz et al.

    The effects of on-demand behavior in routing protocols for multi-hop wireless ad hoc networks

    IEEE Journal on Selected Areas in Communication

    (1999)
  • Cited by (9)

    View all citing articles on Scopus
    View full text