We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f86f38 commit 4f277aaCopy full SHA for 4f277aa
src/ray/common/ray_config_def.h
@@ -908,7 +908,8 @@ RAY_CONFIG(int64_t,
908
/// reply path is light enough that 2 threads is sufficient.
909
RAY_CONFIG(int64_t,
910
core_worker_num_server_call_thread,
911
- std::min<int64_t>(2, (int64_t)std::thread::hardware_concurrency()))
+ std::min((int64_t)2,
912
+ std::max((int64_t)1, (int64_t)(std::thread::hardware_concurrency() / 4U))))
913
914
/// Use madvise to prevent worker/raylet coredumps from including
915
/// the mapped plasma pages.
0 commit comments