Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Increase the frequency of chord's getrequest operations when running the mc.
[simgrid.git] / examples / msg / chord / chord.c
index 8f7b2f5..f7f145a 100644 (file)
@@ -252,9 +252,9 @@ int node(int argc, char *argv[])
 {
   /* Reduce the run size for the MC */
   if(MC_IS_ENABLED){
-    periodic_stabilize_delay = 8;
-    periodic_fix_fingers_delay = 8;
-    periodic_check_predecessor_delay = 8;
+    periodic_stabilize_delay = 3;
+    periodic_fix_fingers_delay = 3;
+    periodic_check_predecessor_delay = 3;
   }
 
   double init_time = MSG_get_clock();
@@ -337,7 +337,7 @@ int node(int argc, char *argv[])
        }
         else {
           // nothing to do: sleep for a while
-          MSG_process_sleep(5);
+          MSG_process_sleep(3);
         }
       }
       else {