[
https://issues.apache.org/jira/browse/CASSANDRA-12972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726083#comment-17726083
]
Stefan Miklosovic edited comment on CASSANDRA-12972 at 5/25/23 7:37 AM:
------------------------------------------------------------------------
Well it really depends how we want to look at this. What I would like to see is
to have two parameters.
The first one would be the frequency of the output of each statistics line. Now
it is really printing it each second but I doubt that if somebody is running a
stress test which is designed to run for 1 hour that they would be interested
about the results _each second_ . Printing them each 10s or even every minute
is just enough. What value it has to see each-second reports for 1 hour stress
test?
So there should be also -report-frequency. But this "-report-frequency" should
be based on a period like "give me a line of output every 10s". You can not say
"give me line of output every 10 lines", that does not make a lot of sense.
So if -report-frequency is period-based, -header-frequency should be too. In
the end it would look like
-report-frequency 10s -header-frequency 1m
rather than
--report-frequency 10s --header-frequency 10
Basing both parameters on period is more natural to me.
[~brandon.williams] thoughts?
was (Author: smiklosovic):
Well it really depends how we want to look at this. What I would like to see is
to have two parameters.
The first one would be the frequency of the output of each statistics line. Now
it is really printing it each second but I doubt that if somebody is running a
stress test which is designed to run for 1 hour that they would be interested
about the results _each second_ . Printing them each 10s or even every minute
is just enough. What value it has to see each-second reports for 1 hour stress
test?
So there should be also --report-frequency. But this "--report-frequency"
should be based on a period like "give me a line of output every 10s". You can
not say "give me line of output every 10 lines", that does not make a lot of
sense.
So if --report-frequency is period-based, --header-frequency should be too. In
the end it would look like
--report-frequency 10s --header-frequency 1m
rather than
--report-frequency 10s --header-frequency 10
Basing both parameters on period is more natural to me.
[~brandon.williams] thoughts?
> Print stress-tool header for statistics with arbitrary frequency
> ----------------------------------------------------------------
>
> Key: CASSANDRA-12972
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12972
> Project: Cassandra
> Issue Type: Improvement
> Components: Legacy/Tools, Tool/stress
> Reporter: Vovodroid
> Assignee: Stefan Miklosovic
> Priority: Low
> Labels: lhf
> Fix For: 5.x
>
> Attachments: 3.11.patch, signature.asc
>
>
> Currently header with columns meaning is printed only on test beginning. If
> test is long it's not handy to interpret rows with numbers only.
> I propose to repeatably print headers each half-minute or so.
> Patch is available, is this improvement needed?
> Thanks.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]