]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ms_dpdk_coremask and ms_async_op_threads has some relationship, 18678/head
authorchunmei <chunmei.liu@intel.com>
Thu, 2 Nov 2017 03:37:53 +0000 (20:37 -0700)
committerchunmei <chunmei.liu@intel.com>
Fri, 3 Nov 2017 05:26:45 +0000 (22:26 -0700)
commite6b71f222108c2f203239112265606068bafe609
treee8f8fe4a3e3cbae163382fdbda94e7cf7cc4781b
parent540b4cf575f8298975af0aeab81eb11854667010
ms_dpdk_coremask and ms_async_op_threads has some relationship,
dpdk library will create threasds as many as bit 1 number in
ms_dpdk_coremask and the thredas num should be equal ms_async_op_threads+1,
by ceph default confiuration,ms_async_op_threads =3,ms_dpdk_coremask =1,
so dpdk library can't create enough threads for dpdk workers. the sytem
will stuck at NetworkStack::start().so set ms_dpdk_coremask default 0xF.
and add assert to comapre the two configurations.

Signed-off-by: chunmei <chunmei.liu@intel.com>
src/common/options.cc
src/msg/async/dpdk/dpdk_rte.cc