You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2017/09/26 23:17:00 UTC

[jira] [Created] (IMPALA-5988) Improve MemPool::TryAllocate() efficiency for small strings

Tim Armstrong created IMPALA-5988:
-------------------------------------

             Summary: Improve MemPool::TryAllocate() efficiency for small strings
                 Key: IMPALA-5988
                 URL: https://issues.apache.org/jira/browse/IMPALA-5988
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
            Reporter: Tim Armstrong
            Assignee: Tim Armstrong


There are some places in the code where we allocate many small strings from MemPool::TryAllocate().  The code is not particularly well optimised for this case. Specifically:
* We always realign to the default alignment even when alignment isn't required.
* The fast path through the code could be streamlined.

I noticed this while working on IMPALA-5307 where I'm adding extra calls to allocate strings per-row.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)