From: mquinson Date: Wed, 17 Jan 2007 16:08:56 +0000 (+0000) Subject: Be a nice boy and don't saturate with 512*1024 messages of size 512k, but only with... X-Git-Tag: v3.3~2296 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6cbf2c4c2d5eeacdd0298d8e5d27093762e96f55 Be a nice boy and don't saturate with 512*1024 messages of size 512k, but only with one such message (amok_bw_test semantic changes leftovers) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3063 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/amok/Bandwidth/saturate.c b/src/amok/Bandwidth/saturate.c index c504ab036b..28a91dd47f 100644 --- a/src/amok/Bandwidth/saturate.c +++ b/src/amok/Bandwidth/saturate.c @@ -159,7 +159,9 @@ void amok_bw_saturate_begin(const char* to_name,unsigned int to_port, double bw; double sec; amok_bw_test(peer_cmd, - 0,512*1024, 512*1024, /* 512k as first guess */ + 0, /* check buffsize yourself */ + 512*1024, /* 512k as first guess */ + 1, /* One packet only */ 1, /* at least one sec */ &sec, &bw); msg_size = request->msg_size = (int)bw;