-
Notifications
You must be signed in to change notification settings - Fork 435
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
[VL] In OAP Velox fork, simplify shrinking/spilling code for Velox memory pool #3586
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/oap-project/gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
/Benchmark Velox |
===== Performance report for TPCH SF2000 with Velox backend, for reference only ====
|
@@ -62,26 +63,28 @@ class ListenableArbitrator : public velox::memory::MemoryArbitrator { | |||
} | |||
|
|||
void reserveMemory(velox::memory::MemoryPool* pool, uint64_t) override { | |||
growPool(pool, memoryPoolInitCapacity_); | |||
std::lock_guard<std::recursive_mutex> l(mutex_); |
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.
👍
could we remove AllocationListener's mutex?
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.
Let's keep that mutex for now since this one only works in Velox backend.
===== Performance report for TPCH SF2000 with Velox backend, for reference only ====
|
I've done some work to minimize the for-pick PR facebookincubator/velox#5790, the change included in this patch would be needed for Gluten then.