You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2014/12/01 13:09:12 UTC

[jira] [Commented] (CASSANDRA-8341) Expose time spent in each thread pool

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

Robert Stupp commented on CASSANDRA-8341:
-----------------------------------------

Note: {{TheadMXBean.getCurrentThread...()}} definitely performs better than {{System.nanoTime()}} - at least on OSX with a single 8-core CPU.

> Expose time spent in each thread pool
> -------------------------------------
>
>                 Key: CASSANDRA-8341
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8341
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Chris Lohfink
>            Priority: Minor
>              Labels: metrics
>         Attachments: 8341.patch, 8341v2.txt
>
>
> Can increment a counter with time spent in each queue.  This can provide context on how much time is spent percentage wise in each stage.  Additionally can be used with littles law in future if ever want to try to tune the size of the pools.



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