Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15037

cassandra-stress doesn't provide warmup for duration based executions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Fix Version/s: 4.0.x
    • Component/s: Legacy/Tools
    • Labels:
    • Severity:
      Low

      Description

      cassandra-stress utility performs warmup only when number of operations is specified.

      In case of duration based execution it doesn't provide warmup. That leads to count startup/warmup induced latency that maybe considered as undesired statistics.

      For example latencies difference between warmed and cold execution even for 15 minutes may reach to:  17% for 99th percentile, 35% for 99.9th and 55% for max latency.

       

      Attached patch contains example how it may be fixed. It was chosen to use 1/5 of duration time as warmup time, but probably the proper way to do it is to add a new option.

       

        Attachments

        1. stress_warmup.patch
          4 kB
          Sergey Kuksenko

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kuksenk0 Sergey Kuksenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: