-
Notifications
You must be signed in to change notification settings - Fork 230
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
Add support for using the arena allocator #871
Conversation
Signed-off-by: Rong Ou <rong.ou@gmail.com>
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuDeviceManager.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/python/GpuPythonHelper.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/python/PythonConfEntries.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Rong Ou <rong.ou@gmail.com>
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuDeviceManager.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Rong Ou <rong.ou@gmail.com>
Signed-off-by: Rong Ou <rong.ou@gmail.com>
Hi @rongou, Could I ask what's the difference for the strategy of ARENA and DEFAULT? |
|
Signed-off-by: Rong Ou <rong.ou@gmail.com>
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuDeviceManager.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuDeviceManager.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Rong Ou <rong.ou@gmail.com>
init | ||
case c => | ||
logError(s"RMM pool set to '$c' is not supported.") | ||
init |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should throw IllegalArgumentException or something similar, otherwise this is still proceeding (albeit with a log message in an executor log that the user probably will not immediately see).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Signed-off-by: Rong Ou <rong.ou@gmail.com>
build |
👎 Promotion blocked, new vulnerability foundVulnerability report
|
build |
1 similar comment
build |
@rongou do we want to make ARENA the default allocator, even without PTDS? |
@abellina I think the plan is to enable PTDS by default. Without PTDS, the arena allocator performs similarly to the original pool. |
Ok, for me just making sure that ARENA was tested with or without PTDS, that was the main thing. Thanks @rongou |
Signed-off-by: Rong Ou <rong.ou@gmail.com>
Signed-off-by: Rong Ou <rong.ou@gmail.com>
Signed-off-by: Rong Ou <rong.ou@gmail.com>
…IDIA#871) Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com> Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Fixes #864
@jlowe @abellina