You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Gary Helmling (JIRA)" <ji...@apache.org> on 2016/10/11 22:02:20 UTC

[jira] [Resolved] (HBASE-16146) Counters are expensive...

     [ https://issues.apache.org/jira/browse/HBASE-16146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Helmling resolved HBASE-16146.
-----------------------------------
       Resolution: Fixed
         Assignee: Gary Helmling
     Hadoop Flags: Reviewed
    Fix Version/s: 1.4.0
                   1.3.0
                   2.0.0

Committed to branch-1.3, branch-1, and master.  Counter is no longer used in master, but still present as a deprecated class, so included for consistency.

Thanks, [~stack], [~mantonov], and [~enis] for reviews.

> Counters are expensive...
> -------------------------
>
>                 Key: HBASE-16146
>                 URL: https://issues.apache.org/jira/browse/HBASE-16146
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: stack
>            Assignee: Gary Helmling
>             Fix For: 2.0.0, 1.3.0, 1.4.0
>
>         Attachments: HBASE-16146.001.patch, HBASE-16146.branch-1.001.patch, HBASE-16146.branch-1.3.001.patch, counters.patch, less_and_less_counters.png
>
>
> Doing workloadc, perf shows 10%+ of CPU being spent on counter#add. If I disable some of the hot ones -- see patch -- I can get 10% more throughput (390k to 440k). Figure something better.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)