Repository navigation
Run the codecs_t64_select performance queries on a quarter of the rows - #131605
alexey-milovidov merged 1 commit into
Conversation
The 16 queries read their 100M-row one-part table 5.4-53.7 times through loop() with use_uncompressed_cache = 0, so each pass decodes T64 again and the query time is the number of rows decoded. MasterCI medians since 2026-11-10: 0.66-1.37 s on amd (11 above 1 s), 1.10-2.92 s on arm (all 16). Queries 0-15 get disabled="1" (number and text unchanged) and are appended as 16-31 with LIMIT / 4; tables, fills and settings are unchanged, and every table is still read by an enabled query. Local perf.py on the official master release build (8 pinned cores, three passes with old and new queries side by side): each copy takes 0.251-0.284 of its original's time, projected 0.18-0.35 s on amd and 0.29-0.74 s on arm, about 100 s amd and 208 s arm less query time per master perf job. On the official builds of 80f6567 and 8ccea5b (before and after ClickHouse#122442) the originals are 1.41-3.88 times faster after it and each copy keeps 86-103% of its original's speedup. Only 0-15 ever existed for this test, so 16-31 start a fresh history. Related: ClickHouse#129258 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 1 finding) plus my own cold review (1 nit).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-11:20261114-120001 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-4:20261114-105900 |
|
Workflow [PR], commit [3744b2b] Summary: ✅
AI ReviewSummaryPR #131605, reviewed at Missing context / blind spots
Final Verdict✅ Approve — no changes requested. |
30e5a0e
Related: #129258
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
From the #129258 audit: the 16 queries of
codecs_t64_select.xml(one T64 case each,SELECT count() FROM (SELECT n FROM loop(t64_select_<case>) WHERE ignore(n) = 0 LIMIT <L>)) have master medians since 2026-11-10 of 0.66-1.37 s on amd (11 above 1 s) and 1.10-2.92 s on arm (all 16).Each query reads its 100M-row table 5 to 54 times through
loop(), and withuse_uncompressed_cache = 0every pass decodes T64 again, so the time is the number of rows decoded.No existing query number or text changes: 16 queries are disabled and 16 are appended. Queries 0-15 get
disabled="1"and are appended as 16-31 with a quarter of theirLIMIT. Tables, fills and settings are unchanged, so the per-caseLIMITratios stay as they were.Measured locally with
perf.py(official master release build, 8 pinned cores, 3 passes running old and new queries side by side): each copy takes 0.25-0.28 of its original's time. Projected onto the CI medians, queries 16-31 take 0.18-0.35 s on amd and 0.29-0.74 s on arm, about 100 s amd and 210 s arm less query time per master perf job. Between the official builds before and after #122442 (the T64 decompression optimisations), the originals are 1.41-3.88 times faster, and each copy keeps 86-103% of its original's speedup. Queries 0-15 did not run in any pass of the final file (system.query_log), and--max-queries 10samples 10 of 16-31.Queries 16-31 start a new history (CIDB has only 0-15 for this test). Both servers of a perf run use the PR's file, so this PR's perf report shows no "faster" verdict for this test.
🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/131605]
Version info
26.11.1.2357-master(included in26.11and later)