17
Dynamic Wavelength Allocation in All- optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Embed Size (px)

Citation preview

Page 1: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Dynamic Wavelength Allocation in All-optical Ring Networks

Ori Gerstel and Shay Kutten

Proceedings of ICC'97

Page 2: 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 :

v V{ | is an intermediate node of P}vP p P v

( ) | |node vl v P

min min{ ( ) | }node nodeL l v v V max max{ ( ) | }node nodeL l v v V

Page 3: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

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:

min( )node nodel v L

vP P

vP min 1nodeL L

2 1W L

Page 4: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Static WLA in Rings

v v

Page 5: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Static WLA in Rings

•L=4

•W=7

The above algorithm is optimal for some instances:

Page 6: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

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).

Page 7: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Shortest Path Routing

Algorithm SHORT:

Given a pair (si,ti) route it on the shortest path on the ring.

Claim: SHORT is 2 competitive ( )2SHORT OPTL L

Page 8: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

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:

( )SHORT SHORTl e L

( ) ( )SHORT OPTx l e l e

( ') ( ) ( )

( )

2

OPT OPT SHORT OPT

SHORT OPT SHORT OPT

SHORT OPT

L l e x l e l e

L l e L L

L L

Page 9: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

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.

1. Given a path p, let l(p) its length. Choose i such that:

2. If the request is insert

3. If the request is delete

log N 0 1 log 1, ,..., NW W W

1( )

2 2 2i i

N Nl p

( ) min ; { ( )}i i iw p W W W w p

{ ( )}i iW W w p

Page 10: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

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.

iW

alg2 logL N

Page 11: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Dynamic WLA in Rings

• Proof: Assume 1( )

2N l p N

A0

B0

Page 12: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Dynamic WLA in Rings

A0

B0

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.

Page 13: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Dynamic WLA in Rings

AiThere 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

Bi

Bi

We have two sets of L colors for each of the A and B paths.

Page 14: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

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.–

alg2 logL N

alg2 logW L N

2 logW L N

Page 15: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

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:log N log 0.5 logW N L N

Page 16: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

Dynamic WLA in Rings

Page 17: Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97

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:

1log

2W L N