浏览代码

HPCC-18230 Don't use tbbmalloc in Roxie

We've seen too many issues - including problems running in containers - for
the (small) benefit in Roxie performance to be justified.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 7 年之前
父节点
当前提交
75790ab9ee
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      cmake_modules/commonSetup.cmake
  2. 1 1
      roxie/ccd/CMakeLists.txt

+ 1 - 0
cmake_modules/commonSetup.cmake

@@ -107,6 +107,7 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "")
   else()
       option(USE_TBB "Enable Threading Building Block support" ON)
       option(USE_TBBMALLOC "Enable Threading Building Block scalable allocator proxy support" ON)
+      option(USE_TBBMALLOC_ROXIE "Enable Threading Building Block scalable allocator proxy support in Roxie" OFF)
   endif()
   option(LOGGING_SERVICE "Configure use of logging service" ON)
 

+ 1 - 1
roxie/ccd/CMakeLists.txt

@@ -123,7 +123,7 @@ IF (USE_OPENSSL)
     )
 ENDIF()
 
-IF (USE_TBBMALLOC)
+IF (USE_TBBMALLOC AND USE_TBBMALLOC_ROXIE)
    add_dependencies ( ccd tbb )
    target_link_libraries ( ccd libtbbmalloc_proxy libtbbmalloc)
 ENDIF()