Browse Source

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

Nathalie Furmento 12 years ago
parent
commit
e034b9ada9
1 changed files with 9 additions and 0 deletions
  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