Skip to content

roachtest: use 2-minute ramp times for YCSB workloads#62535

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
erikgrinaker:roachtest-ycsb-ramp
Mar 24, 2021
Merged

roachtest: use 2-minute ramp times for YCSB workloads#62535
craig[bot] merged 1 commit intocockroachdb:masterfrom
erikgrinaker:roachtest-ycsb-ramp

Conversation

@erikgrinaker
Copy link
Copy Markdown
Contributor

In #62534 it was shown that it takes up to two minutes before we have
good enough statistics to allocate appropriately sized batches. However,
the YCSB workloads only had a 1-minute ramp time, which would skew the
results as throughput would abruptly change when the statistics were
updated during the test.

This patch changes the ramp time for YCSB workloads to 2 minutes to make
sure we have appropriate statistics before starting the actual test.

Release note: None

In cockroachdb#62534 it was shown that it takes up to two minutes before we have
good enough statistics to allocate appropriately sized batches. However,
the YCSB workloads only had a 1-minute ramp time, which would skew the
results as throughput would abruptly change when the statistics were
updated during the test.

This patch changes the ramp time for YCSB workloads to 2 minutes to make
sure we have appropriate statistics before starting the actual test.

Release note: None
@erikgrinaker erikgrinaker self-assigned this Mar 24, 2021
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

FYI: not sure if you're aware, but we don't use the master version of roachtests when running them on old branches, so we'll need to backport this change too. (This was changed in the last 6 months.)

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @jordanlewis)

Copy link
Copy Markdown
Contributor Author

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the headsup!

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @jordanlewis)

@erikgrinaker
Copy link
Copy Markdown
Contributor Author

bors r=yuzefovich

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 24, 2021

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 24, 2021

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 24, 2021

Build succeeded:

@craig craig bot merged commit 8aace6d into cockroachdb:master Mar 24, 2021
@erikgrinaker erikgrinaker deleted the roachtest-ycsb-ramp branch March 26, 2021 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants