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

Elliott Clark updated HBASE-15222:
----------------------------------
    Attachment: HBASE-15222-v8.patch

Use fast long histogram for both histogram and for timerange/sizerange 
estimates.

Benchmarks:
{code}
Benchmark                                      Mode      Cnt     Score    Error 
 Units
HistogramBenchmark.fastLong                  sample  3338218   401.795 ± 37.543 
 ns/op
HistogramBenchmark.testHDRAtomic             sample  2952135   780.955 ± 27.390 
 ns/op
HistogramBenchmark.testHDRConcurrent         sample  2875714   844.485 ± 43.087 
 ns/op
HistogramBenchmark.testMutableTimeHistogram  sample  4192279   304.305 ± 20.453 
 ns/op
HistogramBenchmark.testYammer                sample  2747876  1508.518 ± 48.166 
 ns/op
{code}

> Use less contended classes for metrics
> --------------------------------------
>
>                 Key: HBASE-15222
>                 URL: https://issues.apache.org/jira/browse/HBASE-15222
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 2.0.0, 1.2.0, 1.3.0
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Critical
>             Fix For: 2.0.0, 1.3.0
>
>         Attachments: HBASE-15222-v1.patch, HBASE-15222-v2.patch, 
> HBASE-15222-v3.patch, HBASE-15222-v5.patch, HBASE-15222-v6.patch, 
> HBASE-15222-v8.patch, HBASE-15222.patch
>
>
> Running the benchmarks now, but it looks like the results are pretty extreme. 
> The locking in our histograms is pretty extreme.



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

Reply via email to