diff --git a/cpp/daal/src/algorithms/dtrees/forest/classification/df_classification_predict_dense_default_batch_impl.i b/cpp/daal/src/algorithms/dtrees/forest/classification/df_classification_predict_dense_default_batch_impl.i index a6e343efa91..c26f48557f6 100644 --- a/cpp/daal/src/algorithms/dtrees/forest/classification/df_classification_predict_dense_default_batch_impl.i +++ b/cpp/daal/src/algorithms/dtrees/forest/classification/df_classification_predict_dense_default_batch_impl.i @@ -1045,7 +1045,9 @@ Status PredictClassificationTask::predictAllPointsByAllTre ReadRows xBD(const_cast(_data), 0, nRowsOfRes); DAAL_CHECK_BLOCK_STATUS(xBD); const algorithmFPType * const aX = xBD.get(); - if (numberOfTrees > _minTreesForThreading) + // TODO: investigate why higher level parallelism for trees causes performance degradation + // (excessive memory and CPU resources usage), especially on systems with high number of cores + if (false) { daal::static_tls tlsData([=]() { return service_scalable_calloc(_nClasses * nRowsOfRes); });