From 87422588ccdadac87d131d6e937fd82ab381fd8b Mon Sep 17 00:00:00 2001 From: jiangyimin Date: Thu, 22 Aug 2019 09:59:54 +0800 Subject: [PATCH] docs: pin omp thread to 4 --- docs/step-by-step-tutorial.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/step-by-step-tutorial.md b/docs/step-by-step-tutorial.md index f076e023c..b24733404 100644 --- a/docs/step-by-step-tutorial.md +++ b/docs/step-by-step-tutorial.md @@ -115,6 +115,9 @@ export DMLC_NUM_SERVER=1 export DMLC_PS_ROOT_URI=10.0.0.1 # the scheduler IP export DMLC_PS_ROOT_PORT=1234 # the scheduler port +# 4 threads should be enough for a server +export MXNET_OMP_MAX_THREADS=4 + python /usr/local/byteps/launcher/launch.py ``` @@ -225,6 +228,9 @@ export DMLC_NUM_SERVER=1 # the RDMA interface name of the server export DMLC_INTERFACE=eth5 +# 4 threads should be enough for a server +export MXNET_OMP_MAX_THREADS=4 + # your scheduler's RDMA NIC information (IP, port) export DMLC_PS_ROOT_URI=10.0.0.100 export DMLC_PS_ROOT_PORT=9000