Evaluation of SimGrid's Lazy Mechanism for Network Settings
1. Simgrid setup
1.1. Git revision
cd ~/simgrid3 && git rev-parse HEAD
1.2. cmake configuration
cd ~/simgrid3 && cmake --system-information
2. Experimental setup
2.1. Code
2.1.1. C code
cat random_flows.c
2.1.2. Makefile
cat Makefile
2.2. Early experiment
touch res.txt echo "Platform: $platform" >> res.txt for i in 1 2 5 10 20 50 ; do for j in Full Lazy ; do echo "Network/optim: $j" >> res.txt echo "Number of flows: $i" >> res.txt ./random_flows $platform $i --cfg=network/optim:$j 2>/dev/null >> res.txt done done echo -n res.txt
3. DoE
3.1. R DoE
library(DoE.base) design = fac.design(factor.names=list(platform=c("msg_platform.xml","median_p2psim.xml"), optim=c("Lazy","Full"), numflows=c(1, 2, 5, 10, 20, 50, 100, 200)),replication=5) #cbind(run.order(design),design) #write.csv(doe,paoutput, row.names = TRUE, quote=FALSE) export.design(design, filename = output, type = "csv")
3.2. Makefile Generation
./doe_makefile_generate.pl $output.csv
3.3. Experiment execution
make -C $output cat $output/*.txt > $output.txt
make: entrant dans le répertoire « /home/alegrand/Work/Documents/Articles/2012/simgrid3/experiments/plan » echo "run.no: 1" >> 1.txt echo "platform: median_p2psim.xml" >> 1.txt echo "numflows: 20" >> 1.txt echo "optim: Full" >> 1.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 1.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 2" >> 2.txt echo "platform: msg_platform.xml" >> 2.txt echo "numflows: 200" >> 2.txt echo "optim: Full" >> 2.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 2.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 3" >> 3.txt echo "platform: msg_platform.xml" >> 3.txt echo "numflows: 200" >> 3.txt echo "optim: Lazy" >> 3.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 3.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 4" >> 4.txt echo "platform: msg_platform.xml" >> 4.txt echo "numflows: 100" >> 4.txt echo "optim: Full" >> 4.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 4.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 5" >> 5.txt echo "platform: median_p2psim.xml" >> 5.txt echo "numflows: 1" >> 5.txt echo "optim: Full" >> 5.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 5.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 6" >> 6.txt echo "platform: msg_platform.xml" >> 6.txt echo "numflows: 5" >> 6.txt echo "optim: Lazy" >> 6.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 6.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 7" >> 7.txt echo "platform: msg_platform.xml" >> 7.txt echo "numflows: 50" >> 7.txt echo "optim: Lazy" >> 7.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 7.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 8" >> 8.txt echo "platform: msg_platform.xml" >> 8.txt echo "numflows: 20" >> 8.txt echo "optim: Full" >> 8.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 8.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 9" >> 9.txt echo "platform: median_p2psim.xml" >> 9.txt echo "numflows: 5" >> 9.txt echo "optim: Lazy" >> 9.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 9.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 10" >> 10.txt echo "platform: msg_platform.xml" >> 10.txt echo "numflows: 10" >> 10.txt echo "optim: Lazy" >> 10.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 10.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 11" >> 11.txt echo "platform: msg_platform.xml" >> 11.txt echo "numflows: 10" >> 11.txt echo "optim: Full" >> 11.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 11.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 12" >> 12.txt echo "platform: median_p2psim.xml" >> 12.txt echo "numflows: 50" >> 12.txt echo "optim: Lazy" >> 12.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 12.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 13" >> 13.txt echo "platform: msg_platform.xml" >> 13.txt echo "numflows: 100" >> 13.txt echo "optim: Lazy" >> 13.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 13.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 14" >> 14.txt echo "platform: median_p2psim.xml" >> 14.txt echo "numflows: 2" >> 14.txt echo "optim: Full" >> 14.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 14.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 15" >> 15.txt echo "platform: median_p2psim.xml" >> 15.txt echo "numflows: 200" >> 15.txt echo "optim: Lazy" >> 15.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 15.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 16" >> 16.txt echo "platform: median_p2psim.xml" >> 16.txt echo "numflows: 2" >> 16.txt echo "optim: Lazy" >> 16.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 16.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 17" >> 17.txt echo "platform: median_p2psim.xml" >> 17.txt echo "numflows: 1" >> 17.txt echo "optim: Lazy" >> 17.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 17.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 18" >> 18.txt echo "platform: median_p2psim.xml" >> 18.txt echo "numflows: 10" >> 18.txt echo "optim: Full" >> 18.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 18.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 19" >> 19.txt echo "platform: median_p2psim.xml" >> 19.txt echo "numflows: 5" >> 19.txt echo "optim: Full" >> 19.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 19.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 20" >> 20.txt echo "platform: msg_platform.xml" >> 20.txt echo "numflows: 2" >> 20.txt echo "optim: Lazy" >> 20.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 20.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 21" >> 21.txt echo "platform: median_p2psim.xml" >> 21.txt echo "numflows: 10" >> 21.txt echo "optim: Lazy" >> 21.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 21.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 22" >> 22.txt echo "platform: median_p2psim.xml" >> 22.txt echo "numflows: 200" >> 22.txt echo "optim: Full" >> 22.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 22.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 23" >> 23.txt echo "platform: median_p2psim.xml" >> 23.txt echo "numflows: 50" >> 23.txt echo "optim: Full" >> 23.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 23.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 24" >> 24.txt echo "platform: msg_platform.xml" >> 24.txt echo "numflows: 2" >> 24.txt echo "optim: Full" >> 24.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 24.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 25" >> 25.txt echo "platform: msg_platform.xml" >> 25.txt echo "numflows: 20" >> 25.txt echo "optim: Lazy" >> 25.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 25.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 26" >> 26.txt echo "platform: median_p2psim.xml" >> 26.txt echo "numflows: 100" >> 26.txt echo "optim: Lazy" >> 26.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 26.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 27" >> 27.txt echo "platform: median_p2psim.xml" >> 27.txt echo "numflows: 20" >> 27.txt echo "optim: Lazy" >> 27.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 27.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 28" >> 28.txt echo "platform: msg_platform.xml" >> 28.txt echo "numflows: 1" >> 28.txt echo "optim: Lazy" >> 28.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 28.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 29" >> 29.txt echo "platform: median_p2psim.xml" >> 29.txt echo "numflows: 100" >> 29.txt echo "optim: Full" >> 29.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 29.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 30" >> 30.txt echo "platform: msg_platform.xml" >> 30.txt echo "numflows: 5" >> 30.txt echo "optim: Full" >> 30.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 30.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 31" >> 31.txt echo "platform: msg_platform.xml" >> 31.txt echo "numflows: 50" >> 31.txt echo "optim: Full" >> 31.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 31.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 32" >> 32.txt echo "platform: msg_platform.xml" >> 32.txt echo "numflows: 1" >> 32.txt echo "optim: Full" >> 32.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 32.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 33" >> 33.txt echo "platform: median_p2psim.xml" >> 33.txt echo "numflows: 1" >> 33.txt echo "optim: Lazy" >> 33.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 33.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 34" >> 34.txt echo "platform: msg_platform.xml" >> 34.txt echo "numflows: 5" >> 34.txt echo "optim: Lazy" >> 34.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 34.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 35" >> 35.txt echo "platform: median_p2psim.xml" >> 35.txt echo "numflows: 2" >> 35.txt echo "optim: Full" >> 35.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 35.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 36" >> 36.txt echo "platform: msg_platform.xml" >> 36.txt echo "numflows: 50" >> 36.txt echo "optim: Lazy" >> 36.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 36.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 37" >> 37.txt echo "platform: msg_platform.xml" >> 37.txt echo "numflows: 1" >> 37.txt echo "optim: Lazy" >> 37.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 37.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 38" >> 38.txt echo "platform: msg_platform.xml" >> 38.txt echo "numflows: 50" >> 38.txt echo "optim: Full" >> 38.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 38.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 39" >> 39.txt echo "platform: median_p2psim.xml" >> 39.txt echo "numflows: 10" >> 39.txt echo "optim: Full" >> 39.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 39.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 40" >> 40.txt echo "platform: median_p2psim.xml" >> 40.txt echo "numflows: 100" >> 40.txt echo "optim: Lazy" >> 40.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 40.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 41" >> 41.txt echo "platform: median_p2psim.xml" >> 41.txt echo "numflows: 20" >> 41.txt echo "optim: Lazy" >> 41.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 41.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 42" >> 42.txt echo "platform: msg_platform.xml" >> 42.txt echo "numflows: 5" >> 42.txt echo "optim: Full" >> 42.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 42.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 43" >> 43.txt echo "platform: median_p2psim.xml" >> 43.txt echo "numflows: 5" >> 43.txt echo "optim: Full" >> 43.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 43.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 44" >> 44.txt echo "platform: median_p2psim.xml" >> 44.txt echo "numflows: 5" >> 44.txt echo "optim: Lazy" >> 44.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 44.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 45" >> 45.txt echo "platform: median_p2psim.xml" >> 45.txt echo "numflows: 200" >> 45.txt echo "optim: Lazy" >> 45.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 45.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 46" >> 46.txt echo "platform: median_p2psim.xml" >> 46.txt echo "numflows: 100" >> 46.txt echo "optim: Full" >> 46.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 46.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 47" >> 47.txt echo "platform: median_p2psim.xml" >> 47.txt echo "numflows: 1" >> 47.txt echo "optim: Full" >> 47.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 47.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 48" >> 48.txt echo "platform: msg_platform.xml" >> 48.txt echo "numflows: 2" >> 48.txt echo "optim: Full" >> 48.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 48.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 49" >> 49.txt echo "platform: msg_platform.xml" >> 49.txt echo "numflows: 10" >> 49.txt echo "optim: Full" >> 49.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 49.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 50" >> 50.txt echo "platform: msg_platform.xml" >> 50.txt echo "numflows: 20" >> 50.txt echo "optim: Full" >> 50.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 50.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 51" >> 51.txt echo "platform: median_p2psim.xml" >> 51.txt echo "numflows: 50" >> 51.txt echo "optim: Lazy" >> 51.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 51.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 52" >> 52.txt echo "platform: median_p2psim.xml" >> 52.txt echo "numflows: 20" >> 52.txt echo "optim: Full" >> 52.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 52.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 53" >> 53.txt echo "platform: msg_platform.xml" >> 53.txt echo "numflows: 2" >> 53.txt echo "optim: Lazy" >> 53.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 53.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 54" >> 54.txt echo "platform: msg_platform.xml" >> 54.txt echo "numflows: 10" >> 54.txt echo "optim: Lazy" >> 54.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 54.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 55" >> 55.txt echo "platform: msg_platform.xml" >> 55.txt echo "numflows: 100" >> 55.txt echo "optim: Full" >> 55.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 55.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 56" >> 56.txt echo "platform: msg_platform.xml" >> 56.txt echo "numflows: 1" >> 56.txt echo "optim: Full" >> 56.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 56.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 57" >> 57.txt echo "platform: median_p2psim.xml" >> 57.txt echo "numflows: 10" >> 57.txt echo "optim: Lazy" >> 57.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 57.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 58" >> 58.txt echo "platform: msg_platform.xml" >> 58.txt echo "numflows: 100" >> 58.txt echo "optim: Lazy" >> 58.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 58.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 59" >> 59.txt echo "platform: median_p2psim.xml" >> 59.txt echo "numflows: 200" >> 59.txt echo "optim: Full" >> 59.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 59.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 60" >> 60.txt echo "platform: msg_platform.xml" >> 60.txt echo "numflows: 200" >> 60.txt echo "optim: Full" >> 60.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 60.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 61" >> 61.txt echo "platform: msg_platform.xml" >> 61.txt echo "numflows: 20" >> 61.txt echo "optim: Lazy" >> 61.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 61.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 62" >> 62.txt echo "platform: median_p2psim.xml" >> 62.txt echo "numflows: 50" >> 62.txt echo "optim: Full" >> 62.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 62.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 63" >> 63.txt echo "platform: median_p2psim.xml" >> 63.txt echo "numflows: 2" >> 63.txt echo "optim: Lazy" >> 63.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 63.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 64" >> 64.txt echo "platform: msg_platform.xml" >> 64.txt echo "numflows: 200" >> 64.txt echo "optim: Lazy" >> 64.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 64.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 65" >> 65.txt echo "platform: median_p2psim.xml" >> 65.txt echo "numflows: 2" >> 65.txt echo "optim: Lazy" >> 65.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 65.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 66" >> 66.txt echo "platform: msg_platform.xml" >> 66.txt echo "numflows: 20" >> 66.txt echo "optim: Lazy" >> 66.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 66.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 67" >> 67.txt echo "platform: msg_platform.xml" >> 67.txt echo "numflows: 5" >> 67.txt echo "optim: Full" >> 67.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 67.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 68" >> 68.txt echo "platform: msg_platform.xml" >> 68.txt echo "numflows: 2" >> 68.txt echo "optim: Full" >> 68.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 68.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 69" >> 69.txt echo "platform: median_p2psim.xml" >> 69.txt echo "numflows: 200" >> 69.txt echo "optim: Full" >> 69.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 69.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 70" >> 70.txt echo "platform: msg_platform.xml" >> 70.txt echo "numflows: 200" >> 70.txt echo "optim: Lazy" >> 70.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 70.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 71" >> 71.txt echo "platform: median_p2psim.xml" >> 71.txt echo "numflows: 2" >> 71.txt echo "optim: Full" >> 71.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 71.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 72" >> 72.txt echo "platform: msg_platform.xml" >> 72.txt echo "numflows: 100" >> 72.txt echo "optim: Lazy" >> 72.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 72.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 73" >> 73.txt echo "platform: msg_platform.xml" >> 73.txt echo "numflows: 5" >> 73.txt echo "optim: Lazy" >> 73.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 73.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 74" >> 74.txt echo "platform: msg_platform.xml" >> 74.txt echo "numflows: 100" >> 74.txt echo "optim: Full" >> 74.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 74.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 75" >> 75.txt echo "platform: msg_platform.xml" >> 75.txt echo "numflows: 200" >> 75.txt echo "optim: Full" >> 75.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 75.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 76" >> 76.txt echo "platform: median_p2psim.xml" >> 76.txt echo "numflows: 50" >> 76.txt echo "optim: Full" >> 76.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 76.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 77" >> 77.txt echo "platform: msg_platform.xml" >> 77.txt echo "numflows: 2" >> 77.txt echo "optim: Lazy" >> 77.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 77.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 78" >> 78.txt echo "platform: msg_platform.xml" >> 78.txt echo "numflows: 10" >> 78.txt echo "optim: Lazy" >> 78.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 78.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 79" >> 79.txt echo "platform: msg_platform.xml" >> 79.txt echo "numflows: 1" >> 79.txt echo "optim: Lazy" >> 79.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 79.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 80" >> 80.txt echo "platform: median_p2psim.xml" >> 80.txt echo "numflows: 20" >> 80.txt echo "optim: Full" >> 80.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 80.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 81" >> 81.txt echo "platform: msg_platform.xml" >> 81.txt echo "numflows: 50" >> 81.txt echo "optim: Lazy" >> 81.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 81.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 82" >> 82.txt echo "platform: msg_platform.xml" >> 82.txt echo "numflows: 20" >> 82.txt echo "optim: Full" >> 82.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 82.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 83" >> 83.txt echo "platform: median_p2psim.xml" >> 83.txt echo "numflows: 1" >> 83.txt echo "optim: Lazy" >> 83.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 83.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 84" >> 84.txt echo "platform: median_p2psim.xml" >> 84.txt echo "numflows: 1" >> 84.txt echo "optim: Full" >> 84.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 84.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 85" >> 85.txt echo "platform: median_p2psim.xml" >> 85.txt echo "numflows: 10" >> 85.txt echo "optim: Lazy" >> 85.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 85.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 86" >> 86.txt echo "platform: msg_platform.xml" >> 86.txt echo "numflows: 50" >> 86.txt echo "optim: Full" >> 86.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 86.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 87" >> 87.txt echo "platform: msg_platform.xml" >> 87.txt echo "numflows: 10" >> 87.txt echo "optim: Full" >> 87.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 87.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 88" >> 88.txt echo "platform: median_p2psim.xml" >> 88.txt echo "numflows: 200" >> 88.txt echo "optim: Lazy" >> 88.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 88.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 89" >> 89.txt echo "platform: median_p2psim.xml" >> 89.txt echo "numflows: 5" >> 89.txt echo "optim: Lazy" >> 89.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 89.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 90" >> 90.txt echo "platform: median_p2psim.xml" >> 90.txt echo "numflows: 5" >> 90.txt echo "optim: Full" >> 90.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 90.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 91" >> 91.txt echo "platform: msg_platform.xml" >> 91.txt echo "numflows: 1" >> 91.txt echo "optim: Full" >> 91.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 91.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 92" >> 92.txt echo "platform: median_p2psim.xml" >> 92.txt echo "numflows: 10" >> 92.txt echo "optim: Full" >> 92.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 92.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 93" >> 93.txt echo "platform: median_p2psim.xml" >> 93.txt echo "numflows: 100" >> 93.txt echo "optim: Full" >> 93.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 93.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 94" >> 94.txt echo "platform: median_p2psim.xml" >> 94.txt echo "numflows: 100" >> 94.txt echo "optim: Lazy" >> 94.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 94.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 95" >> 95.txt echo "platform: median_p2psim.xml" >> 95.txt echo "numflows: 20" >> 95.txt echo "optim: Lazy" >> 95.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 95.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 96" >> 96.txt echo "platform: median_p2psim.xml" >> 96.txt echo "numflows: 50" >> 96.txt echo "optim: Lazy" >> 96.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 96.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 97" >> 97.txt echo "platform: msg_platform.xml" >> 97.txt echo "numflows: 5" >> 97.txt echo "optim: Full" >> 97.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 97.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 98" >> 98.txt echo "platform: median_p2psim.xml" >> 98.txt echo "numflows: 2" >> 98.txt echo "optim: Lazy" >> 98.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 98.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 99" >> 99.txt echo "platform: median_p2psim.xml" >> 99.txt echo "numflows: 2" >> 99.txt echo "optim: Full" >> 99.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 99.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 100" >> 100.txt echo "platform: msg_platform.xml" >> 100.txt echo "numflows: 1" >> 100.txt echo "optim: Full" >> 100.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 100.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 101" >> 101.txt echo "platform: median_p2psim.xml" >> 101.txt echo "numflows: 5" >> 101.txt echo "optim: Full" >> 101.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 101.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 102" >> 102.txt echo "platform: msg_platform.xml" >> 102.txt echo "numflows: 50" >> 102.txt echo "optim: Lazy" >> 102.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 102.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 103" >> 103.txt echo "platform: median_p2psim.xml" >> 103.txt echo "numflows: 100" >> 103.txt echo "optim: Lazy" >> 103.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 103.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 104" >> 104.txt echo "platform: msg_platform.xml" >> 104.txt echo "numflows: 20" >> 104.txt echo "optim: Lazy" >> 104.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 104.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 105" >> 105.txt echo "platform: msg_platform.xml" >> 105.txt echo "numflows: 2" >> 105.txt echo "optim: Full" >> 105.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 105.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 106" >> 106.txt echo "platform: median_p2psim.xml" >> 106.txt echo "numflows: 20" >> 106.txt echo "optim: Full" >> 106.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 106.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 107" >> 107.txt echo "platform: msg_platform.xml" >> 107.txt echo "numflows: 5" >> 107.txt echo "optim: Lazy" >> 107.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 107.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 108" >> 108.txt echo "platform: msg_platform.xml" >> 108.txt echo "numflows: 100" >> 108.txt echo "optim: Full" >> 108.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 108.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 109" >> 109.txt echo "platform: msg_platform.xml" >> 109.txt echo "numflows: 10" >> 109.txt echo "optim: Full" >> 109.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 109.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 110" >> 110.txt echo "platform: median_p2psim.xml" >> 110.txt echo "numflows: 50" >> 110.txt echo "optim: Lazy" >> 110.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 110.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 111" >> 111.txt echo "platform: median_p2psim.xml" >> 111.txt echo "numflows: 100" >> 111.txt echo "optim: Full" >> 111.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 111.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 112" >> 112.txt echo "platform: msg_platform.xml" >> 112.txt echo "numflows: 1" >> 112.txt echo "optim: Lazy" >> 112.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 112.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 113" >> 113.txt echo "platform: msg_platform.xml" >> 113.txt echo "numflows: 20" >> 113.txt echo "optim: Full" >> 113.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 113.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 114" >> 114.txt echo "platform: median_p2psim.xml" >> 114.txt echo "numflows: 10" >> 114.txt echo "optim: Lazy" >> 114.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 114.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 115" >> 115.txt echo "platform: msg_platform.xml" >> 115.txt echo "numflows: 200" >> 115.txt echo "optim: Lazy" >> 115.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 115.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 116" >> 116.txt echo "platform: median_p2psim.xml" >> 116.txt echo "numflows: 200" >> 116.txt echo "optim: Full" >> 116.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 116.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 117" >> 117.txt echo "platform: median_p2psim.xml" >> 117.txt echo "numflows: 10" >> 117.txt echo "optim: Full" >> 117.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 117.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 118" >> 118.txt echo "platform: msg_platform.xml" >> 118.txt echo "numflows: 100" >> 118.txt echo "optim: Lazy" >> 118.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 118.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 119" >> 119.txt echo "platform: median_p2psim.xml" >> 119.txt echo "numflows: 20" >> 119.txt echo "optim: Lazy" >> 119.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 119.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 120" >> 120.txt echo "platform: msg_platform.xml" >> 120.txt echo "numflows: 2" >> 120.txt echo "optim: Lazy" >> 120.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 120.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 121" >> 121.txt echo "platform: msg_platform.xml" >> 121.txt echo "numflows: 50" >> 121.txt echo "optim: Full" >> 121.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 121.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 122" >> 122.txt echo "platform: msg_platform.xml" >> 122.txt echo "numflows: 200" >> 122.txt echo "optim: Full" >> 122.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 122.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 123" >> 123.txt echo "platform: median_p2psim.xml" >> 123.txt echo "numflows: 200" >> 123.txt echo "optim: Lazy" >> 123.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 123.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 124" >> 124.txt echo "platform: median_p2psim.xml" >> 124.txt echo "numflows: 5" >> 124.txt echo "optim: Lazy" >> 124.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 124.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 125" >> 125.txt echo "platform: median_p2psim.xml" >> 125.txt echo "numflows: 1" >> 125.txt echo "optim: Full" >> 125.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 125.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 126" >> 126.txt echo "platform: median_p2psim.xml" >> 126.txt echo "numflows: 1" >> 126.txt echo "optim: Lazy" >> 126.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 126.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 127" >> 127.txt echo "platform: median_p2psim.xml" >> 127.txt echo "numflows: 50" >> 127.txt echo "optim: Full" >> 127.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 127.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 128" >> 128.txt echo "platform: msg_platform.xml" >> 128.txt echo "numflows: 10" >> 128.txt echo "optim: Lazy" >> 128.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 128.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 129" >> 129.txt echo "platform: msg_platform.xml" >> 129.txt echo "numflows: 200" >> 129.txt echo "optim: Lazy" >> 129.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 129.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 130" >> 130.txt echo "platform: median_p2psim.xml" >> 130.txt echo "numflows: 5" >> 130.txt echo "optim: Lazy" >> 130.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 130.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 131" >> 131.txt echo "platform: msg_platform.xml" >> 131.txt echo "numflows: 2" >> 131.txt echo "optim: Lazy" >> 131.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 131.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 132" >> 132.txt echo "platform: median_p2psim.xml" >> 132.txt echo "numflows: 200" >> 132.txt echo "optim: Full" >> 132.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 132.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 133" >> 133.txt echo "platform: msg_platform.xml" >> 133.txt echo "numflows: 1" >> 133.txt echo "optim: Full" >> 133.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 133.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 134" >> 134.txt echo "platform: msg_platform.xml" >> 134.txt echo "numflows: 10" >> 134.txt echo "optim: Full" >> 134.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 134.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 135" >> 135.txt echo "platform: msg_platform.xml" >> 135.txt echo "numflows: 100" >> 135.txt echo "optim: Lazy" >> 135.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 135.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 136" >> 136.txt echo "platform: median_p2psim.xml" >> 136.txt echo "numflows: 100" >> 136.txt echo "optim: Full" >> 136.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 136.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 137" >> 137.txt echo "platform: msg_platform.xml" >> 137.txt echo "numflows: 10" >> 137.txt echo "optim: Lazy" >> 137.txt ../random_flows ../msg_platform.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 137.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 138" >> 138.txt echo "platform: median_p2psim.xml" >> 138.txt echo "numflows: 20" >> 138.txt echo "optim: Full" >> 138.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 138.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 139" >> 139.txt echo "platform: msg_platform.xml" >> 139.txt echo "numflows: 50" >> 139.txt echo "optim: Lazy" >> 139.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 139.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 140" >> 140.txt echo "platform: msg_platform.xml" >> 140.txt echo "numflows: 20" >> 140.txt echo "optim: Lazy" >> 140.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 140.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 141" >> 141.txt echo "platform: median_p2psim.xml" >> 141.txt echo "numflows: 2" >> 141.txt echo "optim: Full" >> 141.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 141.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 142" >> 142.txt echo "platform: median_p2psim.xml" >> 142.txt echo "numflows: 20" >> 142.txt echo "optim: Lazy" >> 142.txt ../random_flows ../median_p2psim.xml 20 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 142.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 143" >> 143.txt echo "platform: median_p2psim.xml" >> 143.txt echo "numflows: 1" >> 143.txt echo "optim: Full" >> 143.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 143.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 144" >> 144.txt echo "platform: median_p2psim.xml" >> 144.txt echo "numflows: 100" >> 144.txt echo "optim: Lazy" >> 144.txt ../random_flows ../median_p2psim.xml 100 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 144.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 145" >> 145.txt echo "platform: median_p2psim.xml" >> 145.txt echo "numflows: 10" >> 145.txt echo "optim: Lazy" >> 145.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 145.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 146" >> 146.txt echo "platform: msg_platform.xml" >> 146.txt echo "numflows: 20" >> 146.txt echo "optim: Full" >> 146.txt ../random_flows ../msg_platform.xml 20 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 146.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 147" >> 147.txt echo "platform: msg_platform.xml" >> 147.txt echo "numflows: 100" >> 147.txt echo "optim: Full" >> 147.txt ../random_flows ../msg_platform.xml 100 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 147.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 148" >> 148.txt echo "platform: median_p2psim.xml" >> 148.txt echo "numflows: 2" >> 148.txt echo "optim: Lazy" >> 148.txt ../random_flows ../median_p2psim.xml 2 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 148.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 149" >> 149.txt echo "platform: median_p2psim.xml" >> 149.txt echo "numflows: 200" >> 149.txt echo "optim: Lazy" >> 149.txt ../random_flows ../median_p2psim.xml 200 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 149.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 150" >> 150.txt echo "platform: median_p2psim.xml" >> 150.txt echo "numflows: 10" >> 150.txt echo "optim: Full" >> 150.txt ../random_flows ../median_p2psim.xml 10 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 150.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 151" >> 151.txt echo "platform: msg_platform.xml" >> 151.txt echo "numflows: 5" >> 151.txt echo "optim: Full" >> 151.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 151.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 152" >> 152.txt echo "platform: msg_platform.xml" >> 152.txt echo "numflows: 5" >> 152.txt echo "optim: Lazy" >> 152.txt ../random_flows ../msg_platform.xml 5 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 152.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 153" >> 153.txt echo "platform: msg_platform.xml" >> 153.txt echo "numflows: 2" >> 153.txt echo "optim: Full" >> 153.txt ../random_flows ../msg_platform.xml 2 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 153.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 154" >> 154.txt echo "platform: median_p2psim.xml" >> 154.txt echo "numflows: 5" >> 154.txt echo "optim: Full" >> 154.txt ../random_flows ../median_p2psim.xml 5 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 154.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 155" >> 155.txt echo "platform: median_p2psim.xml" >> 155.txt echo "numflows: 50" >> 155.txt echo "optim: Lazy" >> 155.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 155.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 156" >> 156.txt echo "platform: median_p2psim.xml" >> 156.txt echo "numflows: 1" >> 156.txt echo "optim: Lazy" >> 156.txt ../random_flows ../median_p2psim.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 156.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 157" >> 157.txt echo "platform: median_p2psim.xml" >> 157.txt echo "numflows: 50" >> 157.txt echo "optim: Full" >> 157.txt ../random_flows ../median_p2psim.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 157.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 158" >> 158.txt echo "platform: msg_platform.xml" >> 158.txt echo "numflows: 200" >> 158.txt echo "optim: Full" >> 158.txt ../random_flows ../msg_platform.xml 200 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 158.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 159" >> 159.txt echo "platform: msg_platform.xml" >> 159.txt echo "numflows: 50" >> 159.txt echo "optim: Full" >> 159.txt ../random_flows ../msg_platform.xml 50 --cfg=network/optim:Full --log=xbt_cfg.thres=critical >> 159.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi echo "run.no: 160" >> 160.txt echo "platform: msg_platform.xml" >> 160.txt echo "numflows: 1" >> 160.txt echo "optim: Lazy" >> 160.txt ../random_flows ../msg_platform.xml 1 --cfg=network/optim:Lazy --log=xbt_cfg.thres=critical >> 160.txt ; if [ $? -eq 17 ] ; then true ; else false ; fi make: quittant le répertoire « /home/alegrand/Work/Documents/Articles/2012/simgrid3/experiments/plan »
3.4. Output reformating
open INPUT, $input; $output = $input; $output =~ s/\.txt$/.csv/; $output = "res_".$output; open OUTPUT, "> ".$output; while($line=<INPUT>) { if($line =~ /^platform: *(.*)$/) { $platform = $1; } elsif($line =~ /^run.no: *(.*)$/) { $run_no = $1; } elsif($line =~ /^optim: *(.*)$/) { $optim = $1; } elsif($line =~ /numflows: *(.*)$/) { $num = $1; } elsif ($line =~ /Elapsed time : *(.*)/) { print OUTPUT "$run_no, $platform, $num, $optim, $1\n"; } } print $output
3.5. Typical R analysis
library(ggplot2) df <- read.csv(input, header=FALSE, strip.white=TRUE) names(df) <- c("run.no", "platform", "numflows", "optim", "elapsed")
4. Whole run
Let's do a real set of experiments now down to the final plot.
library(DoE.base) design = fac.design(factor.names=list(platform=c("waxman_200_1H.xml","msg_platform.xml","median_p2psim.xml"), optim=c("Lazy","Full"), numflows=c(10, 50, 100, 150)),replication=50) export.design(design, filename = output, type = "csv")
make: entrant dans le répertoire « /home/alegrand/Work/Documents/Articles/2012/simgrid3/experiments/plan4 » make: quittant le répertoire « /home/alegrand/Work/Documents/Articles/2012/simgrid3/experiments/plan4 »
Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'res_plan4.csv': No such file or directory Error in names(df) <- c("run.no", "platform", "numflows", "optim", "elapsed") : names() applied to a non-vector