-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-14135] Add off-heap storage memory bookkeeping support to MemoryManager #11942
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
[SPARK-14135] Add off-heap storage memory bookkeeping support to MemoryManager #11942
Conversation
|
Test build #54074 has finished for PR 11942 at commit
|
|
Test build #54077 has finished for PR 11942 at commit
|
|
Jenkins, retest this please. |
|
Test build #54080 has finished for PR 11942 at commit
|
|
Test build #54196 has finished for PR 11942 at commit
|
|
Test build #54201 has finished for PR 11942 at commit
|
|
Jenkins, retest this please. |
|
Jenkins, retest this please. |
|
Test build #54204 has finished for PR 11942 at commit
|
|
/cc @andrewor14 @nongli @rxin, could one of you review this to unblock the off-heap patch? |
|
Test build #54223 has finished for PR 11942 at commit
|
|
LGTM |
|
Test build #2698 has finished for PR 11942 at commit
|
|
Merging in master. Thanks. |
This patch extends Spark's
UnifiedMemoryManagerto add bookkeeping support for off-heap storage memory, an requirement for enabling off-heap caching (which will be done by #11805). TheMemoryManager'sstorageMemoryPoolhas been split into separate on- and off-heap pools and the storage and unroll memory allocation methods have been updated to accept amemoryModeparameter to specify whether allocations should be performed on- or off-heap.In order to reduce the testing surface, the
StaticMemoryManagerdoes not support off-heap caching (we plan to eventually remove theStaticMemoryManager, so this isn't a significant limitation).