浏览代码

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
 @cartouche
 @smallexample
 @smallexample
 $ ./configure --enable-simgrid && make
 $ ./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 !!!
 TEST FAILED !!!
 @end smallexample
 @end smallexample
 @end cartouche
 @end cartouche
@@ -503,12 +503,15 @@ TEST FAILED !!!
 It is normal that the test fails: since the computation are not actually done
 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.
 (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
 If the performance model is not calibrated enough, the following error
 message will be displayed
 message will be displayed
 
 
 @cartouche
 @cartouche
 @smallexample
 @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] [xbt_cfg/INFO] type in variable = 2
 [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
 [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.
 [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
 @cartouche
 @smallexample
 @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] [xbt_cfg/INFO] type in variable = 2
 [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
 [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
 TEST FAILED !!!
 TEST FAILED !!!