You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/09/07 06:31:20 UTC

[jira] [Comment Edited] (OAK-4768) Provide an option to enable Metrics collection for benchmark run

    [ https://issues.apache.org/jira/browse/OAK-4768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15469729#comment-15469729 ] 

Chetan Mehrotra edited comment on OAK-4768 at 9/7/16 6:30 AM:
--------------------------------------------------------------

Metrics can be enabled via {{--metrics=true}} arg and the report would be dumped on console

{noformat}
$java -Druntime=5 -jar target/oak-run-1.6-SNAPSHOT.jar benchmark --metrics=true SetPropertyTest Oak-Segment-Tar-FDS
Apache Jackrabbit Oak 1.6-SNAPSHOT
# SetPropertyTest                  C     min     10%     50%     90%     max       N 
Oak-Segment-Tar-FDS                1     583     583     843    1056    1056       6
9/7/16 11:55:50 AM =============================================================

-- Gauges ----------------------------------------------------------------------
OBSERVATION_EVENT_AVERAGE
             value = NaN

-- Counters --------------------------------------------------------------------
SEGMENT_REPO_SIZE
             count = 5216768
SESSION_COUNT
             count = 1

-- Meters ----------------------------------------------------------------------
JOURNAL_WRITES
             count = 3
         mean rate = 0.16 events/second
     1-minute rate = 0.03 events/second
     5-minute rate = 0.01 events/second
    15-minute rate = 0.00 events/second
SEGMENT_WRITES
             count = 5216768
         mean rate = 277192.77 events/second
     1-minute rate = 202005.12 events/second
     5-minute rate = 167143.21 events/second
    15-minute rate = 160942.64 events/second
SESSION_LOGIN_COUNTER
             count = 3
         mean rate = 0.19 events/second
     1-minute rate = 0.35 events/second
     5-minute rate = 0.39 events/second
    15-minute rate = 0.40 events/second
SESSION_WRITE_COUNTER
             count = 16007
         mean rate = 1017.03 events/second
     1-minute rate = 703.35 events/second
     5-minute rate = 625.36 events/second
    15-minute rate = 610.47 events/second
{noformat}




was (Author: chetanm):
Metrics can be enabled via {{--metrics=true}} arg and the report would be dumped on console

{noformat}
java -Druntime=5 -jar target/oak-run-1.6-SNAPSHOT.jar benchmark --metrics=true SetPropertyTest Oak-Segment-Tar-FDS
Apache Jackrabbit Oak 1.6-SNAPSHOT
# SetPropertyTest                  C     min     10%     50%     90%     max       N 
Oak-Segment-Tar-FDS                1     583     583     843    1056    1056       6
9/7/16 11:55:50 AM =============================================================

-- Gauges ----------------------------------------------------------------------
OBSERVATION_EVENT_AVERAGE
             value = NaN

-- Counters --------------------------------------------------------------------
SEGMENT_REPO_SIZE
             count = 5216768
SESSION_COUNT
             count = 1

-- Meters ----------------------------------------------------------------------
JOURNAL_WRITES
             count = 3
         mean rate = 0.16 events/second
     1-minute rate = 0.03 events/second
     5-minute rate = 0.01 events/second
    15-minute rate = 0.00 events/second
SEGMENT_WRITES
             count = 5216768
         mean rate = 277192.77 events/second
     1-minute rate = 202005.12 events/second
     5-minute rate = 167143.21 events/second
    15-minute rate = 160942.64 events/second
SESSION_LOGIN_COUNTER
             count = 3
         mean rate = 0.19 events/second
     1-minute rate = 0.35 events/second
     5-minute rate = 0.39 events/second
    15-minute rate = 0.40 events/second
SESSION_WRITE_COUNTER
             count = 16007
         mean rate = 1017.03 events/second
     1-minute rate = 703.35 events/second
     5-minute rate = 625.36 events/second
    15-minute rate = 610.47 events/second
{noformat}



> Provide an option to enable Metrics collection for benchmark run
> ----------------------------------------------------------------
>
>                 Key: OAK-4768
>                 URL: https://issues.apache.org/jira/browse/OAK-4768
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: run
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.6, 1.5.10
>
>
> For determining some key metrics I would like to provide an option to configure metrics for any benchmark run. The StatisticsProvider would be configured with the respective NodeStore implementation and report would be added to console



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