From: chunmei Date: Thu, 2 Nov 2017 03:37:53 +0000 (-0700) Subject: ms_dpdk_coremask and ms_async_op_threads has some relationship, X-Git-Tag: v13.0.1~304^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F18678%2Fhead;p=ceph.git 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 --- diff --git a/src/common/options.cc b/src/common/options.cc index 89005ae35890..f3ff00ec8ab5 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -821,9 +821,10 @@ std::vector