Download presentation
Presentation is loading. Please wait.
Published byLiliane Alarie Modified over 6 years ago
1
Access Network Design A Backbone network connects major sites.
Access networks connect small sites to the backbone network. How to decide which sites should be in the backbone network? Traffic volume Close to multiple small sites Access network collect traffic from small sites into the high speed backbone network. Sharing high speed links, enjoy economic of scale benefit. Examples of local access networks Local subscriber loop connects users of a central office. Lottery network ATM network ISP’s local access network. 12/8/2018 C. Edward Chow
2
A Simple Access Design 7 nodes. N1 is the backbone site. Symmetric traffic. Piecewise linear cost: Fixed cost=400 $3.00/km/mo first 300km $1.75/km/mo after 300km 12/8/2018 C. Edward Chow
3
Star Cost=$9650; Max. Utilization=23.2% 12/8/2018 C. Edward Chow
4
Cheaper Local-Access Design
N2 serves as a concentrator for N6 and N7. Local link can use shorter less expensive link. 12/8/2018 C. Edward Chow
5
Two concentrators N2 for N6 and N7; N4 for N3. 12/8/2018
C. Edward Chow
6
Move to MST Choose N7 as concentrator instead of N2. Become MST
12/8/2018 C. Edward Chow
7
MSTs not always Optimal Access Designs
When traffic grows 50%, MST costs $10,616 and the links to concentrators N4 and N7 must have two links to keep utilization below 50%. 12/8/2018 C. Edward Chow
8
An Optimal Design Constraint MST problem. Note that N3 connect directly to N1 since through N4 will violate the utilization constraint. 12/8/2018 C. Edward Chow
9
Frame Relay Design Current frame relay provide permanent virtual circuit (PVC). They are moving to offer Switched virtual circuit (SVC). PVC is fixed pipe. SVC is dialed pipe. Packets exceed Committed Information Rate (CIR) will have discard eligibility (DE) bit set. Three classes of charges: access link costs, provider port costs (cost to frame relay), and CIR costs. It is volume dependent and not distance dependent. Port Charges CIR charges per PVC 12/8/2018 C. Edward Chow
10
Frame Relay vs. Lease-Line Cost
Let x be the distance from the site to the center. Fixed cost=$400/month; $3.00/km/month. Leased-line cost=6*400+6*3.00*x Assume frame relay provider has point of presence (pop) at each site. Each site connects to the frame relay network. N1 uses 128 kbps link, others use 56kbps links. Port charges=6* =2000. Access charges=7*( *20)=7*460=3220 CIR charges=4*30+2*25=170 if 4 PVCs with 16kbps CIR and 2PVCs with 8kbps. Frame relay cost= =$6290/mo Solve *x=6290 x= km. Break even point. Most WAN are larger than this Frame Relay is a good candidate. 12/8/2018 C. Edward Chow
11
Choosing Backbone Nodes
Definition 5.1: Given a set of sites Ni and traffic matrix T(i,j), weight(Ni)=Sj(T(i,j)+T(j,i)). Sometimes, the weights of nodes indicate the choices of backbone nodes or traffic centers. Design Principle 5.3: It is acceptable for small nodes to route their traffic via big nodes, but generally we do not want to route the traffic between big nodes via the small nodes. 12/8/2018 C. Edward Chow
12
3 Types of Local Access Problems
Access node’s traffic are considerably smaller than the smallest link. But occasionally, they may need to download huge file Use frame relay or access tree (capacitated spanning tree building problem.) Access node’s traffic is comparable to the capacity of the smallest link. Choices: connect them directly to hub or put concentrator between hub and those nodes. (Concentrator placement problem, local access tree problem.) Access node’s traffic can fill several low-speed access lines. Choices: multiple links to multiple backbone nodes; or high speed link to a backbone node. They are nature choices for concentrator locations. 12/8/2018 C. Edward Chow
13
One-speed One-Center Design
Example: 19 nodes to a hub, N14. 4 sites can share a line. Each link is 1200 bps. Use 9600 bps link. 50% utilization. The problem becomes a tree building problem. Solution: SPT MST Prim-Dijkstra with 0<a<1. Other algorithm? 12/8/2018 C. Edward Chow
14
SPT(Star) Cost=$26358 12/8/2018 C. Edward Chow
15
MST $18,730 12/8/2018 C. Edward Chow
16
Prim-Dijkstra with a=0.3 $ N11 can go through N4; Two clusters with N18 and N9 as concentrators. 12/8/2018 C. Edward Chow
17
How Many possible Trees to Search for Optimal Designs?
Cayley’s Theorem: Given n nodes, there are nn-2 different spanning tree. For 20 nodes, there are 2018=2.621*1023 trees. 12/8/2018 C. Edward Chow
18
Constraint Minimum Spanning Tree Problem
It solves the problem of creating capacitated (constraint) minimum spanning tree (CMST). CMST problem: Given a central node N0 and a set of other nodes (N1, …, Nn), a set of weights(w1,…,wn) for each node, the capacity of a link, W, and a cost matrix Cost(I,j), find a set of trees T1, …, Tk such that each Ni belongs to exactly one Tj and each Tj contains N0, and 12/8/2018 C. Edward Chow
19
Greedy CMST Algorithm Sort the edges according to the cost.
s1: Take the lowest cost edge from sorted list. Add it to the solution subtrees if the addition does not violated the constrain go to s1. Assume W=3, each node has wi=1, and the following topology: 12/8/2018 C. Edward Chow
20
Esau-William Algorithm
Initially, each node starts off in a tree with itself. Compute the tradeoff function: Tradeoff(i,j)=minj Cost(i, j)-Cost(Comp(ii),Center) where Cost(Comp(i),Center) is the cost of connecting the component with Node i to the center. It is equivalent to the cost of the shortest path from the Center to any node in the component. Cost(i,j) is the link cost from Node i to Node j. minj Cost(Ni,Nj) suggests pick the closest neighboring Node j. Maintain a sorted list of links based on the Tradeoff() value. Actually, in each iteration, we only consider the shortest link out of a node to a neighbor that does not belong the component of the node. L1: adds the top link in the list to the solution if the weight constraint of the component is satisfied. otherwise reject it. update the tradeoffs in other links due to the newly added link and resort the list. got to L1. 12/8/2018 C. Edward Chow
21
Apply Esau-William Algorithm
Assume W=3, each node has wi=1, and the following topology: Tradeoff(1,3)=minj Cost(1,J)-Cost(Comp(1),Center) =minj Cost(1,3)-7 //comp(1) contains N1 =5-7=-2 // pick closest neighbor, Node 3 Tradeoff(2,0)=6-8=-2 Tradeoff(3,1)=5-11= -6 Tradeoff(4,2)=7-14= -7 Tradeoff(5,3)=8-17= -9 Tradeoff(5,3) is lowest one. Accept link(5,3) to the solution since weight constraint on component with nodes 5 and 3 are not violated. SWi=W5+W3=2<=W=3 Effectively this picks the faraway node with short link to its neighbor and group them as component. 12/8/2018 C. Edward Chow
22
Apply Esau-William Algorithm(2)
Update Tradeoff(5,4)=9-11= -2 Next shortest link out of 5 is (5,4) (Comp(5)=11,node 5 goes through node 3 to center) Tradeoff(3,1)=5-11= -6 not changed. Tradeoff(1,3)=5-7= -2 Tradeoff(2,4)=6-8= -2 Tradeoff(4,2)=7-14= -7 Tradeoff(5,4)=9-11= -2 Pick Tradeoff(4,2) lowest Accept link(4,2) since weight constraint on component with nodes 4 and 2 are not violated. SWi=W4+W2=2<=W=3 12/8/2018 C. Edward Chow
23
Apply Esau-William Algorithm(3)
Update Tradeoff(4,3)=8-8= 0 Tradeoff(2,1)= -2 not changed. Tradeoff(3,1)=5-11= -6 Tradeoff(5,4)=9-11= -2 Tradeoff(1,3)=5-7= -2 Tradeoff(2,1)=6-8= -2 Tradeoff(4,3)=8-8= 0 Pick Tradeoff(3,1) Accept link (3,1) since weight constraint on component with nodes 1, 3 and 5 are not violated. SWi=W1+W3 +W5 =3<=W=3 Since nodes 5 and 3 now go through node 1 to Center, update Tradeoff(5,4)=9-7=2 Tradeoff(3,4)=8-7= 1 Tradeoff(1,2)=6-7= -1 12/8/2018 C. Edward Chow
24
Apply Esau-William Algorithm(4)
Tradeoff(5,4)=9-7=2 Tradeoff(3,4)=8-7=1 Tradeoff(1,2)=6-7= -1 Tradeoff(2,1)=6-8= -2 Tradeoff(4,3)=8-8=0 Tradeoff(2,1) is lowest but add link(2,1) result a component with 5 nodes violate Swi<=3. Reject(2,1) recompute Tradeoff(2,0)=8-8=0 Reject(1,2) similar reason. Recompute Tradeoff(1,0)=7-7=0 Pick link(1,0) Pick link(2,0) complete the access network. 12/8/2018 C. Edward Chow
25
Creditability of Esau-Williams Algorithm
1-exchange test: no cheaper link can be substituted for an existing link without violating the capacity constraints. For homogeneous traffic, 4 sites on a line Consider pretty good! 12/8/2018 C. Edward Chow
26
Esau-Williams and InHomogenous Traffic
12/8/2018 C. Edward Chow
27
Line Crossing and Esau-Williams
12/8/2018 C. Edward Chow
28
Sharma’s Algorithm Compute the angle s from each site S to the central site C. If S and C have the same coordinate, set s =0. Sort the angles s . Beginning at a site Sfirst, create a set of nodes clockwise (or counterclockwise) from Sfirst. A set is complete when adding the next node would put Ssetw(site) > W. The next set starts with that node. The design is completed by building a MST on each set with the addition of the central node C. Note that the CMSTs do not have line crossing. Each has edges within some range from the central site. 12/8/2018 C. Edward Chow
29
Sharma’s Algorithm Result
12/8/2018 C. Edward Chow
30
Creditability of Sharma Algorithm
Much higher failure rate than Esau-Williams’. 12/8/2018 C. Edward Chow
31
Sharma vs. Esau-Williams
EW_Ratio=SharmaCost/EWCost; S_Ratio=1/EW_Ratio 12/8/2018 C. Edward Chow
32
Multispeed CMST Problem
Find the tree rooted at N0, s.t And is minimum. Here pred(N) is a predecessor function that leads towards the root. Ancestor of N are nodes, N’, such that predn(N’)=N for some n > 0. C(i,j,k) is the cost matrix which give the cost of a link of type Lk between Ni and Nj. 12/8/2018 C. Edward Chow
33
Multispeed Local Access Algorithm (MSLA)
Assign each node the smallest link l possible to connect it to the center. Compute spare_capacity(n)=Wl-wn. Create trade-off heap for n similar to Esau-Williams. The trade-offs represent the saving from linking site n to site rather than directly link to the center. Allow upgrade links to carry additional traffic. Tradeoffn(I)=c(n,i, l)+Upgrade(i,wn)-c(n,0,l) Upgrade(i,wn ) is the cost of adding wn units to the links that connect i and 0. Add the edges as long as the tradeoffs are less than or equal to zero. Terminate when tree is built. 12/8/2018 C. Edward Chow
34
MSLA Example 0 1 2 spare_capacity(1)=0.5*56000-20000=8000
Initial State (Utilization=0.5) 0 1 2 12/8/2018 C. Edward Chow
35
MSLA (2) N2 is furthest away from N0. It is closer to N4.
For N2 to go through N4, require (4,0) to upgrade from 9600 to It is c(4,0,1) – c(4,0,0). Tradeoff2(4)=c(2,4,0)+(c(4,0,1)-c(4,0,0))-c(2,0,0). Not pick. N4 goes through N3, no upgrade is needed. It is the best tradeoff. Next, the most attractive tradeoff is route N2 through N3. Again no upgrade is needed. Finally, connect N3 to N1 and increase (1,0) to 128kbps link. 12/8/2018 C. Edward Chow
36
MSLA (3) 12/8/2018 C. Edward Chow
37
Esau Williams 20 nodes with 9.6kbps links
12/8/2018 C. Edward Chow
38
MSLA 20 nodes with multispeed links
12/8/2018 C. Edward Chow
39
MultiCenter Local-Access (MCLA) Problem
Given a set of backbone sites B=(B0,…,Bm) a set of access nodes N=(N1,…,Nn) A set of weights (w1,…,wn) for each access node, A cost matrix Cost(i,j) for each backbone/access pair Find a set of trees T1,…,Tk s.t. Exactly 1 backbone site belongs to each tree SNiTj wi<W STreesSl Links Cost(endll,end2l) is minimum. 12/8/2018 C. Edward Chow
40
Nearest-Neighbor Esau-Williams
Algorithm NNEW: For each b in B, let Sb={ nN | Cost(n,b) < Cost(n,b’) b’B} If n is equidistant between several backbone nodes, add n to one Sb at random. Use Esau-Williams to construct a capacitated MST on each set bSb. Example: circlebackbone node squareaccess node A definite belong to X B, C, and D not clear. 12/8/2018 C. Edward Chow
41
Creditability Test Test Exchange leave node to a different tree and see if it reduces the cost. NNEW creditability not good 12/8/2018 C. Edward Chow
42
MultiCenter Esau-Williams
MCEW algorithm (Kershenbaum-Chou): Replace the tradeoff function as Tradeoff(i,j)=minj Cost(i, j)-Cost(Comp(i),Center(i)) Initially, we set Center(i) to be the closet center. As node i is merged with node j, update Center(i)=Center(j). 12/8/2018 C. Edward Chow
43
NNEW vs. MCEW Slight cost advantage of using MCEW.
MCEW is more creditable. 12/8/2018 C. Edward Chow
44
Practical Considerations
Some access trees contain too many nodes. Solution: add additional test/constraints that prohibit the merge of two components with too many nodes. Some access trees contain too many hops. Solution: add depth checking constraint. Some site in the access tree has too many links. Solution: add degree constraint. A central site has too many links. Solution1: Modify the tradeoff function as Tradeoff(i,j)=minj Cost(i, j)-a*Cost(Comp(i),Center)) where a > 1. By adjust a we limit the links connect to a center. Solution 2: Use NNEW or MCEW with initial center assignment of some nodes to low utilization center. Some site fails too often. Solution: Mark it as not being choice for predecessor of other sites. 12/8/2018 C. Edward Chow
45
Homework #6: Local Access Design
Given the topology below, the weight of each node is 1, and W = 3 a) apply the greedy CMST algorithm. b) apply the Esau-Williams algorithm. Highlight the trees (components) selected. 12/8/2018 C. Edward Chow
46
Solution to Hw#6 Solution a): Greedy MST. First sort the edge cost in increasing order. Edge Cost CMST Decision (1,4) 1 select (2,3) (0,1) 2 (3,5) (0,5) 5 Select, Done! (2,4) (1,2) 6 (1,3) 7 (0,2) 8 12/8/2018 C. Edward Chow
47
Solution to Hw#6(2) Solution b) Esau-Williams Algorithm
begin by computing the tradeoffs for the nearest neighbors of each node (since that link will have smallest cost and yield a low trade-off values): t14 = c14 - cc1 = = t23 = = t32 = = t41 = = t53 = c53 - cc5 = = -3 starting with t41 which is the lowest tradeoff value, we add link (4,1) to subtrees, now cc4 = 2 since node 4 now connected to the center through node 1, find the next nearest neighbor of 1 to be 0, t10=2-2=0 let us now compute the tradeoff between node 4 and the next nearest neighbor to node 4 (which is node 2), t42 = c42 - cc4 = 5 -2 = 3 12/8/2018 C. Edward Chow
48
Solution to Hw#6(3) Now t32 has the lowest tradeoff value, add link (3,2) to the subtrees, now cc3 = 8 and the next nearest neighbor to node 3 is 5, t35 = = -6 We also need to update t23 since (2,3) is chosen. The next nearest neighbor to node 2 is 4, t24 = = -3 Select t35=-6, add link(3,5) to the subtrees. N ow Cc2=Cc3=Cc5=5, we need to update t31=7-5=2 t24=5-5=0 t50=5-5=0 Select (1,0) add link (1,0) to the subtrees. Reject (2,4) since it will create a component of weight = 4. Select (5,0) add link (5,0) to the subtrees. Now all nodes are connected to node 0. Note that the algorithm always terminates with links whose tradeoffs are 0. We will never consider any links with positive tradeoff. 12/8/2018 C. Edward Chow
49
Solution to Hw#6(4) The solution has a cost of 11.
Both EW algorithm and GMST find optimal solution but GMST is much faster. 12/8/2018 C. Edward Chow
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.