浏览代码

doc/chapters/perf-optimization.texi: simgrid option --cfg=contexts/stack_size to set stack size

Nathalie Furmento 12 年之前
父节点
当前提交
e034b9ada9
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      doc/chapters/perf-optimization.texi

+ 9 - 0
doc/chapters/perf-optimization.texi

@@ -444,3 +444,12 @@ STARPU_NCPU=12 STARPU_NCUDA=2 STARPU_NOPENCL=0 ./example
 
 For now, only the number of cpus can be arbitrarily chosen. The number of CUDA
 and OpenCL devices have to be lower than the real number on the current machine.
+
+The Simgrid default stack size is small, to increase it use the
+parameter @code{--cfg=contexts/stack_size}, for example:
+
+@cartouche
+@smallexample
+STARPU_NCPU=12 STARPU_NCUDA=2 STARPU_NOPENCL=0 ./example --cfg=contexts/stack_size:8192
+@end smallexample
+@end cartouche