[
https://issues.apache.org/jira/browse/HBASE-20781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521378#comment-16521378
]
stack commented on HBASE-20781:
-------------------------------
See attached examples [^2.0621.2.12782.cpu.svg] and
[^2.0621.256k.51351.cpu.svg] ; see how we have above doMiniBatchMutate, a
dedicated doWALAppend CPU spike. See how all it is doing is
FSWALEntry#collectFamilies.
> Save recalculating families in a WALEdit batch of Cells
> -------------------------------------------------------
>
> Key: HBASE-20781
> URL: https://issues.apache.org/jira/browse/HBASE-20781
> Project: HBase
> Issue Type: Sub-task
> Components: Performance
> Reporter: stack
> Assignee: stack
> Priority: Major
> Attachments: 2.0621.2.12782.cpu.svg, 2.0621.256k.51351.cpu.svg
>
>
> Doing a doMiniBatchMutate, we calculate the set of families that the WALEdit
> Cells belong to up front but down after the RingBuffer when we make an
> FSWALEdit, we spin through all the Cells again to figure the set of families
> in a particularly painful way. Just pass the calculated family set in the
> WALEdit.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)