Repository navigation
Add IcebergS3 to perf CI - #119147
Add IcebergS3 to perf CI#119147
Conversation
d7329b2 to
5a8c110
Compare
|
Workflow [PR], commit [32c9072] Summary: ✅
AI ReviewSummaryThis PR adds a SeaweedFS-backed Findings
Final Verdict
LLVM Coverage Report |
5a8c110 to
3776908
Compare
Flamegraphs are built only for queries perf.py profiles, and without profile_all_queries a query is profiled only when its timing diff is significant (tests/performance/scripts/perf.py, the ignored_relative_change/pvalue gate). The smoke test's left/right timings are expectedly identical, so the rework run produced no flamegraphs for it (perf_flamegraph_stacks_v1: 4 profiled queries on the draft sha, 0 on 5a302a5). https://performance.ci.clickhouse.com/runs/pr-119147-5a302a59a33a5a551b8fbab6455a0aebd08910aa/tests/iceberg_suite_s3_dummy?query_index=0 #119147
e3a163c to
a64fbce
Compare
Override the perf-CI reference (left) build to the candidate's own PR build, so master_head compares the candidate against itself. The master_head reference lacks the s3_slow_*/local_object_storage_slow_* failpoints, so every synthio query is demoted to the partial (new-server-only) section and gets no dashboard page. With both servers carrying the failpoints the do_not_check_in_pr fill queries succeed on both connections, producing real comparison rows, dashboard pages and flamegraphs for the synthio suites. Revert before merge. Related: #119976 Related: #119147
Flamegraphs are built only for queries perf.py profiles, and without profile_all_queries a query is profiled only when its timing diff is significant (tests/performance/scripts/perf.py, the ignored_relative_change/pvalue gate). The smoke test's left/right timings are expectedly identical, so the rework run produced no flamegraphs for it (perf_flamegraph_stacks_v1: 4 profiled queries on the draft sha, 0 on 5a302a5). https://performance.ci.clickhouse.com/runs/pr-119147-5a302a59a33a5a551b8fbab6455a0aebd08910aa/tests/iceberg_suite_s3_dummy?query_index=0 ClickHouse#119147
a64fbce to
3796053
Compare
Flamegraphs are built only for queries perf.py profiles, and without profile_all_queries a query is profiled only when its timing diff is significant (tests/performance/scripts/perf.py, the ignored_relative_change/pvalue gate). The smoke test's left/right timings are expectedly identical, so the rework run produced no flamegraphs for it (perf_flamegraph_stacks_v1: 4 profiled queries on the draft sha, 0 on 5a302a5). https://performance.ci.clickhouse.com/runs/pr-119147-5a302a59a33a5a551b8fbab6455a0aebd08910aa/tests/iceberg_suite_s3_dummy?query_index=0 #119147
3796053 to
8b8dab4
Compare
8b8dab4 to
fe5b44a
Compare
5d09408 to
5dd5423
Compare
5dd5423 to
32c9072
Compare
|
|
||
| for test in "${test_files[@]}" | ||
| do | ||
| if rg -q 'requires_s3="1"' "$test" |
There was a problem hiding this comment.
This new requires_s3 guard only covers stage=run_tests, but compare.sh still lets the other standalone entrypoints fall through confirm_changes. A stage=report compare.sh / confirm_dashboard rerun on one of the new S3 suites will restart the servers and rerun flagged queries without provisioning SeaweedFS or restoring the per-side override, so confirmation either fails on localhost:11111 or reruns both sides against the same perf/local namespace.
Please extend the standalone S3 handling to the confirmation/report paths too (or explicitly skip S3 confirmations there), otherwise the documented report-regeneration flow stays broken for these suites.
| && rm -rf /awscliv2.zip /aws | ||
|
|
||
| # Keep SEAWEEDFS_VERSION in sync with the default in setup_seaweedfs.sh | ||
| ARG SEAWEEDFS_VERSION=4.42 |
There was a problem hiding this comment.
This image now bakes SeaweedFS 4.42, but the shared setup script defaults to 4.48 and ci/docker/stateless-test/Dockerfile already pins 4.48 too. Because seaweedfs_service.start prefers the baked /weed binary, the perf CI job will exercise a different S3 server version than local reruns and the stateless suite.
That makes S3-only failures/regressions hard to reproduce across environments. Please keep this pinned to the same version as the shared setup path (or derive it from one place).
scanhex12
left a comment
There was a problem hiding this comment.
Looks good. Will be interesting to compare master and some old version like 26.6 from master. Could you please compare them and show the report?
| @@ -0,0 +1,72 @@ | |||
| <test run_all_queries="1" profile_all_queries="1"> | |||
There was a problem hiding this comment.
why do we need dummy file here?
There was a problem hiding this comment.
it's gone now, as well as the temporarily disabled sampling and forced profiling
| import boto3 | ||
| from botocore.config import Config | ||
|
|
||
| return boto3.client( |
There was a problem hiding this comment.
As I remember you had a plan to add configurable durations in S3 client
Do you have it?
There was a problem hiding this comment.
it's #119976 - don't look at it yet, I'm refining it right now, and will publish it and ping you later today
@scanhex12 I staged the run vs 26.6 as a separate draft - #124388 - I'll ping you with the results |
…wer run over run perf.py repeats every measured query on the same tables without a reset. A query that changes what its next run reads (a growing table, an UPDATE that rewrites its own rows, a file each run appends to) gets slower run over run and is then noisy on master for weeks: 8 of the 10 noisiest tests of the last round in ClickHouse#100759 were this class, all fixed after merge. A PR run could not notice: its status ignores slower/unstable rows, and the A/B diff of a new test mixes noise with the PR's own change. In master_head PR runs (not nightly, not the Iceberg configuration), read the job's own analyze/query-runs.tsv for the tests the PR adds or changes and fail Check Results when a query has, on the tested server, at least 5 runs with corr(run, time) > 0.8 and last/first > 1.2. Only the tested server counts: after the merge both master servers run that code, and requiring both servers drops recall to 0.34-0.94 of heads on last round's offenders against 0.60-0.98. One FAIL child per query carries both servers' run times. A missing file or a malformed row of a changed test fails the check; unknown changed files add a workflow warning instead. test_discovery.changed_tests is the selection, which changed_iceberg_tests now reuses. Validated on 16 real job logs: flagged on master before ClickHouse#127696 / ClickHouse#127380 and on all 8 head jobs of ClickHouse#119147, not flagged after the fixes, 1 of 273 tests on today's master (a query rising on both servers). Related: ClickHouse#100759 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Continuation of #116065
The focus now is on extending Iceberg perf suite with IcebergS3 engine. To support that, a suitable s3 engine should be added to the perf suite, and the Iceberg perf tests should be expanded from IcebergLocal-only to IcebergS3 as well
Changes
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Add IcebergS3 to perf CI
Workflow [PR]
Sync PR [sync-upstream/pr/119147]
Version info
26.10.1.1805-master(included in26.10and later)