Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.10.0
-
None
-
None
-
ghx-label-8
Description
One of the RowBatch c'tors copies the row descriptor into the row batch. This leads to a lot of allocation churn since RowDescriptor contains some vector members, and since the descriptor is usually the same the copies are unnecessary.
Instead, we should consider allocating the RowDescriptor once from an object pool, and sharing it amongst all row batches that need that descriptor.
In some tests, RowDescriptor() shows up as 20% of the tcmalloc allocation time.
Attachments
Issue Links
- blocks
-
IMPALA-5528 tcmalloc contention much higher with concurrency after KRPC patch
- Resolved
- is related to
-
IMPALA-2567 KRPC milestone 1
- Resolved