cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lohfink (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8341) Expose time spent in each thread pool
Date Wed, 19 Nov 2014 16:44:34 GMT


Chris Lohfink commented on CASSANDRA-8341:

Attached a first pass patch for an idea.  I just recorded the wall time but may want to record
cpu time as well ([getCurrentThreadCpuTime & getCurrentThreadUserTime|]).
 May be worth recording it with a histogram instead of just a counter as well, but for the
purpose of exposing % of time I think the total is sufficient.  I added an insertion meter
as well for easier time in estimating different pool sizes (just easier then adding up the
pending/completed/active and give sense of rate).

> Expose time spent in each thread pool
> -------------------------------------
>                 Key: CASSANDRA-8341
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Chris Lohfink
>            Priority: Minor
>              Labels: metrics
>         Attachments: 8341.patch
> 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

View raw message