Improving Network Performance Using ACO Based Redundant Link Avoidance Algorithm
Improving Network Performance Using ACO Based Redundant Link Avoidance Algorithm
2
Assistant Professor, Department of CSE, Anna University
Chennai, Tamil Nadu, India
optimal routing. Traffic management provide optimal algorithm finds several shortest paths that are almost
solution to solve the facts {a c} but optimal routing may equally good, between given source to destination. As the
solve all the listed facts. All the existing traffic traffic is split over several paths, better performance can
management and routing protocol concentrates to avoid be obtained in multi-path routing.
the traffic by the way of solving one or few facts in the {a
e} except {f} and {g}. In which, the facts {d} and {e} There are several research papers [5 - 13] implemented
may be controlled, only by multipath routing algorithm but variety of multi-path algorithms for various applications,
when applying multipath there are high probability that the in which Ant Colony Optimization (ACO) based multipath
network becomes congested by the facts {f} and {g}. The [13] routing provide better result than others due to its real
combination of {f} and {g}, i.e., when two or more time computation. In which, [5], [6] are few application of
sources would simultaneously try to transmit packets to multi path that provides better performance in multimedia
one destination via a single link, a high probability that the and data communication. In order to offer high video
number of packets would exceed the packets handling quality, a certain minimum end-to-end bandwidth has to
capacity of the network and lead to heavy congestion. be provided. In bandwidth-limited networks, it is difficult
to guarantee such a bandwidth with a single path. To meet
In this paper, the proposed algorithm, swarm intelligence the bandwidth requirement, a multipath approach is
based multi path routing protocol with Redundant Link proposed by Jiancong Chen et al [5]. Ka-Cheong Leung et
Avoidance (RLA) algorithm, focused to solve this al [6], explains implementation of multipath for avoiding
important facts {f}, {g} and also the other facts {a-e}. two different traffic types, connection-oriented traffic and
This routing methodology ensures traffic free routing by mixed traffic. Connection-oriented traffic consists of
avoiding copious link. Perspective of this routing traffic from TCP connections only, while connectionless
methodology is sharing load on multiple routes to obtain traffic comes from non-TCP connections. Mixed traffic is
optimal response time and at the same time avoiding composed of both connectionless and connection-oriented
packet drop due to overloading in the network. traffic. For both multimedia and data communication,
multipath avoids traffic induced by the facts {a e}
The remaining of this paper is organized in the following shown in section 1, but there are some more situations {f
manner: Survey of various related work, its classification, g} that the network becomes congested when
and existing algorithm is explained in the Section Two. implementing multi path. This paper, further continuing
The proposed work and the algorithm used in this paper with literature survey of the various multipath routing
are described in Section Three. Conclusion and further algorithms developed recently.
studies are discussed in Section Five followed by the
performance analysis of the proposed work is shown in The selection of the routing paths is major design
Section Four. consideration that has a drastic effect on the resulting
performance. Therefore, although many flow-control
2. Related Work algorithms are optimal for a given set of routing paths,
their performance can significantly differ for different sets
The basic problem of routing is, to find the path of lowest of paths. Previous studies and proposals on multi-path
cost between any two nodes. Routing algorithms can be routing in the previous context have focused on heuristic
grouped into three major classes [4]: non-adaptive, methods. In [7], a multi-path routing scheme, termed equal
adaptive and distributed. Non-adaptive algorithm, also cost multi-path (ECMP), has been proposed for balancing
static routing is computed in advance, offline using local the load along multiple shortest paths using a simple
information, their routing decision not based on round-robin distribution. By limiting itself to shortest
measurements or estimates of the current traffic and paths, ECMP considerably reduces the load balancing
topology. Adaptive algorithms, centralized routing will capabilities of multi-path routing; moreover, the equal
collect information from the entire subnet using global partition of flows along the shortest paths, resulting from
information in an attempt to make optimal solution. the round robin distribution, further limits the ability to
Distributed algorithm uses a mixture of local and global decrease congestion through load balancing.
information.
OSPF-OMP [8] allows splitting traffic among paths
Based on the discovery of no of path, the routing unevenly; however, the traffic distribution mechanism is
algorithms further divided as single-path and multi-path. based on a heuristic scheme that often results in an
Single path routing algorithm chooses only one best inefficient flow distribution. A. E. I. Widjaja [9]
shortest route between a given pair of source to destination considered multi-path routing as an optimization problem
for all of its traffic. Multi-path, the bifurcated routing with an objective function that minimizes the congestion
IJCSI International Journal of Computer Science Issues, Vol. 7, Issue 3, No 6, May 2010 29
www.IJCSI.org
of the most utilized link in the network; however, they Initially, three different versions of AS were proposed,
focused on heuristics and did not consider the quality of namely ant density, ant quantity and ant cycle [25]. In the
the selected paths. ant density and ant quantity versions, the ants updated the
pheromone directly after a move from one city to an
Israel Cidon et al [10] concluded two phenomena in the adjacent city, in the ant cycle version the pheromone
implementation of multi path routing protocol: 1) as the update was only done after all the ants had constructed the
link capacity increases, the relative performance of multi- tours and the amount of pheromone deposited by each ant
path routing decreases, 2) as the number of possible routes was sent to be a function of the tour quality. Now a day,
increases, the relative performance of multi-path routing when referring to ACO, it means to ant cycle since the two
also increases till k number of paths and when it exceeds other variants were abandoned because of their inferior
the limit, the performance will be degraded. So to choose performance. Solution construction and Pheromone
only k path is an important consideration for implementing Update are the two phases of ACO implementation.
multi path routing and the optimal value of k, may change
in practice. Weijia Jia et al [11] proposed an approach In ACO based routing algorithm, solution construction
that named as integrated routing, to select a subset of handles formation of routing table, Pheromone update
routers to carry out multi path routing (MPR), the rest of used to choose the single optimal path based on density of
the routers execute Single path routing (SPR). With proper pheromone, in case of single path routing; and the
selection of MPR routers, shortcomings in the MPR will pheromone update desires the probability of load sharing
be rectified. This approach may provide better result but to along multiple path, in case of multi path routing. The
implement this protocol in the network requires two tasks: ACO routing may provide feasible solution for traffic
router assignment and routing interface selection. The management problem, even though the overloading {f}
performance of this approach lies only in these two tasks and traffic merging {g} still is an issue in computer
and implementing these two tasks in the internet like network. This paper concentrates to solve overloading and
environment is highly impractical. traffic merging by implementing RLA algorithm as
creamy layer over existing ACO. The following section
Dijkstra-old-touch-first (Dijkstra-OTF) with multipath describes our proposed work in detail.
extension [12] is an extended version of conventional
Dijikstras shortest path algorithm that computing all 3. Proposed Work
lexicographic- lightest paths from a source to every other
node in the network, but it requires additional The proposed routing protocol has two components,
computational efforts. DiCaro et al [13] developed Swarm namely ACO Based Multipath Routing algorithm and
Intelligence (SI) based routing algorithm, called Ant-Net redundant link avoidance algorithm. The main idea of
Routing using ant colony optimization technique with ACO is to model the problem as the search for a minimum
multi path capability. The ACO era starts with cost path in a graph. Artificial ants walk through this
Schoonderwoerd et al [14], they proposed Ant based graph, looking for good paths. Each ant has a rather
control (ABC) for telephone network, it continues with ant simple behavior so that it will typically only find rather
based algorithm for packet switched network proposed by poor-quality paths on its own. Better paths are found as
Subramanian et al [15] and a co-operative Asymmetric the emergent result of the global cooperation among ants
Forward (CAF) model for routing with asymmetric costs in the colony.
are ant colony optimization based single path routing
algorithm developed by Heusse et al [16]. The behavior of artificial ants is inspired from real ants,
they lay pheromone trails on the graph edges and choose
ACO is a stochastic approach that has been proposed to their path with respect to probabilities that depend on
solve different hard combinatorial optimization problems pheromone trails and these pheromone trails progressively
in almost all engineering fields such as traveling salesman decrease by evaporation. In addition, artificial ants have
problems, graph coloring problems, quadratic assignment some extra features that do not find their counterpart in
problems, resource-constrained project scheduling real ants. In particular, they live in a discrete world and
problem [17], knowledge representation tools[18], their moves consist of transitions from nodes to nodes.
Computer-assisted testing systems[19], Grid Workflow Also, they are usually associated with data structures that
Scheduling Problem[20], Self-Structured P2P Information contain the memory of their previous actions. In most
System[21], Intelligent transportation systems[22], Robot cases, pheromone trails are updated only after having
Path Integration[23], and Clustering and Data mining[24]. constructed a complete path and not during the walk, and
the amount of pheromone deposited is usually a function
of the quality of the path. Finally, the probability for an
IJCSI International Journal of Computer Science Issues, Vol. 7, Issue 3, No 6, May 2010 30
www.IJCSI.org
artificial ant to choose an edge often depends not only on step is carried out until front reaches rear of the queue.
pheromones, but also on some problem-specific local The detailed algorithm is shown in the following section
heuristics. 3.1 and various test cases for the proposed work is shown
in section 3.2 to 3.4.
The ACO based multipath algorithm implemented in this
paper, using forward and backward ants. Ants in each set 3.1 Redundant Link Avoidance (RLA) Algorithm:
possess the same structure, but they are differently situated
in the environment, i.e., they can sense different inputs Procedure RLA(t, tend, t)
and they can produce different, independent outputs. Ants input t // current time
communicate in an indirect way, according to the dynamic input tend // time length of simulation
paradigm, through the information they concurrently read input t // time interval between ants generation
and write on the network nodes they visit. While travelling
toward their destination nodes, the forward ants keep // concurrent activity over the network
memory of their paths and of the traffic conditions found. for each i C do
In single path routing protocol, an optimal path recorded
by the ant was chosen as path between given source to M InitLocalTrafficModel
destination. In multi path routing protocol, all paths are T A InitNodeAvailRoutingTable
chosen for communicating from source to destination. As TS InitNodeSelectedRoutingTable
discussed in the previous section, some of the available
path in the multi path routing protocol, heavily congested // concurrent activity on each node
due to traffic merging problem.
while t tend do
in_parallel
The redundant link avoidance algorithm removes such
links called replicating links from destination towards
if (t mod t) = 0 then
source using two data structures named available route
array and selected route array. All available routes found destinationSelectDestination
by multipath routing protocol from source to destination is (traffic_distribution_at_source)
stored in the available routes, a two dimensional array,
followed by initializing a selected route (one more two Launch_Forward_Ant (source, destination)
dimensional array), and two queues namely selected_
relationship and available_ relationship. end-if
The first optimal route is copied from available route to for each (Active_Forward_Ant [source, current,
selected route, then all links of this route is divided from destination] ) do
destination towards source and stored into selected_
relationship queue and the same was removed available while (current destination) do
route. The same way, next route from available route is next_hop SelectLink (current, destination,
selected and divided. If front of available_relationship and link_queues, T A)
front of selected_relationship are equal then this route is PutAntOnLinkQueue (current, next_hop)
removed from available route, and deleted all association WaitOnDataLinkQueue(current, next_hop)
from available_relationship and the previous process is CrossLink (current, next_hop)
repeated until reaches the tail. If front of Memorize (next_hop, elapsed_time)
available_relationship and front of selected_relationship current next_hop
are not equal then next link is processed, and the above end-while
1.3
160
140 We implemented the proposed work in NS2 simulation, a
Response Time in ms
120
100
in Ant-Net
widely used open source discrete event Network Simulator
80
60
in RLA tool. There are many network simulation tools available,
40
20
for example, GloMoSim, Omnet, Opnet, Qualnet. In
0
100 150 200 500 1000 which NS2 is preferred by almost all researchers and
Load in Packets
academicians, because it covers a very large set of
applications, protocols, network types, network elements
(a) Ant Net Vs RLA and traffic models.
Response Time in OSPF Vs RLA on different Load condition
250
The following events are scheduled in the Implementation,
Response Time in ms
200
150
1) Data communication from Source1 to destination for 8
in OSPF
100
in RLA sec, 2) the proposed work implemented for 8 Sec. By
50
using AWK Programming, the packet loss and average
0
response time of before and after implementing the
100 150 200 500 1000
proposed algorithm is measured from the trace file. These
Load in Packets
values are listed here:
(b) OSPF Vs RLA 100 packets loss in 8 sec simulation implementing
Response Time in BF Vs RLA on different Load condition existing ACO based multi-path algorithm
300 0 packets loss in 8 sec simulation implementing
250
proposed ACO with RLA
Response Time in ms