Professional Documents
Culture Documents
An Intelligent Network Routing Algorithm by A Genetic Algorithm
An Intelligent Network Routing Algorithm by A Genetic Algorithm
Masaharu Munetomo, Yoshiaki Takai, and Yoshiharu Sato Hokkaido University, JAPAN.
An adaptive routing algorithm which employs genetic operators to realize an intelligent routing which directly observes communication latency of the routes. Path genetic operators for the routing algorithm which generates alternative routes based on the network topology.
Each node forwards communication packets based on its Routing Table. Routing Algorithms generate routing tables based on network topology. Two major categories of routing algorithms
Interior Gateway Protocols (IGP) Exterior Gateway Protocols (EGP)
Routing protocols inside an autonomous system (AS) such as a Local Area Network We have two major protocols for the IGPs commonly used in the Internet:
Routing Information Protocols (RIP)
Routing protocols outside an AS which exchanges routing information among ASs. Recently, BGP (Border Gateway Protocols) become popular in the Internet. The BGP4 employs a source routing approach which determines all the nodes along a route in the source node instead deciding only its next hop.
A distributed algorithm Each node broadcasts its routing table. Each node recalculates distances in the routing table on receiving a routing table from its neighbors.
Routing Table in node A Destination Next hop Distance B G 3 C E 4 D D 1 Routing Table in node D
Broadcast Destination Next hop Distance
A E F
1 4 2
Each node broadcasts its link status. Each node stores network topology generated from the received link status information and calculates shortest paths by using the Dijkstras Shortest Path First Algorithm. The algorithm can reduce communication overhead by broadcasting only link status not all the routing tables.
Not scalable: they Communication Overhead increase their communication overhead RIP SPF in larger networks. # of messages O(n2) O(n2) Not efficient when they Message size O(n) O(1)-O(n) need to collect load status Total overhead O(n3) O(n2)-O(n3) of links repeatedly to consider delay along a (n : # of nodes in the network) route to be minimized.
Employing source routing and only maintain a set of alternative routes frequently used in communication. Alternative routes are generated by Path Genetic Operators we propose. Observing communication latency for the limited number of routes to greatly reduce communication overhead for the routing.
Encoding paths(routes) by listing up node IDs, for example, (0 12 5 8 2 9). We have two path genetic operators: - Path Mutation - Path Crossover Selection is performed by deleting routes not frequently used in the routing table.
Path Mutation
1. We select a node (nm) from the original route.
Path Crossover
--- Exchanges sub-routes among a pair of routes.
Each node periodically sends delay query packets to observe communication latency along a route. Fitness value is calculated from the delay
wi 1 / i jS 1 / i
1 / di jS 1 / di
di : delay of route i
Simulation Experiments
Using a network simulator written in C++. Sample network is taken from Japanese geographical info. Simulation time is 3000s. Genetic operators are invoked at every 30 evaluation of delay.
GBR
SPF
RIP
Conclusions
Path Genetic Algorithm (pGA) we propose creates alternative routes in routing tables. A genetic based routing (GBR) algorithm can effectively forward communication packets, which leads to smaller arrival time. Load balancing among links is realized by the GBR algorithm.