浏览代码

re-apply r18403 again, we'll be using maxmin/precision simgrid parameter to coarsen the time

Samuel Thibault 8 年之前
父节点
当前提交
0b5135e60e
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      mpi/src/starpu_mpi_comm.c
  2. 1 1
      src/datawizard/data_request.c
  3. 1 1
      src/datawizard/datawizard.c

+ 2 - 2
mpi/src/starpu_mpi_comm.c

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016  CNRS
- * Copyright (C) 2011-2015  Université de Bordeaux
+ * Copyright (C) 2011-2016  Université de Bordeaux
  * Copyright (C) 2014 INRIA
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -130,7 +130,7 @@ int _starpu_mpi_comm_test_recv(MPI_Status *status, struct _starpu_mpi_envelope *
 		{
 			/* test whether an envelope has arrived. */
 #ifdef STARPU_SIMGRID
-			MSG_process_sleep(0.000010);
+			MSG_process_sleep(0.000001);
 #endif
 			res = MPI_Test(&_comm->request, &flag, status);
 			STARPU_ASSERT(res == MPI_SUCCESS);

+ 1 - 1
src/datawizard/data_request.c

@@ -636,7 +636,7 @@ static int __starpu_handle_node_data_requests(struct _starpu_data_request_prio_l
 			 * rather have the caller block, and explicitly wait
 			 * for eviction to happen.
 			 */
-			MSG_process_sleep(0.000010);
+			MSG_process_sleep(0.000001);
 			_starpu_wake_all_blocked_workers_on_node(src_node);
 		}
 #elif !defined(STARPU_NON_BLOCKING_DRIVERS)

+ 1 - 1
src/datawizard/datawizard.c

@@ -31,7 +31,7 @@ int __starpu_datawizard_progress(unsigned memory_node, unsigned may_alloc, unsig
 
 #ifdef STARPU_SIMGRID
 	/* XXX */
-	MSG_process_sleep(0.000010);
+	MSG_process_sleep(0.000001);
 #endif
 	STARPU_UYIELD();