cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giampaolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11352) Include units of metrics in the cassandra-stress tool
Date Tue, 12 Apr 2016 21:28:25 GMT

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

Giampaolo commented on CASSANDRA-11352:
---------------------------------------

I've prepared a patch for this issue that is available as attachment here and as branch (rebased
and squashed at [https://github.com/radicalbit/cassandra/tree/CASSANDRA-11352-trunk]). The
output of stress is now like this (keep in mind that in my locale, comma is the decimal separator
while dot is the three digits separator)

{code}
Results:
Op rate                   :      4.160op/s  [WRITE:4.160op/s]
Partition rate            :      4.160pk/s  [WRITE:4.160pk/s]
Row rate                  :      4.160row/s [WRITE:4.160row/s]
Latency mean              :          0,9ms [WRITE:0,9ms]
Latency median            :          0,5ms [WRITE:0,5ms]
Latency 95th percentile   :          2,2ms [WRITE:2,2ms]
Latency 99th percentile   :          6,5ms [WRITE:6,5ms]
Latency 99.9th percentile :         28,3ms [WRITE:28,3ms]
Latency max               :        134,3ms [WRITE:134,3ms]
Total partitions          :    378.374 [WRITE:378.374]
Total errors              :          0 [WRITE:0]
Total GC count            :         89
Total GC memory           :      3,493GiB
Total GC time             :          1,2s
Avg GC time               :         13,9ms
StdDev GC time            :          8,3ms
Total operation time      : 00:01:30
{code}

I've tried some other alignment but this seems the best possible compromise to me.
Some rationals:
* as [https://issues.apache.org/jira/browse/CASSANDRA-9692], I kept units beside numbers without
spaces
* decimal numbers are aligned using decimal sign
* Total GC time is in seconds while other GC measures are in milliseconds. This could be misleading,
I'm waiting reviewer comment on this
* Respect to ticket, I took the liberty of adding three digits separator

About tests: stress tool is in dtests, I've tried to run them but after a whole workday they
weren't finished and besides the "F" letter, no useful output was produced. 

Moreover, during tests I was not able to connect with JMX, the error was: 
{{the Connection refused to host: 127.0.0.4; nested exception is: java.net.ConnectException:
Connection refused}}. 
How can I fix this for future tests?

> Include units of metrics in the cassandra-stress tool 
> ------------------------------------------------------
>
>                 Key: CASSANDRA-11352
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11352
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Rajath Subramanyam
>            Assignee: Giampaolo
>            Priority: Minor
>              Labels: lhf
>             Fix For: 3.x
>
>
> cassandra-stress in the Results section can have units for the metrics as an improvement
to make the tool more usable. 
> Results:
> op rate                   : 14668 [READ:7334, WRITE:7334]
> partition rate            : 14668 [READ:7334, WRITE:7334]
> row rate                  : 14668 [READ:7334, WRITE:7334]
> latency mean              : 0.7 [READ:0.7, WRITE:0.7]
> latency median            : 0.6 [READ:0.6, WRITE:0.6]
> latency 95th percentile   : 0.8 [READ:0.8, WRITE:0.8]
> latency 99th percentile   : 1.2 [READ:1.2, WRITE:1.2]
> latency 99.9th percentile : 8.8 [READ:8.9, WRITE:9.0]
> latency max               : 448.7 [READ:162.3, WRITE:448.7]
> Total partitions          : 105612753 [READ:52805915, WRITE:52806838]
> Total errors              : 0 [READ:0, WRITE:0]
> total gc count            : 0
> total gc mb               : 0
> total gc time (s)         : 0
> avg gc time(ms)           : NaN
> stdev gc time(ms)         : 0
> Total operation time      : 02:00:00
> END



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

Mime
View raw message