Skip to content

Support variable query repetition counts - #1358

Open
caetanosauer wants to merge 1 commit into
ClickHouse:mainfrom
caetanosauer:support-variable-repetitions
Open

Support variable query repetition counts#1358
caetanosauer wants to merge 1 commit into
ClickHouse:mainfrom
caetanosauer:support-variable-repetitions

Conversation

@caetanosauer

@caetanosauer caetanosauer commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

For the fastest systems in this benchmark, all queries run in under a second for the hot runs.
This leads to a high variability between different executions on the exact same system and hardware.
To alleviate this problem, this commit enhances the dashboard and associated metric scores to support
an arbitrary number of repetitions instead of the fixed 3. It aligns with the fact that the execution
scripts already support this through BENCH_TRIES (see lib/benchmark-common.sh).

Disclaimer: This leads to better results than currently published for our system (Hyper), which we
includ in this PR for the c7a.metal-48xl machine. We encourage
other systems to do the same so we can have more stable results overall.

This commit does not change the aggregate function, i.e., it still takes the min of the repetitions.
We might consider using median for more repetitions, but I left that out of scope here.

Note: this also addresses issue #934

For the fastest systems in this benchmark, all queries run in under a second for the hot runs.
This leads to a high variability between different executions on the exact same system and hardware.
To alleviate this problem, this commit enhances the dashboard and associated metric scores to support
an arbitrary number of repetitions instead of the fixed 3. It aligns with the fact that the execution
scripts already support this through `BENCH_TRIES` (see `lib/benchmark-common.sh`).

Disclaimer: This leads to better results than currently published for our system (Hyper), which we
includ in this PR for the `c7a.metal-48xl` machine. We encourage
other systems to do the same so we can have more stable results overall.
@caetanosauer

Copy link
Copy Markdown
Contributor Author

@alexey-milovidov Curious to hear your thoughts on this one

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.

2 participants