From e6b71f222108c2f203239112265606068bafe609 Mon Sep 17 00:00:00 2001 From: chunmei Date: Wed, 1 Nov 2017 20:37:53 -0700 Subject: [PATCH] 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 --- src/common/options.cc | 5 +++-- src/msg/async/dpdk/dpdk_rte.cc | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) 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