GitHub user JoshRosen opened a pull request:
https://github.com/apache/spark/pull/6227
[SPARK-7698] [WIP] Cache and reuse buffers in ExecutorMemoryAllocator when
using heap allocation
When on-heap memory allocation is used, ExecutorMemoryManager should
maintain a cache / pool of buffers for re-use by tasks. This will significantly
improve the performance of the new Tungsten's sort-shuffle for jobs with many
short-lived tasks by eliminating a major source of GC.
This pull request is an early work-in-progress sketch showing a
minimum-viable-implementation of this idea. In its current form, this patch
significantly improves performance on a stress test which launches huge numbers
of short-lived shuffle map tasks back-to-back in the same JVM.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JoshRosen/spark SPARK-7698
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6227.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6227
----
commit b154e868dab749d084533f5ca491c75675c96019
Author: Josh Rosen <[email protected]>
Date: 2015-05-18T02:59:54Z
WIP sketch of pooling in ExecutorMemoryManager
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]