Skip to content
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

Disable default cuDF pinned pool #10868

Merged
merged 2 commits into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,12 @@ object GpuDeviceManager extends Logging {
} else {
(conf.pinnedPoolSize, -1L)
}
// disable the cuDF provided default pinned pool for now
if (!PinnedMemoryPool.configureDefaultCudfPinnedPoolSize(0L)) {
// This is OK in tests because they don't unload/reload our shared
// library, and in prod it would be nice to know about it.
logWarning("The default cuDF host pool was already configured")
}
if (!PinnedMemoryPool.isInitialized && pinnedSize > 0) {
logInfo(s"Initializing pinned memory pool (${pinnedSize / 1024 / 1024.0} MiB)")
PinnedMemoryPool.initialize(pinnedSize, gpuId, setCuioDefaultResource)
Expand Down