11.05.2013 Views

Evaluación de Algoritmos de Ruteamiento Multipunto en Redes de ...

Evaluación de Algoritmos de Ruteamiento Multipunto en Redes de ...

Evaluación de Algoritmos de Ruteamiento Multipunto en Redes de ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Tabla 8muestra una <strong>de</strong>scripción <strong>de</strong> los archivos <strong>de</strong> MCRSIM.<br />

Los experim<strong>en</strong>tos <strong>de</strong> simulación son efectuados por los archivos router15.c y router1.noh.c<br />

para el primer y segundo experim<strong>en</strong>to respectivam<strong>en</strong>te.<br />

Las <strong>en</strong>tradas para router1.noh.c (segundo experim<strong>en</strong>to) son:<br />

1. Archivo con red inicial para el experim<strong>en</strong>to, con una <strong>de</strong>terminada cantidad <strong>de</strong><br />

nodos. A esta tesis se adjunta un CD con los archivos <strong>de</strong> MCRSIM y adicionalm<strong>en</strong>te<br />

cuatro archivos con re<strong>de</strong>s <strong>de</strong> Waxman con 20, 50, 100 y 200 nodos (net20, net50,<br />

net100 y net200 respectivam<strong>en</strong>te).<br />

2. Nombre <strong>de</strong>l archivo <strong>de</strong> salida <strong>de</strong>l experim<strong>en</strong>to<br />

3. Intervalo <strong>de</strong> confianza (<strong>en</strong> este trabajo el intervalo <strong>de</strong> confianza utilizado fue <strong>de</strong> 0.05)<br />

4. Cantidad <strong>de</strong> tráfico Background Mínima <strong>en</strong> los <strong>en</strong>laces <strong>de</strong> la red, medida <strong>en</strong> Mbps<br />

5. Cantidad <strong>de</strong> tráfico Background Máxima <strong>en</strong> los <strong>en</strong>laces <strong>de</strong> la red, medida <strong>en</strong> Mbps<br />

6. Porc<strong>en</strong>taje <strong>de</strong> admisión <strong>de</strong> tráfico sobre los <strong>en</strong>laces <strong>de</strong> la red (0.85 <strong>en</strong> este trabajo)<br />

7. Límite <strong>de</strong> Retardo máximo <strong>en</strong>tre fu<strong>en</strong>te y <strong>de</strong>stinos (0.03 segundos <strong>en</strong> este trabajo)<br />

8. Número asignado al algoritmo, <strong>de</strong>finido <strong>en</strong> no<strong>de</strong>2.h<br />

9. Definición <strong>de</strong> si el algoritmo es o no restringido (0 para no restringidos, 1 para<br />

restringidos)<br />

Asignación <strong>de</strong> números a algoritmos <strong>en</strong> no<strong>de</strong>2.h:<br />

#<strong>de</strong>fine dksld 0 //Dijkstra's least-<strong>de</strong>lay<br />

#<strong>de</strong>fine kmb 1 //KMB heuristic for unconstrained Steiner tree<br />

#<strong>de</strong>fine atm2 2 //Modified Waters ATM heuristic<br />

#<strong>de</strong>fine cao 3 //T<strong>en</strong>et constrained adaptive routing algorithm<br />

#<strong>de</strong>fine bsma 4 //UCSC constrained algorithm<br />

#<strong>de</strong>fine cstc 5 //2nd constrained MC heuristic by Polyzos //KPP COST<br />

#<strong>de</strong>fine cstcd 6 //1st constrained MC heuristic by Polyzos //KPP COST&DELAY<br />

#<strong>de</strong>fine atm 7 //Waters ATM heuristic<br />

#<strong>de</strong>fine bf 8 //Bellman-Ford least-cost alg.<br />

#<strong>de</strong>fine dks 9 //Dijkstra's least-cost alg.<br />

#<strong>de</strong>fine pim 10 //PIM routing alg.<br />

#<strong>de</strong>fine mst 11 //MST heuristic<br />

#<strong>de</strong>fine dcdimst 12 //<strong>de</strong>lay-constrained directed MST<br />

#<strong>de</strong>fine copt 13 //optimal branch and bound based constr. Steiner tree alg.<br />

#<strong>de</strong>fine opt 14 //optimal branch and bound based unconstr. Steiner tree alg.<br />

#<strong>de</strong>fine dimst 15<br />

#<strong>de</strong>fine dvmrp 16<br />

#<strong>de</strong>fine bfnoadm 17<br />

#<strong>de</strong>fine cdks 18<br />

#<strong>de</strong>fine qdmr 20 //<strong>de</strong>fine the QDMR algorithm<br />

#<strong>de</strong>fine bc 21 //<strong>de</strong>fine algortimo BestContribution:heuristica=ANCHOBANDA<br />

#<strong>de</strong>fine bcal 22 //<strong>de</strong>fine algortimo BestContribution:heuristica=ALCANCE<br />

#<strong>de</strong>fine bcsal 23 //<strong>de</strong>fine algortimo BestContribution : heuristica = SALTOS<br />

#<strong>de</strong>fine bcdvir 24 //<strong>de</strong>fine algortimo BestContribution:heuristica = DISTVIRTUAL<br />

#<strong>de</strong>fine bcl 25 //<strong>de</strong>fine algortimo BestContribution "Light": heuristica=SALTO<br />

Ejemplo: Para ejecutar el segundo experim<strong>en</strong>to con el algoritmo KMB, con una red <strong>de</strong> 20<br />

nodos, intervalo <strong>de</strong> confianza igual a 0.05, tráfico background <strong>en</strong>tre 100 y 120 Mbps,<br />

porc<strong>en</strong>taje máximo <strong>de</strong> ocupación <strong>de</strong> los <strong>en</strong>laces <strong>de</strong> la red igual a 85% y 0.03 segundos como<br />

límite máximo <strong>de</strong> retardo <strong>en</strong>tre fu<strong>en</strong>te y <strong>de</strong>stinos, se <strong>de</strong>be escribir lo sigui<strong>en</strong>te <strong>en</strong> la línea <strong>de</strong><br />

comandos:<br />

%bash:~$ ./router1.noh net20 nombre_archivo_salida.txt 0.05 100 120 0.85 0.03 1 0<br />

102

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

Saved successfully!

Ooh no, something went wrong!