Professional Documents
Culture Documents
p p
random
independent
selection
1-p (1-p)
If each arrival of a Poisson process is independently
sent to system 1 with prob. p and system 2 with prob.
1-p, the arrivals to each system are Poisson and
independent.(see also Ex.3.11a)
1
Routing in Data Nets
Datagarms: routing decision for every packet.
Virtual Circuits: one routing decision for all the
packets of the same session.
Issues
y selection of paths
y broadcasting of routing-related info.
Performance Measures
Throughput (“quantity” of service)
Average packet delay (“quantity” of service)
2
2IIHUHGORDG WKURXJKSXW
)ORZ&RQWURO 5RXWLQJ
'HOD\
5HMHFWHGORDG
JRRGURXWLQJ
7KURXJKSXW
3
Example:
XQLWV XQLWV
RULJLQ RULJLQ
$OOOLQNVKDYH
FDSDFLW\RIXQLWV
GHVWLQDWLRQ
4
Routing may be:
1. Centralized or Distributed
y Centralized: all routing choices are made at a central
node.
y Distributed: computation of routes is shared among
nodes who exchange information if necessary.
5
Shortest Path problem
6
Bellman-Ford algorithm
D 01 = 0
D 0i = , i 1
D h+1
i = min [d ij + D hj ] *
jFN(i)
for all i
7
Example: Bellman-Ford (infinite initial conditions)
FRVW
GHVWLQDWLRQ
VW6WHS QG6WHS
FXUUHQWGLVWDQFHWRQRGH
GHVWLQDWLRQ GHVWLQDWLRQ
UG6WHS WK6WHS
GHVWLQDWLRQ GHVWLQDWLRQ
8
Example: Bellman-Ford zero initial conditions
GHVWLQDWLRQ
9
Routing in the ARPANET
1969 algorithm:
Node i computes an estimate D i of its distance to a
given node 0
D i =min (d ij + D j ), i 0,
jFN(i)
N(i): neighbors of i
D j: obtained by neighbors every 0.62 sec
D0 = 0
10
Instability problems (original ARPANET)
3UREOHP6KRUWHVWSDWKVURXWHVIORZDUFOHQJWKV
)HHGEDFNKHUHFDQEHXQVWDEOH
'HVWLQDWLRQ
'
'
'
'
'
'
'
'HVWLQDWLRQ
'
'
'
'
'
'
'
1RWHWKDWQH[WVKRUWHVW
SDWKRIQRGHZLOOKDYH
DFRXQWHUFORFNZLVH
11
'HVWLQDWLRQ
'
'
'
'
'
'
'
12