Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove upper bound as the model is also valid for greater message sizes
authorStephane Genaud <genaud@unistra.fr>
Tue, 20 Sep 2011 22:14:58 +0000 (00:14 +0200)
committerStephane Genaud <genaud@unistra.fr>
Tue, 20 Sep 2011 22:14:58 +0000 (00:14 +0200)
src/surf/network.c

index 3ab1a34..eef5dbd 100644 (file)
@@ -106,7 +106,7 @@ static double constant_bandwidth_constraint(double rate, double bound,
 /**
  *------------------ <copy/paste C code snippet in surf/network.c> ----------------------
  *
 /**
  *------------------ <copy/paste C code snippet in surf/network.c> ----------------------
  *
- * produced by: ./calibrate_piecewise2.py griffon_skampi_pt2pt.ski.dat 2 2.4e-5 1.25e8 1024 65536
+ * produced by: ./calibrate_piecewise.py griffon_skampi_pt2pt.ski.dat 2 2.4e-5 1.25e8 1024 65536
  *
  *---------------------------------------------------------------------------------------
  **/
  *
  *---------------------------------------------------------------------------------------
  **/
@@ -120,8 +120,8 @@ static double smpi_bandwidth_factor(double size)
          if (1536 <= size && size <=  65536) {
                    return(0.58527);
          }
          if (1536 <= size && size <=  65536) {
                    return(0.58527);
          }
-         /* case 66560 Bytes <= size <=8388608 Bytes */
-         if (66560 <= size && size <=  8388608) {
+         /* case 66560 Bytes <= size */
+         if (66560 <= size ) {
                    return(0.933246);
          }
 }
                    return(0.933246);
          }
 }
@@ -136,8 +136,8 @@ static double smpi_latency_factor(double size)
          if (1536 <= size && size <=  65536) {
                    return(1.82006);
          }
          if (1536 <= size && size <=  65536) {
                    return(1.82006);
          }
-         /* case 66560 Bytes <= size <=8388608 Bytes */
-         if (66560 <= size && size <=  8388608) {
+         /* case 66560 Bytes <= size */
+         if (66560 <= size) {
                    return(14.6187);
          }
 }
                    return(14.6187);
          }
 }