Parcourir la source

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

Nathalie Furmento il y a 12 ans
Parent
commit
e034b9ada9
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  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