Skip to content

Commit

Permalink
Change the KvikIO thread pool size from 8 to 4 due to the performance…
Browse files Browse the repository at this point in the history
… issue with Dask-cuDF.
  • Loading branch information
kingcrimsontianyu committed Oct 25, 2024
1 parent d7cdf44 commit 79b3e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/io/utilities/config_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void set_thread_pool_nthreads_from_env()
{
static std::once_flag flag{};
std::call_once(flag, [] {
auto nthreads = getenv_or<unsigned int>("KVIKIO_NTHREADS", 8U);
auto nthreads = getenv_or<unsigned int>("KVIKIO_NTHREADS", 4U);
kvikio::defaults::thread_pool_nthreads_reset(nthreads);
});
}
Expand Down

0 comments on commit 79b3e85

Please sign in to comment.