X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/5a4a8663668a3af89fe7c4026d08f3e0fb144f05..ed5490f7bca3201e65838910db86ac95690a4a6b:/BUGS diff --git a/BUGS b/BUGS index ff54efc..b1cc865 100644 --- a/BUGS +++ b/BUGS @@ -1,3 +1,43 @@ -./loba cluster1000.xml -N64 -L100 -i100 -a fair -T hcube -=> leads to deadlock (with stable) +Comment expliquer ces différences entre SG 3.5 et SG svn ? +$ ./loba platform.xml -Tline -abest -L500 -t1800 -c1e8,0 -C1e7,0 -M0 2>&1 --log=comm.thres:debug -s100 -b | grep LOAD +[Bourassa 1031.097913] [comm/DEBUG] send LOAD: 366.211 to Fafard_data +[Bourassa 1306.997159] [comm/DEBUG] send LOAD: 20.0806 to Fafard_data +[Bourassa 1541.486345] [comm/DEBUG] send LOAD: 4.74548 to Fafard_data +[Bourassa 1766.189415] [comm/DEBUG] send LOAD: 3.09753 to Fafard_data +[Fafard 2579.229566] [comm/DEBUG] received LOAD: 366.211 from Bourassa +[Fafard 2605.989948] [comm/DEBUG] received LOAD: 20.0806 from Bourassa +[Fafard 2612.318155] [comm/DEBUG] received LOAD: 4.74548 from Bourassa +[Fafard 2616.450666] [comm/DEBUG] received LOAD: 3.09753 from Bourassa + +$ ./loba-dev platform_dev.xml -Tline -abest -L500 -t1800 -c1e8,0 -C1e7,0 -M0 2>&1 --log=comm.thres:debug -s100 -b | grep LOAD +[Bourassa 1031.097913] [comm/DEBUG] send LOAD: 366.211 to Fafard_data +[Bourassa 1306.997159] [comm/DEBUG] send LOAD: 20.0806 to Fafard_data +[Fafard 1519.035900] [comm/DEBUG] received LOAD: 366.211 from Bourassa +[Fafard 1519.035900] [comm/DEBUG] send LOAD: 282.074 to Ginette_data +[Bourassa 1541.486345] [comm/DEBUG] send LOAD: 4.74548 to Fafard_data +[Fafard 1629.312931] [comm/DEBUG] received LOAD: 20.0806 from Bourassa +[Fafard 1629.312931] [comm/DEBUG] received LOAD: 4.74548 from Bourassa +[Fafard 1629.312931] [comm/DEBUG] send LOAD: 6.19507 to Ginette_data +[Bourassa 1766.189415] [comm/DEBUG] send LOAD: 3.09753 to Fafard_data +[Fafard 1898.705676] [comm/DEBUG] received LOAD: 3.09753 from Bourassa +[Ginette 1932.076243] [comm/DEBUG] received LOAD: 282.074 from Fafard +[Ginette 1940.343540] [comm/DEBUG] received LOAD: 6.19507 from Fafard + +======================================================================== +Il semblerait qu'il y ait un bug dans SG 3.5, et qu'on ne puisse pas +utiliser MSG_comm_waitany() pour l'émetteur *et* le récepteur sans +risquer d'interblocage. + +Le problème devrait être contourné correctement depuis le commit +cd6b253 Use MSG_comm_waitall for communicator::flush(true). + +======================================================================== +Avec SG 3.5, les communications doivent être détruites dès que +possible avec MSG_comm_destroy(). Si ce n'est pas fait, la simulation +peut être extrêmement ralentie. + +Le problème devrait être contourné correctement depuis le commit +404a8d5 Do not call flush automatically in communcator::send... + +========================================================================