GitHub user paul-rogers opened a pull request: https://github.com/apache/drill/pull/754
DRILL-5275: Sort spill is slow due to repeated allocations DRILL-5275 - Sort spill serialization is slow due to repeated buffer allocations Rather than create a heap buffer per vector when writing and reading, the revised code creates a single, shared buffer used for all I/O within a particular container. This improves performance by reducing GC and CPU costs during I/Os. You can merge this pull request into a Git repository by running: $ git pull https://github.com/paul-rogers/drill DRILL-5275 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/drill/pull/754.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 #754 ---- commit 60b95f777eefe343fd49e380d03128090fd96a7a Author: Paul Rogers <prog...@maprtech.com> Date: 2017-02-20T01:53:31Z DRILL-5275 Sort spill is slow due to repeated allocations DRILL-5275 - Sort spill serialization is slow due to repeated buffer allocations Rather than create a heap buffer per vector when writing and reading, the revised code creates a single, shared buffer used for all I/O within a particular container. This improves performance by reducing GC and CPU costs during I/Os. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---