浏览代码

75% memory is too much for a desktop

Samuel Thibault 14 年之前
父节点
当前提交
261feb9a4c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/datawizard/reclaim.c

+ 2 - 2
tests/datawizard/reclaim.c

@@ -61,10 +61,10 @@ int main(int argc, char **argv)
 	int task;
 
 #ifdef STARPU_HAVE_HWLOC
-	/* We allocate 75% of the memory */
+	/* We allocate 50% of the memory */
 	uint64_t total_size = get_total_memory_size();
 
-	mb = (int)((0.75 * total_size)/(BLOCK_SIZE));
+	mb = (int)((0.50 * total_size)/(BLOCK_SIZE));
 #endif
 
 	/* An optional argument indicates the number of MB to allocate */