01.07.2013 Views

Th`ese de Doctorat de l'université Paris VI Pierre et Marie Curie Mlle ...

Th`ese de Doctorat de l'université Paris VI Pierre et Marie Curie Mlle ...

Th`ese de Doctorat de l'université Paris VI Pierre et Marie Curie Mlle ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 5.1: Pseudo-co<strong>de</strong> specification of the Simple Dynamic Bandwidth Allocation algorithm (SDBA)<br />

Algorithm SDBA(Kg, Rl, a l k )<br />

(1) initiate all f n (2)<br />

k =0, ∀ k ∈ Kg<br />

remove from the link s<strong>et</strong> L all links l ∈ L that have<br />

a number of connections crossing them nl equal to 0<br />

(3) for every link l ∈ L, calculateFl = Rl/nl<br />

(4) i<strong>de</strong>ntify the link α that minimizes Fα<br />

i.e. α | Fα = mink(Fk)<br />

(5) s<strong>et</strong> f n k = Fα, ∀ k ∈ Kα, whereKα⊆Kgis the s<strong>et</strong><br />

of greedy connections that cross link α<br />

(6) for every link l, update the residual capacity and the<br />

number of crossing greedy connections as follows:<br />

Rl = Rl − <br />

nl = nl − <br />

k∈Kα f n k · al k<br />

k∈Kα al k<br />

(7) remove from s<strong>et</strong> L link α and those that have nl =0<br />

(8) if L is empty, then stop; else go to Step (3)<br />

at the beginning of the first iteration of IDBA. For every successive iteration, a greedy<br />

connection can be either marked as Served, when its total assigned rate (srk + f n k )isat<br />

least equal to its offered load, or Non-served otherwise. L<strong>et</strong> K NS<br />

g and K S g<br />

of greedy Non-served and Served connections respectively.<br />

<strong>de</strong>note the s<strong>et</strong><br />

IDBA iterates over the two following steps until either all sources become Served or the<br />

extra-bandwidth on the bottleneck links is compl<strong>et</strong>ely allocated:<br />

• First, the extra-bandwidth individuated in the n<strong>et</strong>work is allocated fairly among the<br />

Non-served greedy connections using SDBA(K NS<br />

g , Rl, a l k ).<br />

• Second, for every Non-served greedy connection, k ∈ K NS<br />

g if srk + f n k >Oln−1<br />

k<br />

r n k<br />

is s<strong>et</strong> equal to Oln−1<br />

k<br />

then<br />

and the connection is classified as Served; the difference,<br />

srk + f n k − Oln−1<br />

k , is redistributed in the next iteration to the remaining Non-served<br />

greedy connections.<br />

46

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!