Académique Documents
Professionnel Documents
Culture Documents
Volume: 1 Issue: 5
___________________________________________________________________________
charikajain17@gmail.com
Amity School of Engg & Tech,
Amity University Rajasthan
Sokil_jitu@yahoo.com
Amity School of Engg & Tech,
Amity University Rajasthan
Abstract: - Computer networks have progressed to a complex communication infrastructure from a simple store and forward
medium. In the network, routers need to implement a variety of functions ranging from simple packet classification for forwarding
and firewalling to complex payload modifications for encryption and content adaptation. As these functions increase in number
and complexity, more processing time is required, and packets experience a significant processing delay. In most routing
algorithms, this delay has not been addressed because it was considered negligible. However, this network processing delay has
reached the magnitude of long-distance propagation delay and thus becomes a significant contributor to the overall packet delay.
Thus this paper optimize the dijkstras algorithm and calculate the shortest path considering the processing delay, and have less
number of hops in the shortest path. The contributions of this work can be used to increase the accuracy of network simulation and
improve network performance estimations.
Index Terms: Communication network, Processing delay, Routing and Hop count
_____________________________________________________*****______________________________________________________
1.INTRODUCTION
The internet has progressed to a more composite
communication infrastructure from a simple store-andforward network. To meet demands on performance,
security, and flexibility, network traffic not only needs to
be forwarded, but also processed inside the network. This
packet processing is done on routers (mainly edge
devices) and not on the end systems. Examples of
protocols and applications that require such additional
processing are network address translation (NAT)[1],
firewalling[2], and virtual private network (VPN)
tunnelling. The processing required for VPN termination
is considerable as it requires the use of cryptographic
algorithms (e.g., Advanced Encryption Standard (AES)
[3]). There is also a drift towards more complex services,
which demand even more intense processing, like virus
scanning, content adaptation for wireless clients, or ad
insertion in web page requests. In particular, the need for
security in todays Internet is leading towards additional
processing on edge and access routers where traffic can be
filtered and blocked if needed. This trend in the direction
of increasing computation will continue as more security
features and services will have to be implemented in the
future. In this paper we will add this delay of processing
with the propagation cost for calculating the cost to route
packet from one router to another router.
Routers require more time to forward packets,
due to the increasing complexity of processing. The
required performance is achieved by processing many
packets in parallel on the set of processor cores. This
improves the overall router throughput and supports
increasing link speeds. Individual packets, however,
observe increasing delays because they are processed on a
single processing core. Together with the increasing
complexity of packet handling, this causes the processing
___________________________________________________________________________
Volume: 1 Issue: 5
___________________________________________________________________________
Forwarding). We show, however, that this is not the case
anymore as packet processing on routers becomes more
complex. The measurements and simulations indicate that
packet processing can take considerable time when
payload modifications are involved. Encryption of a
single packet, for example, can take in the order of
milliseconds, which contributes as much as 50% of the
overall packet delay (as shown in column Complex
Payload Modifications in Table I).
Algorithm:
TABLE 1[5]
NETWORKING DELAY COMPONENTS. A 1GB/S
LINK, 1250 BYTE PACKET, 100MIPS PROCESSOR,
AND LINK DISTANCE OF 200KM ARE ASSUMED.
2. EARLIER WORK
Dijkstras Algorithm was created in 1959 by Dutch
computer scientist Edsger Dijkstra. While employed at the
Mathematical Centre in Amsterdam, Dijkstra was asked
to demonstrate the powers of ARMAC, a sophisticated
computer system developed by the Mathematical Centre.
Part of his presentation involved illustrating the best way
to travel between two points and in doing so, the shortest
path algorithm was created. It was later renamed
Dijkstras Algorithm in recognition of its creator.
Dijkstras Algorithm is a graph search algorithm
that solves the single-source shortest path problems for a
graph with non negative edge path costs, producing a
shortest path tree. This algorithm is often used in routing
and other network related protocols.
For a given source vertex (node) in the graph, the
algorithm finds the path with lowest cost (i.e. the shortest
path) between that vertex and every other vertex. It can
also be used for finding costs of shortest paths from a
single vertex to a single destination vertex by stopping the
algorithm once the shortest path to the destination vertex
has been determined. For example, if the vertices of the
graph represent cities and edge path costs represent
driving distances between pairs of cities connected by a
direct road, Dijkstras algorithm can be used to find the
shortest route between one city and all other cities.
480
IJRITCC | May 2013, Available @ http://www.ijritcc.org
___________________________________________________________________________
Volume: 1 Issue: 5
___________________________________________________________________________
The smallest distance = 12, so we darken edge AB:
___________________________________________________________________________
Volume: 1 Issue: 5
___________________________________________________________________________
packet at a node and its arrival at the next node. The
above equation decomposes the nodal delay into
components that are simpler to analyze.
PROPOSED WORK
Algorithm:
Initialization and everything is same in this algorithm
except the formula to calculate the dictance to each node.
for each neighbor v of u:
alt := dist[u] + dnodal;
// where dnodal is the processing delay at node
if alt < dist[v]:
dist[v] := alt ;
previous[v] := u ;
decrease-key v in Q;
end if
end for
Delay components:
1. Processing delay: integrity checking, routing, etc.
2. Queuing delay: Waiting in output buffer prior to
transmission. Variable.
3. Transmission delay: Getting the entire packet out the
door.
Let packet contain L bits and link transmission rate be R
b/s. Transmission delay is
then L/R.
4. Propagation delay: Time for one bit to traverse the
medium between two switches.
example:
Now the same example is taken so that a comparison can
be
made.
Firstly the distance of A is 0, it is same as of dijkstras
algorithm.
Assume dnodal=1
We examine the edges that leave A. The edge
AB gives us a path of cost 13 from A to B so we change
distance(B) = 13. Likewise, we change distance(C) and
distance(D) from to the smaller value 31 and 12
respectively:
The smallest value of distance is 12, which happens at D
so we follow A to D path. Thus darkening the AD edge.
where,
dnodal
___________________________________________________________________________
Volume: 1 Issue: 5
___________________________________________________________________________
The edge DB has weight 12, tells us we can get from A to
B for a cost of
Distance(D) + distance_between(DB) + p = 11 + 12 + 1=
24,
which is more than 13. We leave distance(B) at 13. The
edge DE has weight 11, tells us we can get from A to E
for a cost of
distance(D) + distance_between(DE) + p = 11 + 11 + 1 =
23,
which is less than , so we change distance on E so that
distance(E) = 23. The edge DC has weight 23, tells us we
can get from A to C for a cost of
___________________________________________________________________________
___________________________________________________________________________
[4]Roch Guerin and Ariel Orda, Computing shortest
paths for any number of hops.
[5]Ramaswamy Ramaswamy, Ning Weng and Tilman
Wolf, Characterizing Network Processing delay.
484
IJRITCC | May 2013, Available @ http://www.ijritcc.org
___________________________________________________________________________