• No results found

A Novel Adaptive Load Balancing Routing Algorithm in Ad hoc Networks

N/A
N/A
Protected

Academic year: 2021

Share "A Novel Adaptive Load Balancing Routing Algorithm in Ad hoc Networks"

Copied!
5
0
0

Loading.... (view fulltext now)

Full text

(1)

A Novel Adaptive Load Balancing Routing Algorithm

in Ad hoc Networks

Zhu Bin, Zeng Xiao-ping, Xiong Xian-sheng, Chen Qian, Fan Wen-yan, Wei Geng

College of Communication engineering, Chongqing University, Chongqing, China

[email protected]

doi: 10.4156/jcit.vol5.issue5.8

Abstract

In this paper a novel adaptive load balancing routing algorithm in Ad hoc networks based on a gossiping mechanism is proposed. Unlike previously published algorithms, this algorithm adjusts the forwarding probability of the routing messages adaptively, according to the load status and the distribution of the nodes in the phase of route discovery. The simulation results show that the algorithm significantly reduces the routing overhead, and balances the load effectively.

Keywords

:Ad hoc networks, routing algorithm, load balancing, gossiping mechanism

1. Introduction

A mobile Ad hoc network (MANET), which is a mobile communication network formed by a collection of wireless mobile nodes with transceivers, has drawn much attention as a key subject in recent years. The node in MANET has the function of both host and router. All the nodes are capable of arbitrary movement and can choose to enter or withdraw from the network freely. Different from wired network, MANET is able to spread quickly without the help of existing infrastructure with the characters of non-center, self-structure and self-repair. MANET has better robustness and capability of resistance against destruction, hence, its application is promising in battlefield, rescue and other fields demanding temporary communication network.

In MANET, due to the limited propagation range of the transceiver at each mobile node, it may be necessary for one node which can’t communicate with other nodes directly to seek the aid of some mediate nodes to forward packets to the destination. In the meantime, the arbitrary movements of nodes may dynamically change the network topology structure formed by wireless channels. Additionally, both the bandwidth and battery power are scarce resources at mobile nodes. So the traditional routing protocols could not be applied to MANET. Hence, the design of the routing protocol for MANET becomes a vital issue. Many routing protocols have been developed and these protocols may generally be categorized as table-driven and on-demand routing. Table-driven routing protocols attempt to maintain consistent and up-to-date routing information at each node of the network. Such protocols require regular updating to meet the dynamic change of network topology, so they incur vast traffic stream and routing overhead. On the other hand, on-demand routing protocols overcome this limitation. They don’t maintain routing information at every node, but create routes only when desired by source nodes. Therefore, on-demand routing protocols have been widely used in MANET.

Most of the on-demand routing protocols usually select the route of fewest hops. The use of shortest path routes performs well in wired network. However, in MANET there is a tendency to use a few ‘centrally located’ nodes in a large number of routes, thus this scheme of route selection will lead to congestion of some central nodes. Such nodes have to carry excessive load and would suffer from high power consumption. Overloaded nodes would cause high packet delays and packet drops. Moreover, if the battery power is exhausted, the life span of the network is also shortened due to the lack of central nodes.

In recent years, the load balancing routing algorithm [1] in mobile Ad hoc networks (MANET) has been widely studied to overcome the shortcomings of the shortest path routes, and the load condition is used for making the routing decisions. The ABR algorithm [2], uses the total number of routes through a node to measure its load condition. On the basis of ABR, LBAR [3] is presented, and it counts in the routes through adjacent nodes. Since the number of routes cannot reflect the load exactly, DLAR [4] uses the number of the packets buffered in the interface queue of MAC layer as the load metric. LSR

(2)

[5] is similar to DLAR with a further consideration on the packets queuing in the interface of the adjacent nodes, and proposes a path comparison function.

Most of the routing algorithms in MANET are based on some variant of flooding mechanism. The use of the flooding causes a lot of redundant routing messages to be propagated, and wastes much network power. Therefore, the gossip-based routing which can reduce the redundant messages draws great attention. In Ref. [6], Zygmunt J. Haas et al. discuss the effect of the basic gossiping mechanism applied to routing in MANET, and present some optimizations of gossiping to enhance the performance.

In this paper, a novel adaptive load balancing routing algorithm based on a gossiping mechanism (ALBR-G) is proposed. This algorithm combines the idea of load balancing and the gossip-based routing and is very effective to achieve load balancing in the network and reduces the routing overhead.

This paper is organized as the follows: in Section 2, the design conception in ALBR-G is described and the details of ALBR-G are explained. Simulation result and analysis are reported in Section 3. Finally, Section 4 presents conclusions.

2. Adaptive load balancing routing algorithm based on gossiping mechanism

2.1. Some definitions

In this paper, we assume that there is no unidirectional links in the network, and each node is capable to get the interface queue length in the MAC layer.

Definition 1 Node vi samples the interface queue length in the MAC layer periodically. ( )q ki is the kth sample value, and N is the sampling time over a period of time, then the load of node viis defined as following: 1 ( ) ( ) N i k q k LB i N  

(1) Definition 2 The total length of interface queue of node vi in the MAC layer is qmax( )i , then the

load intensity function of node vi is defined as following:

max ( ) ( ) ( ) LB i LIF i q i  (2) Definition 3 We assume the number of neighboring nodes of vi is n, and all the load intensity functions are known, as well as the LIF i( ) value of vi itself. We sort these n1values in the ascending order, and get a sequence number named as ( )R i (1R i( ) n 1) corresponding to the

( )

LIF i of vi. The forwarding probability of the route request message (RREQ) for the node vi is given by the following expression:

1, (( ( ) 4) ( 4)) ( ) 1 , 1 i if R i or n P R i else n          (3)

From (3), we know 0Pi 1,and Pi is related to the existing load of vi. It depends on the relative size of the load intensity of viin local region. The smaller the relative load intensity is, the larger the forwarding probability will be, and the node will join the route preferentially; on the other hand, the node with relative heavier load is of smaller forwarding probability of RREQ, hence the probability of joining the route is reduced. Thus the overloaded nodes are protected by using the nodes of lighter load to establish the route, so as to balance the network load and lessen the congestion of the network and improve the data transmission efficiency. In ad hoc networks, nodes are not uniformly

(3)

distributed, and the density of nodes varies from areas. From (3), we can see that where the density is higher (that means n is larger), Pi is smaller, thus the redundant forwarding of RREQs and the routing overhead are reduced. Where the node density is lower, Pi is larger, thus the probability of route establishment is increased. To prevent premature gossip death of RREQs in the course of the route establishment, it is regulated in (3) that: if the sequence number is within the range of the top 4 or the nodes are very sparse (n4), then the forwarding probability is 1. From the analysis above, we can see that it differs from the existing gossip algorithms which use a fixed gossip probability, and Pi is able to adjust adaptively according to the nodes distribution in local region and the relative size of the load. The redundant transmission of the routing messages is reduced and the network load is balanced at the same time.

2.2. Description of ALBR-G

The ALBR-G is based on AODV [7], which is a well-known on-demand routing protocol, and contains two phases: route discovery and route maintenance.

To obtain the load condition of the neighboring nodes so as to calculate the forwarding probability, ALBR-G extends the HELLO packet in AODV, and adds the load intensity function (LIF) to the HELLO packet as an accessional part. ALBR-G uses HELLOe to denote the extended HELLO packets and other control packets keep invariant. Every node samples the interface queue length in MAC layer periodically, and figures out the LIF by formula (1) and (2). Before broadcasting HELLOe packet periodically to neighboring nodes to exchange information, the node inquires its current load intensity function first, and updates the HELLOe packet. Gossip type used by every node in ALBR-G can be denoted asgossip p k m n( , , , )i , where Pi is the forwarding probability defined by formula (3), and n is the number of neighboring nodes.

Source node starts a route discovery process by broadcasting a route request (RREQ) packet to neighboring nodes. The processing procedure of intermediate nodes is described as following: when a node vjhas received a RREQ from neighboring nodevi, it will judge if the RREQ is a new packet. If so, and it is not the destination node, then the hop count in RREQ will be compared with parameterk. If it is fewer thank, it means vj is in the range of the first khops from the source node. Therefore, RREQ will be forwarded with the probability 1 to prevent premature death of RREQ at the beginning of gossip. If the hop count is more thank, then Pjcan be figured out by formula (3), which is used as the forwarding probability of RREQ. If vjdecides not to forward RREQ according toPj, RREQ will not be discarded immediately. It will be cached for a period of time which is set to Tout. Within the allotted time, if the number of same RREQs received from neighboring nodes by vj reaches m, we can believe that there are adequate nodes to join in establishing route, and the probability of gossip death is low. Then vjwill discard RREQ from cache, or else, vj will broadcast RREQ to neighboring nodes, so as to make itself join the route. In ALBR-G, Tout is set to be 4 times of NODE_TRAVERSAL_TIME, where NODE_TRAVERSAL_TIME is a parameter in AODV which presents the estimated time of the average one hop traversal time for packets.

When the destination node receives the first RREQ, a route reply (RREP) packet will be sent to the source node. After source node receives the RREP, it can start data transmission.

The route maintenance phase of ALBR-G is similar to AODV. When the link is disconnected, the upstream node initiates the route reparation. If the reparation fails, then a route error (RERR) packet will be sent to source node to restart the route discovery procedure.

3. Simulation results and analysis

In order to study the performance of ALBR-G in terms of routing overhead and load balancing, simulations were performed using NS-2 with random waypoint model [8], and the pause time is set to

(4)

3 seconds. There are 100 nodes randomly placed in the network whose size is 4000m by 2500m, and the wireless transmission model is Free Space model with a range of 200m. In gossip p k m n( , , , )i of every node, k is set to 2, and m is set to 1. We compare ALBR-G, DLAR and AODV at the same condition, and vary the maximum speed of nodes to simulate different mobility scenarios. The simulation time is 500s; all the results are the averages of 20 runs of simulations.

Figure 1 shows the relationship between maximum speed and routing overhead. As can be seen in Figure 1, the new algorithm ALBR-G greatly reduces the routing overhead. ALBR-G demonstrates up to 45% less routing overhead than DLAR and AODV. This performance gain is obtained mainly from the suppression of RREQ packets. Different from DLAR and AODV that flood RREQs over the network during the route discovery procedure, gossiping mechanism is applied to ALBR-G, and the gossiping probability can adjust according to the ambient condition. So the unnecessary propagation of RREQ packets are prevented effectively in ALBR-G and the overall routing overhead is reduced a lot compared with DLAR and AODV.

Figure 1. Routing overhead versus max speed

Figure 2 displays the total load distribution over the nodes in the network after the simulation. The total load of a node is defined as the area under the graph when the load intensity function of the node is plotted over time. So it can represent the load status for a node. From Figure 2 we can observe the total load distribution fluctuates very much for DLAR and AODV. For ALBR-G, However, the total load is more evenly distributed among the network nodes than DLAR and AODV. As shown in Figure 2, the new algorithm effectively balances the load in the network.

(5)

4. Conclusions

This paper proposes a novel adaptive load balancing routing algorithm in Ad hoc networks based on a gossiping mechanism (ALBR-G). This algorithm combines gossip-based routing and the idea of load balancing effectively. It can adaptively adjust the forwarding probability of RREQ messages according to the distribution and load status of nodes in route discovery phase. Simulation results indicate that, compared with DLAR and AODV, ALBR-G can significantly reduce the routing overhead, and balance the load in the network.

5. Acknowledgment

This research was supported partly by Natural Science Foundation of Chongqing of China (CSTC, 2008BB2313) and also in part by Chongqing Key Science and Technology Special Project (CSTC, 2009AB2146).

6. References

[1] Toh Chai Keong, Le Anh-Ngoc and Cho You-Ze, “Load Balanced Routing Protocols for Ad Hoc Mobile Wireless Networks”, IEEE Communications Magazine, Institute of Electrical and Electronics Engineers Inc., Vol. 47, No. 8, 2009, pp. 78-84.

[2] Toh C K, “Associativity-Based Routing for Ad-hoc Mobile Networks”, Wireless Personal Communications Journal, Kluwer Academic Publishers, Vol. 4, No.2, 1997, pp. 103-139.

[3] Zhou A and Hassanein H, “Load-balanced wireless ad hoc routing”, in Canadian Conference on Electrical and Computer Engineering, Vol. 2, pp. 1157-1161. 2001.

[4] Lee S J and Gerla M, “Dynamic Load-Aware Routing in Ad Hoc Networks”, in IEEE International Conference on Communications, Vol. 10, pp. 3206-3210, 2001.

[5] Wu K and Harms J, “Load-sensitive routing for mobile ad hoc network”, in Tenth Intl. Conf. on Computer Communications and Networks Proc, pp. 540-546. 2001.

[6] Zygmunt J. Haas, Joseph Y. Halpern and Li (Erran) Li, “Gossip-based Ad Hoc Routing”, IEEE/ACM Transactions on Networking, Institute of Electrical and Electronics Engineers Inc., Vol. 14, No. 3, 2006, pp. 479-791.

[7] Perkins C E, MroyeR E and Das S, “Ad-hoc On-Demand Distance Vector (AODV) Routing”, Internet-Draft, draft-ietf-manet- aodv-02.txt, Nov. 1998.

[8] Network Simulator–NS2. http:// www. isi.edu /nsnam/ns.

[9] Noor Mast, Muhammad Nisar Afridi, and KoK-Keong Loo, “TCP Performance Analysis in Mobile Ad Hoc Networks with Different Routing Protocols and Varying Payload”, JDCTA: International Journal of Digital Content Technology and its Applications, Vol. 3, No. 1, pp. 123-134, 2009.

References

Related documents

AODV uses the message types Route Request (RREQ), Route Replies (RREP) and Route Error (RERR) in finding the route from source to destination by using UDP user datagram

Moreover, in a multihop network scenario, route discovery procedure requires intermediate nodes to rebroadcast the route request packets originated from the source

It uses the route discovery mechanism of reactive protocol and the table maintenance mechanism of proactive protocol so as to avoid latency and overhead

a route. Higher the route energy, lesser is the probability of route failure due to exhausted nodes. 2) Traffic queue (tq): The traffic queue of a node is the number of packets

The results of a comparison between the proposed algorithm, AODV_EXT, which implements dynamic probability as a part of the RREQ mechanism and the traditional AODV, DSDV, DSR,

a route. Higher the route energy, lesser is the probability of route failure due to exhausted nodes. 2) Traffic queue (tq): The traffic queue of a node is the number of packets

Similar to AODV, the enhanced protocol also uses the Route Request (RREQ), Route Reply (RREP) and Route Error packets for the route discovery and maintenance

Reactive approach for routing the packet to the destination outside the zone includes two phases: route discovery phase and route reply phase.. In route discovery phase,