Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roachtest: default sysbench to --rand-type=uniform #132664

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

tbg
Copy link
Member

@tbg tbg commented Oct 15, 2024

sysbench at 1.0.20 (the latest release) uses its own "special"
built-in rand-type. This has hotspots and is generally unpleasant
and poorly understood.

Vendors generally recommend using uniform1, which we now default to
(I'll add a roachperf annotation). In addition, the next release of
sysbench - should it ever come, it's been four years - will remove the
"special" distribution and default to uniform as well.

Epic: none
Release note: None

Footnotes

  1. https://docs.pingcap.com/tidb/stable/benchmark-tidb-using-sysbench

`sysbench` at 1.0.20 (the latest release) uses its own "special"
built-in rand-type. This has hotspots and is generally unpleasant
and poorly understood.

Vendors generally recommend using `uniform`[1], which we now default to
(I'll add a roachperf annotation). In addition, the next release of
sysbench - should it ever come, it's been four years - will _remove_ the
"special" distribution and default to uniform as well.

[^1]: https://docs.pingcap.com/tidb/stable/benchmark-tidb-using-sysbench

Epic: none
Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg tbg marked this pull request as ready for review October 15, 2024 19:27
@tbg tbg requested a review from a team as a code owner October 15, 2024 19:27
@tbg tbg requested review from herkolategan and vidit-bhat and removed request for a team October 15, 2024 19:27
@tbg
Copy link
Member Author

tbg commented Oct 15, 2024

@tbg
Copy link
Member Author

tbg commented Oct 16, 2024

bors r+

@craig craig bot merged commit 5da80fc into cockroachdb:master Oct 16, 2024
23 checks passed
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