Methods For Calculating Bandwidth, Delay, and Packet Loss Metrics in Multi-Hop IEEE802.11 Ad Hoc Networks
Methods For Calculating Bandwidth, Delay, and Packet Loss Metrics in Multi-Hop IEEE802.11 Ad Hoc Networks
Methods For Calculating Bandwidth, Delay, and Packet Loss Metrics in Multi-Hop IEEE802.11 Ad Hoc Networks
Liqi Shi1, Abraham Fapojuwo1, Neil Viberg2, Wendy Hoople2, Norbert Chan2
1 2
Department of Electrical and Computer Engineering General Dynamics Canada
The University of Calgary, 2500 University Drive NW 1020 68th Avenue NE
Calgary, AB, Canada T2N 1N4 Calgary, AB, Canada, T2E 8P2
E-mail:{lishi, fapojuwo}@ucalgary.ca {neil.viberg, wendy.hoople, norbert.chan}@gdcanada.com
Abstract — Support of real-time applications in Mobile Ad Hoc methods also serve as useful input for QoS routing of real-time
Networks (MANETs) is very challenging due to the dynamic connectivity in multi-hop MANETs.
characteristics of such networks. This paper studies the problem of The remainder of the paper is organized as follows. Section
voice application support in multi-hop IEEE802.11 ad hoc networks.
We propose reactive-based and non-intrusive methods for calculating
II proposes the bandwidth metric calculation method. In
the quality of service (QoS) metrics of bandwidth, delay and packet Section III, the delay and packet loss measurement schemes
loss that are important for voice support. Results from OPNET based are presented. Section IV gives the numerical results and
simulations show that voice application can be supported in discussion. Section V concludes the paper.
IEEE802.11 MANETs only under light traffic. When the network
traffic is heavy, the calculated delay and packet loss become
II. BANDWIDTH CALCULATION
significantly high due to the hidden node problem, thus making it
difficult to satisfy the voice delay and packet loss objectives in multi- Bandwidth is one of the most limited resources in
hop IEEE802.11 MANETs. MANETs, and most existing QoS routing protocols are based
on this metric. Also, most of the existing protocols assume that
I. INTRODUCTION the network is time slotted and thus corresponding bandwidth
Recently, there is a growing interest in the design of assignment algorithms [9] [10] are proposed. In IEEE802.11
protocols for supporting quality of service (QoS) in mobile ad ad hoc networks, the medium is shared by nodes located in
hoc networks (MANETs). These works mainly focus on the each other’s interference range. Hence, new measurement
network layer, for example, designing routing protocols based schemes are required to obtain the bandwidth information. In
on some QoS metrics [1-3]. However, it is also necessary to the following subsections, two major bandwidth calculation
study the problem of QoS support by considering the schemes – the hello scheme and the listen scheme, are
performance of the underlying medium access control (MAC) reviewed and improved upon for bandwidth calculation in
layer protocol. Since IEEE802.11 [4] is widely deployed in IEEE802.11 ad hoc networks.
wireless equipment for local coverage, this paper investigates
its performance in MANETs that can support real-time A. Hello Scheme
applications. The fundamental access mechanism in the In [11], estimating the available bandwidth via
IEEE802.11 protocol is called distributed coordination neighborhood bandwidth consumption is introduced. That is,
function (DCF). This random access scheme, based on the for any node i in a MANET, it shares the wireless medium
carrier sense multiple access with collision avoidance with all of its neighbors. Thus, the total consumed bandwidth
(CSMA/CA), uses both fixed and random backoff time to in i’s neighborhood, Bi ,consumed , can be written as
transmit/retransmit packets. The IEEE802.11 standard also
defines the point coordination function (PCF) mode, which is Bi ,consumed = ∑ Bj (1)
an access scheme controlled by the access point (AP). In this j∈N ( i )
paper, only the DCF is investigated because the assumed where N(i)={node i and all neighbors of i}, and B is the
scenario is multi-hop MANETs. j
Many papers have studied the performance of the bandwidth consumed by all the existing connections of node
IEEE802.11 protocol in wireless local area networks j, j ∈ N (i ) . Suppose the total bandwidth is Bmax , then the
(WLANs). A Markov chain model of the protocol is given in available bandwidth for node i is
[5]. The effect of contention window size is studied in [6]. Bi , available = Bmax − Bi , consumed (2)
Only few papers attempt to study the IEEE802.11 protocol
In reality, some of i’s neighbors can use the medium
performance in multi-hop MANETs. The effectiveness of the
simultaneously, given that the neighbors and their
RTS/CTS handshake scheme is discussed in [7]. In [8], an
communication peers are outside of each other’s interference
offered load control scheme is used to achieve maximum
range. For example, in Figure 1, nodes A, B, and C are all
throughout for a simple multi-hop scenario where the nodes
neighbors of i, but A-B and C-D can communicate
are in a chain. In this paper, we concentrate on the evaluation
simultaneously since they do not interfere with each other. So,
of bandwidth, delay, and packet loss in multi-hop IEEE802.11
the estimation in (1) is an upper bound for the consumed
ad hoc networks in an attempt to answer the question of
bandwidth and (2) is the lower bound for available bandwidth
whether or not real-time applications can be supported in such
of node i.
networks. In addition, the provided QoS metric calculation
104
should be less than half the transmission time of a packet, ( p − p 2 ) / N < mp (9)
such that the samples are not biased (i.e., make sure the
medium busy time is recorded). For example, a 2400-bit Solving Equation (9), the number of samples N is given by:
packet can be transmitted in several milliseconds at a 1− p
N= 2 (10)
data rate of 1 Mbps, and it means that the timer should be m p
set to at least one millisecond or less.
SW router model
z Reactive method: In this approach, medium busy time is Trans delay
t1 t2 t3 t4
either identified by receiver busy status (i.e., received
Processing
power is over a specified threshold) or NAV. One Input queuing delay Output queuing Propagation
delay
important point to note is that the two may be
overlapped. So, the available bandwidth proportion in T t4
Sender Receiver
Try 1
seconds can be calculated by: Try 2
1 − ( NAV + receiver busy time − overlapped time) / T (6)
Both proactive and reactive methods can be used to measure .
DRe trans
the actual available bandwidth effectively, but the reactive . Try n-1
method is more accurate at the cost of higher implementation Try n
complexity than the proactive method. t5
ACK
III. DELAY AND PACKET LOSS CALCULATION Figure 4 Delay measurement in IEEE802.11 networks
Delay and packet loss are two key QoS parameters for real Using eqn. (10), we conclude that this active measurement
time applications. For example, in voice communication, an scheme is not suitable for MANETs. For example, for a link
over-170ms end-to-end delay is said to be harmful to the with 10% mean packet loss rate (p= 10−1 ), we need to send
service quality [13], and a packet loss greater than 5% is
usually unacceptable for voice application [14]. In [15] and 900 samples on that link to get a measurement result whose
[16], one-way delay and round-trip delay measurement standard deviation is within 10% of the mean loss probability
methods are proposed, respectively. However, they are not (i.e., m = 0.1). With each node sending the probes, these can
suitable for IEEE802.11 networks due to significant control cause a huge overhead in MANETs, thus skewing the results.
overheads and complexity. Instead, by analyzing the sources Furthermore, it takes some time to finish the measurements.
of delay at each node in MANETs, we use a software router For example, if one sample packet is sent every second, 15
model to measure the packet node delay. minutes are needed to send 900 samples. The active
The delay at each node in MANETs is composed of input measurement scheme is obviously not suitable for a MANET
queuing delay, processing delay, output queuing delay, with high mobility.
transmission delay, propagation delay, and retransmission To measure the packet loss in MANETs, it is useful and
delay, as shown in Figure 4. To implement the packet delay necessary to understand the factors that cause packet loss.
measurement at a node in IEEE802.11 networks, we need to Unlike the Internet, in which the packet loss is normally
record the time when a packet enters the node (t1), and the caused by congestion, the packet loss in MANETs is due to
time when the data packet is acknowledged (t5) after being many factors. Of all these factors, buffer overflow,
relayed. The node delay for that packet can then be calculated transmission loss, and link breakages are the most dominant.
by t5-t1. Average packet delay in a certain period can also be In addition, a received packet whose delay is over the tolerable
used as a QoS routing metric. delay threshold is also treated as a lost packet. Loss caused by
The packet loss measurement method used in [17] measures over-threshold delay can only be monitored at the receiver,
the packet loss by injecting probing packets into the network. necessitating a feedback message be sent to the source for QoS
The number of probing packets needed to get an accurate purpose. For packet loss caused by link breakages, many
result is analyzed as follows: let schemes have been proposed to switch the connection to
alternative paths before the current path is broken. So, packet
1, packet is lost with probability p loss caused by buffer overflow and maximum retransmissions
Xn = (7)
0, packet is received with probability 1 − p are the only information that can be obtained from
X N = ( X 1 + X 2 + ... + X N ) / N (8) intermediate nodes. In this paper, we calculate the loss caused
by buffer overflow and maximum retransmissions at
we can see that X N is actually the packet loss rate for N intermediate nodes to evaluate the performance of the
samples. Using the Central Limit Theorem, E( X N )=p, and IEEE802.11 network. Since the active measurement method
needs large amount of probing packets and may skew the
Var( X N )= ( p − p 2 ) / N . Thus, to keep the standard deviation performance of the network, we employ user generated data
of the measurement result within a range relative to the mean, packets to do a reactive measurement instead of injecting
such as mp, where m is the coefficient of variation set to a probing packets into the network.
small value (e.g., m=0.1, 0.01, …). We have:
105
IV. NUMERICAL RESULTS AND DISCUSSION
Figure 5 shows the simulated scenario implemented in
OPNET, in which SOURCE sends data to DESTINATION via
nodes int_0 and int_1, and SOURCE_0 sends data to
DESTINATION_0 via int_1. The nodes that have no direct
connection line are out of each other’s transmission range.
This is a typical scenario in MANETs. Using this typical
scenario, we evaluate the proposed QoS metric calculation
methods, and determine whether or not voice can be supported
in multi-hop IEEE802.11 ad hoc networks. The configuration
parameters for the simulation are as follows:
z MAC and physical layer: IEEE802.11 - Direct sequence,
1 Mbps, no RTS/CTS, retransmission limits = 7, buffer = Figure 6 Hello scheme and listen scheme: light traffic
256K bits.
z Network layer: Assumed routing protocol is the ad hoc
The results for delay in Figure 7 show that node int_0
on demand distance vector (AODV) protocol.
experiences higher average packet delay (measured every 5
z Application layer: Packet size = 1600 bits, constant bit
seconds) than int_1 although it has lighter traffic. This is due
rate, traffic begins 100 seconds after simulation starting
to higher access delay of int_0, which in turn causes larger
time.
queue size. The higher access delay of int_0 is caused by the
hidden node problem between SOURCE_0 and int_0, which is
common in IEEE802.11 and results in frequent backoffs of the
involved nodes. No packet loss is observed under such a light
traffic.
106
available while the delay and packet loss are very high at node
int_0. This phenomenon reveals that hidden node problem is
the major factor that degrades the performance of multi-hop
IEEE802.11 ad hoc networks. Increasing transmission rate
(e.g., 54 Mbps) can reduce per packet transmission time, thus
potentially alleviating packet collisions if the same traffic load
is applied. However, this cannot eliminate the hidden node
problem. RTS/CTS handshake is another choice, but it can
only reduce the collisions within the transmitter’s two-hop
range, and cannot deal with any interference from outside of
the range [7]. In addition, RTS/CTS scheme introduces
significant overheads, especially for applications with small
packet size, such as voice (i.e., packet size is 200 bytes or less).
[4] IEEE Standards Board, "Part 11: Wireless LAN Medium Access Control
(MAC) and Physical Layer (PHY) Specifications," The Institute of
Traffic load (bits/sec) Electrical and Electronics Engineers, Inc., 1997.
210000 [5] G. Bianchi, “Performance analysis of the IEEE 802.11 distributed
205000 coordination function”, IEEE Journal on Selected Area in Comm., Vol .
200000
195000 18, No. 3, March 2000, pp.535-547.
190000
185000
[6] M. Natkaniec and A. R. Pach, “An analysis of the backoff mechanism
180000 used in IEEE 802.11 networks,” in Proc. of fifth IEEE symposium on
175000
170000 Computers and Communications, Antibes-Juan les Pins, France, July 3 -
165000
160000
6 2000, pp. 444–449.
155000 [7] K. Xu, M. Gerla, and B. Sang, “How effective is the IEEE 802.11
RTS/CTS handshake in ad hoc networks,” in Proc. of IEEE
0
5
5
5
0
42
45
47
22
25
27
30
32
35
37
40
10
12
15
17
20
107