From: mquinson Date: Sun, 9 Jul 2006 23:37:42 +0000 (+0000) Subject: Shorter delays, more logging X-Git-Tag: v3.3~2847 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7d36c3a38855b874be7b018b2069242b0602e420?hp=85aaad6189262fb909f57e6bdd57e2d288976971 Shorter delays, more logging git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2511 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/amok/Bandwidth/bandwidth.c b/src/amok/Bandwidth/bandwidth.c index 8ccb58f8f7..806eec0782 100644 --- a/src/amok/Bandwidth/bandwidth.c +++ b/src/amok/Bandwidth/bandwidth.c @@ -153,7 +153,7 @@ void amok_bw_test(gras_socket_t peer, buf_size,request->buf_size); TRY { - gras_msg_rpccall(peer,60, + gras_msg_rpccall(peer,15, gras_msgtype_by_name("BW handshake"),&request, &request_ack); } CATCH(e) { RETHROW0("Error encountered while sending the BW request: %s"); @@ -179,6 +179,7 @@ void amok_bw_test(gras_socket_t peer, DEBUG4("The experiment was too short (%f sec<%f sec). Redo it with exp_size=%ld (got %fkb/s)", meas_duration,min_duration,request->exp_size,((double)exp_size) / *sec/1024); gras_msg_rpccall(peer, 60, gras_msgtype_by_name("BW reask"),&request, NULL); + DEBUG0("Peer is ready for another round of fun"); } *sec=gras_os_time(); @@ -297,6 +298,7 @@ int amok_bw_cb_bw_handshake(gras_msg_cb_ctx_t ctx, void *payload; int msggot; TRY { + DEBUG0("Recv / Send the experiment"); gras_socket_meas_recv(measIn, 120,request->exp_size,request->msg_size); gras_socket_meas_send(measOut,120,1,1); DEBUG0("ACK sent");