Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Be a nice boy and don't saturate with 512*1024 messages of size 512k, but only with...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 17 Jan 2007 16:08:56 +0000 (16:08 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 17 Jan 2007 16:08:56 +0000 (16:08 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3063 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/amok/Bandwidth/saturate.c

index c504ab0..28a91dd 100644 (file)
@@ -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;