170 likes | 257 Views
Dynamic Wavelength Allocation in All-optical Ring Networks. Ori Gerstel and Shay Kutten Proceedings of ICC'97. Static WLA in Rings. Definitions: For any we define: and :. Static WLA in Rings. Algorithm: Choose a node v such that.
E N D
Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97
Static WLA in Rings Definitions: • For any we define: • and :
Static WLA in Rings Algorithm: • Choose a node v such that. • Duplicate node v and cut the cycle to form a line graph. • Color the paths in using the greedy algorithm for line graphs with at most L colors. • Color the paths in using colors: Number of colors used by the algorithm:
Static WLA in Rings The above algorithm is optimal for some instances: • L=4 • W=7
Dynamic Routing in Rings • Input : A sequence of node pairs (si,ti). • Output : for each (si,ti) decide online, “CLOCKWISE” or “COUNTER CLOCKWISE.” • Goal : minimize L. An online algorithm: • Does not have any knowledge of subsequent inputs (j > i). • Can not change its decision on previous input elements (j < i).
Shortest Path Routing Algorithm SHORT: Given a pair (si,ti) route it on the shortest path on the ring. Claim: SHORT is 2 competitive ( )
Shortest Path Routing Proof: Consider an edge e such that : Let In OPT, there are at least x paths that use the edge e’ opposite to e. Then:
Dynamic WLA in Rings • Algorithm WLA-1(Lalg). • It depends on an additional parameter which is the maximum anticipated load (L<=Lalg). • Pools of 2 Lalg wavelengths each. • Given a path p, let l(p) its length. Choose i such that: • If the request is insert • If the request is delete
Dynamic WLA in Rings • Claim: as long as L<=Lalg, upon entering to step 2 . • Corollary: the algorithm colors all the paths using at most wavelengths.
B0 Dynamic WLA in Rings • Proof: Assume A0
A0 B0 Dynamic WLA in Rings There are at most Lalg such paths traversing A0. They can be colored using at most Lalg colors The paths not traversing A0 ,do traverse B0. They can be colored using at most Lalg colors. We use at most 2 Lalg colors for paths from class 0.
Bi Bi Ai Dynamic WLA in Rings • There are two types of paths: • Paths traversing (exactly) one Ai edge, (A) • Paths traversing no Ai edge, (B). These edges traverse exactly one B edge. Ai We have two sets of L colors for each of the A and B paths.
Dynamic WLA in Rings • Algorithm WLA-2. • Same as WLA-1, except… • The pools are not static. We have a global pool of wavelengths. • As long as L<=Lalg, • Algorithm WLA-3 • No a priori allocation.
Dynamic WLA in Rings • A lower bound: • Assume L=2 • We describe an adversary, which works in phases. • Phase i ends when the algorithm uses i wavelengths. • At each phase the adversary issues requests of length at most 2i. • There are phases. Therefore:
Dynamic WLA in Rings • For any even L, the above adversary will issue L/2 requests instead one. • We get again the same lower bound: