X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8d8521a35887b41cb63e3473c650140ea3322298..6b85ea23bb4697266132fffaebc5e55ef6cc14c0:/examples/msg/chord/chord.c diff --git a/examples/msg/chord/chord.c b/examples/msg/chord/chord.c index 08698f605d..f7f145a70a 100644 --- a/examples/msg/chord/chord.c +++ b/examples/msg/chord/chord.c @@ -250,6 +250,13 @@ static void set_predecessor(node_t node, int predecessor_id) */ int node(int argc, char *argv[]) { + /* Reduce the run size for the MC */ + if(MC_IS_ENABLED){ + periodic_stabilize_delay = 3; + periodic_fix_fingers_delay = 3; + periodic_check_predecessor_delay = 3; + } + double init_time = MSG_get_clock(); m_task_t task_received = NULL; msg_comm_t comm_send = NULL; @@ -330,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 {