-
Notifications
You must be signed in to change notification settings - Fork 910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change default KvikIO parameters in cuDF: set the thread pool size to 4, and compatibility mode to ON #17185
Merged
rapids-bot
merged 9 commits into
rapidsai:branch-24.12
from
kingcrimsontianyu:further-tweak-nthreads
Nov 1, 2024
Merged
Change default KvikIO parameters in cuDF: set the thread pool size to 4, and compatibility mode to ON #17185
rapids-bot
merged 9 commits into
rapidsai:branch-24.12
from
kingcrimsontianyu:further-tweak-nthreads
Nov 1, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kingcrimsontianyu
added
improvement
Improvement / enhancement to an existing function
non-breaking
Non-breaking change
labels
Oct 25, 2024
kingcrimsontianyu
force-pushed
the
further-tweak-nthreads
branch
from
October 30, 2024 05:00
79b3e85
to
07fdb44
Compare
kingcrimsontianyu
changed the title
Change the KvikIO thread pool size from 8 to 4 due to the performance issue with Dask-cuDF
Change default KvikIO parameters in cuDF: set the thread pool size to 4, and compatibility mode to ON
Oct 30, 2024
bdice
approved these changes
Oct 30, 2024
ttnghia
approved these changes
Oct 30, 2024
vuule
reviewed
Oct 30, 2024
vuule
reviewed
Oct 31, 2024
vuule
approved these changes
Nov 1, 2024
/merge |
3 tasks
rapids-bot bot
pushed a commit
that referenced
this pull request
Nov 20, 2024
This PR adapts cuDF to a breaking API change in KvikIO (rapidsai/kvikio#547) introduced recently, which adds the `AUTO` compatibility mode to file I/O. This PR causes no behavioral changes in cuDF: If the environment variable `KVIKIO_COMPAT_MODE` is left unset, cuDF by default still enables the compatibility mode in KvikIO. This is the same with the previous behavior (#17185). Authors: - Tianyu Liu (https://github.com/kingcrimsontianyu) Approvers: - Vukasin Milovanovic (https://github.com/vuule) URL: #17377
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
improvement
Improvement / enhancement to an existing function
libcudf
Affects libcudf (C++/CUDA) code.
non-breaking
Non-breaking change
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adjusts the default KvikIO parameters in light of recent discussions.
In addition, this PR updates the documentation on
LIBCUDF_CUFILE_POLICY
.It is reported that Dask-cuDF on a 8-GPU node with Lustre file system has major performance regression when the KvikIO thread pool size is 8.
Additional benchmark on Grace Hopper (Parquet, CSV) indicates no performance regression by switching the thread pool size from 8 to 4. For the time being, we choose 4 as an empirical sweet spot.
Closes #16512
Checklist