瀏覽代碼

Tell user to set TCP_gamma himself for now

Samuel Thibault 12 年之前
父節點
當前提交
2f67e34235
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      doc/chapters/perf-optimization.texi

+ 6 - 3
doc/chapters/perf-optimization.texi

@@ -495,7 +495,7 @@ application, specifying the requested number of devices:
 @cartouche
 @smallexample
 $ ./configure --enable-simgrid && make
-$ STARPU_SCHED=dmda STARPU_NCPU=12 STARPU_NCUDA=0 STARPU_NOPENCL=1 ./examples/matvecmult/matvecmult
+$ STARPU_SCHED=dmda STARPU_NCPU=12 STARPU_NCUDA=0 STARPU_NOPENCL=1 ./examples/matvecmult/matvecmult --cfg=network/TCP_gamma:1000000000
 TEST FAILED !!!
 @end smallexample
 @end cartouche
@@ -503,12 +503,15 @@ TEST FAILED !!!
 It is normal that the test fails: since the computation are not actually done
 (that is the whole point of simgrid), the result is wrong, of course.
 
+The @code{cfg=network/TCP_gamma} is needed for now to fix CPU/GPU transfer
+simulation.
+
 If the performance model is not calibrated enough, the following error
 message will be displayed
 
 @cartouche
 @smallexample
-$ STARPU_SCHED=dmda STARPU_NCPU=12 STARPU_NCUDA=0 STARPU_NOPENCL=1 ./examples/matvecmult/matvecmult
+$ STARPU_SCHED=dmda STARPU_NCPU=12 STARPU_NCUDA=0 STARPU_NOPENCL=1 ./examples/matvecmult/matvecmult --cfg=network/TCP_gamma:1000000000
 [0.000000] [xbt_cfg/INFO] type in variable = 2
 [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
 [starpu][_starpu_load_history_based_model] Warning: model matvecmult is not calibrated, forcing calibration for this run. Use the STARPU_CALIBRATE environment variable to control this.
@@ -525,7 +528,7 @@ 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
+$ STARPU_NCPU=12 STARPU_NCUDA=2 STARPU_NOPENCL=0 ./example --cfg=contexts/stack_size:8192 --cfg=network/TCP_gamma:1000000000
 [0.000000] [xbt_cfg/INFO] type in variable = 2
 [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
 TEST FAILED !!!