adriangbot commented on PR #27500: URL: https://github.com/apache/datafusion/pull/27500#issuecomment-6951550159
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/27500#issuecomment-6950997050) **Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) Comparing b27c7e1e6ca28310f5d961ea550fc2f47fd0199c (b27c7e1e6ca28310f5d961ea550fc2f47fd0199c) to b27c7e1e6ca28310f5d961ea550fc2f47fd0199c [diff](https://github.com/apache/datafusion/compare/b27c7e1e6ca28310f5d961ea550fc2f47fd0199c..b27c7e1e6ca28310f5d961ea550fc2f47fd0199c) <details><summary>Run configuration</summary> ```yaml run benchmark clickbench_partitioned env: DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true" DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G" baseline: ref: "b27c7e1e6ca28310f5d961ea550fc2f47fd0199c" changed: ref: "b27c7e1e6ca28310f5d961ea550fc2f47fd0199c" env: DATAFUSION_EXECUTION_PARQUET_DICTIONARY_READ_MAX_DISTINCT_VALUES: "5" resources: cpu: "12" memory: "65Gi" arch: "arm64" ``` </details> <details><summary>CPU Details (lscpu)</summary> ``` Architecture: aarch64 CPU op-mode(s): 64-bit Byte Order: Little Endian CPU(s): 16 On-line CPU(s) list: 0-15 Vendor ID: ARM Model name: Neoverse-V2 Model: 1 Thread(s) per core: 1 Core(s) per cluster: 16 Socket(s): - Cluster(s): 1 Stepping: r0p1 BogoMIPS: 2000.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti L1d cache: 1 MiB (16 instances) L1i cache: 1 MiB (16 instances) L2 cache: 32 MiB (16 instances) L3 cache: 80 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-15 Vulnerability Gather data sampling: Not affected Vulnerability Indirect target selection: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; __user pointer sanitization Vulnerability Spectre v2: Mitigation; CSV2, BHB Vulnerability Srbds: Not affected Vulnerability Tsa: Not affected Vulnerability Tsx async abort: Not affected Vulnerability Vmscape: Not affected ``` </details> <details><summary>Details</summary> <p> ``` Comparing HEAD and rich-T-kid_parquet-dictionary-ndv-threshold -------------------- Benchmark clickbench_partitioned.json -------------------- βββββββββββββ³βββββββββββββ³ββββββββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββ β Query β HEAD β rich-T-kid_parquet-dictionary-ndv-threshold β Change β β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β QQuery 0 β 1.14 ms β 1.19 ms β no change β β QQuery 1 β 11.43 ms β 11.98 ms β no change β β QQuery 2 β 34.55 ms β 35.72 ms β no change β β QQuery 3 β 30.52 ms β 31.62 ms β no change β β QQuery 4 β 233.07 ms β 253.41 ms β 1.09x slower β β QQuery 5 β 726.54 ms β 284.76 ms β +2.55x faster β β QQuery 6 β 1.16 ms β 1.21 ms β no change β β QQuery 7 β 12.60 ms β 13.76 ms β 1.09x slower β β QQuery 8 β 327.39 ms β 343.18 ms β no change β β QQuery 9 β 461.88 ms β 484.80 ms β no change β β QQuery 10 β 199.62 ms β 66.40 ms β +3.01x faster β β QQuery 11 β 210.21 ms β 77.51 ms β +2.71x faster β β QQuery 12 β 736.58 ms β 276.10 ms β +2.67x faster β β QQuery 13 β 1034.97 ms β 377.17 ms β +2.74x faster β β QQuery 14 β 847.13 ms β 292.50 ms β +2.90x faster β β QQuery 15 β 289.47 ms β 298.01 ms β no change β β QQuery 16 β 1286.43 ms β 649.11 ms β +1.98x faster β β QQuery 17 β 1268.56 ms β 645.81 ms β +1.96x faster β β QQuery 18 β 2042.67 ms β 1293.03 ms β +1.58x faster β β QQuery 19 β 26.92 ms β 28.27 ms β 1.05x slower β β QQuery 20 β 1036.67 ms β 533.94 ms β +1.94x faster β β QQuery 21 β 1363.18 ms β 521.96 ms β +2.61x faster β β QQuery 22 β 3229.68 ms β 994.80 ms β +3.25x faster β β QQuery 23 β 9300.91 ms β 3188.12 ms β +2.92x faster β β QQuery 24 β 96.91 ms β 41.82 ms β +2.32x faster β β QQuery 25 β 354.61 ms β 109.47 ms β +3.24x faster β β QQuery 26 β 97.82 ms β 42.61 ms β +2.30x faster β β QQuery 27 β 1135.21 ms β 523.59 ms β +2.17x faster β β QQuery 28 β 2484.93 ms β 2983.26 ms β 1.20x slower β β QQuery 29 β 37.80 ms β 39.54 ms β no change β β QQuery 30 β 547.19 ms β 322.18 ms β +1.70x faster β β QQuery 31 β 538.53 ms β 298.55 ms β +1.80x faster β β QQuery 32 β 1003.45 ms β 1011.87 ms β no change β β QQuery 33 β 3168.53 ms β 1580.92 ms β +2.00x faster β β QQuery 34 β 3356.44 ms β 1590.96 ms β +2.11x faster β β QQuery 35 β 308.17 ms β 333.64 ms β 1.08x slower β β QQuery 36 β 133.34 ms β 67.89 ms β +1.96x faster β β QQuery 37 β 94.38 ms β 35.42 ms β +2.66x faster β β QQuery 38 β 78.45 ms β 40.55 ms β +1.93x faster β β QQuery 39 β 305.70 ms β 140.76 ms β +2.17x faster β β QQuery 40 β 13.47 ms β 13.87 ms β no change β β QQuery 41 β 12.76 ms β 13.25 ms β no change β β QQuery 42 β 12.09 ms β 12.64 ms β no change β βββββββββββββ΄βββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββββ β Benchmark Summary β β β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β Total Time (HEAD) β 38493.06ms β β Total Time (rich-T-kid_parquet-dictionary-ndv-threshold) β 19907.16ms β β Average Time (HEAD) β 895.19ms β β Average Time (rich-T-kid_parquet-dictionary-ndv-threshold) β 462.96ms β β Queries Faster β 25 β β Queries Slower β 5 β β Queries with No Change β 13 β β Queries with Failure β 0 β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββ Distribution per query (min / mean Β±stddev / max): Comparing HEAD and rich-T-kid_parquet-dictionary-ndv-threshold -------------------- Benchmark clickbench_partitioned.json -------------------- βββββββββββββ³βββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββ β Query β HEAD β rich-T-kid_parquet-dictionary-ndv-threshold β Change β β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β QQuery 0 β 1.14 / 1.73 Β±1.06 / 3.84 ms β 1.19 / 1.78 Β±1.07 / 3.92 ms β no change β β QQuery 1 β 11.43 / 11.56 Β±0.09 / 11.68 ms β 11.98 / 12.60 Β±0.51 / 13.49 ms β 1.09x slower β β QQuery 2 β 34.55 / 35.04 Β±0.47 / 35.93 ms β 35.72 / 36.01 Β±0.21 / 36.29 ms β no change β β QQuery 3 β 30.52 / 31.19 Β±0.67 / 32.37 ms β 31.62 / 32.08 Β±0.31 / 32.50 ms β no change β β QQuery 4 β 233.07 / 236.97 Β±2.61 / 240.91 ms β 253.41 / 254.73 Β±1.10 / 256.70 ms β 1.07x slower β β QQuery 5 β 726.54 / 741.78 Β±10.55 / 754.80 ms β 284.76 / 288.08 Β±2.60 / 291.74 ms β +2.57x faster β β QQuery 6 β 1.16 / 1.31 Β±0.22 / 1.74 ms β 1.21 / 1.36 Β±0.25 / 1.85 ms β no change β β QQuery 7 β 12.60 / 12.72 Β±0.08 / 12.81 ms β 13.76 / 13.96 Β±0.13 / 14.14 ms β 1.10x slower β β QQuery 8 β 327.39 / 331.20 Β±2.18 / 334.21 ms β 343.18 / 350.51 Β±5.85 / 360.99 ms β 1.06x slower β β QQuery 9 β 461.88 / 473.47 Β±7.01 / 481.73 ms β 484.80 / 500.23 Β±17.33 / 527.79 ms β 1.06x slower β β QQuery 10 β 199.62 / 202.40 Β±3.79 / 209.75 ms β 66.40 / 70.34 Β±4.95 / 79.91 ms β +2.88x faster β β QQuery 11 β 210.21 / 211.13 Β±0.73 / 211.91 ms β 77.51 / 78.23 Β±0.66 / 79.17 ms β +2.70x faster β β QQuery 12 β 736.58 / 747.60 Β±8.32 / 761.42 ms β 276.10 / 286.60 Β±10.94 / 306.08 ms β +2.61x faster β β QQuery 13 β 1034.97 / 1050.23 Β±11.75 / 1071.20 ms β 377.17 / 396.32 Β±13.36 / 418.81 ms β +2.65x faster β β QQuery 14 β 847.13 / 859.43 Β±15.05 / 887.83 ms β 292.50 / 302.68 Β±11.46 / 323.65 ms β +2.84x faster β β QQuery 15 β 289.47 / 295.64 Β±5.33 / 302.67 ms β 298.01 / 309.94 Β±14.26 / 334.67 ms β no change β β QQuery 16 β 1286.43 / 1314.69 Β±14.70 / 1328.10 ms β 649.11 / 662.80 Β±14.58 / 687.44 ms β +1.98x faster β β QQuery 17 β 1268.56 / 1275.04 Β±8.32 / 1291.28 ms β 645.81 / 668.08 Β±24.10 / 712.98 ms β +1.91x faster β β QQuery 18 β 2042.67 / 2053.82 Β±16.70 / 2086.96 ms β 1293.03 / 1311.70 Β±13.97 / 1331.83 ms β +1.57x faster β β QQuery 19 β 26.92 / 29.26 Β±3.23 / 35.66 ms β 28.27 / 28.74 Β±0.44 / 29.51 ms β no change β β QQuery 20 β 1036.67 / 1060.58 Β±14.08 / 1079.40 ms β 533.94 / 548.37 Β±15.98 / 574.62 ms β +1.93x faster β β QQuery 21 β 1363.18 / 1374.83 Β±10.29 / 1393.81 ms β 521.96 / 530.29 Β±5.04 / 535.81 ms β +2.59x faster β β QQuery 22 β 3229.68 / 3292.18 Β±56.55 / 3395.99 ms β 994.80 / 1010.21 Β±12.57 / 1031.33 ms β +3.26x faster β β QQuery 23 β 9300.91 / 9395.53 Β±79.69 / 9493.95 ms β 3188.12 / 3216.15 Β±18.79 / 3238.65 ms β +2.92x faster β β QQuery 24 β 96.91 / 103.89 Β±11.62 / 127.06 ms β 41.82 / 51.16 Β±16.17 / 83.38 ms β +2.03x faster β β QQuery 25 β 354.61 / 356.90 Β±2.15 / 360.69 ms β 109.47 / 112.65 Β±5.15 / 122.91 ms β +3.17x faster β β QQuery 26 β 97.82 / 99.42 Β±1.08 / 101.06 ms β 42.61 / 46.47 Β±3.13 / 49.92 ms β +2.14x faster β β QQuery 27 β 1135.21 / 1152.65 Β±17.40 / 1184.55 ms β 523.59 / 537.12 Β±10.41 / 547.95 ms β +2.15x faster β β QQuery 28 β 2484.93 / 2504.37 Β±10.43 / 2513.91 ms β 2983.26 / 3004.67 Β±18.18 / 3030.09 ms β 1.20x slower β β QQuery 29 β 37.80 / 38.81 Β±1.65 / 42.10 ms β 39.54 / 49.40 Β±7.70 / 58.88 ms β 1.27x slower β β QQuery 30 β 547.19 / 555.72 Β±8.39 / 566.46 ms β 322.18 / 331.24 Β±6.19 / 340.14 ms β +1.68x faster β β QQuery 31 β 538.53 / 552.75 Β±9.91 / 564.56 ms β 298.55 / 305.08 Β±5.93 / 315.58 ms β +1.81x faster β β QQuery 32 β 1003.45 / 1109.71 Β±121.10 / 1341.25 ms β 1011.87 / 1040.31 Β±27.61 / 1076.79 ms β +1.07x faster β β QQuery 33 β 3168.53 / 3377.05 Β±115.38 / 3484.44 ms β 1580.92 / 1589.22 Β±7.84 / 1603.70 ms β +2.12x faster β β QQuery 34 β 3356.44 / 3441.46 Β±61.55 / 3512.68 ms β 1590.96 / 1643.78 Β±45.23 / 1719.12 ms β +2.09x faster β β QQuery 35 β 308.17 / 333.75 Β±21.19 / 372.68 ms β 333.64 / 355.63 Β±21.90 / 385.07 ms β 1.07x slower β β QQuery 36 β 133.34 / 150.73 Β±11.07 / 162.59 ms β 67.89 / 76.36 Β±7.70 / 88.12 ms β +1.97x faster β β QQuery 37 β 94.38 / 102.63 Β±5.51 / 109.77 ms β 35.42 / 37.97 Β±3.94 / 45.64 ms β +2.70x faster β β QQuery 38 β 78.45 / 83.42 Β±3.97 / 89.22 ms β 40.55 / 47.88 Β±7.41 / 60.59 ms β +1.74x faster β β QQuery 39 β 305.70 / 317.77 Β±7.89 / 328.53 ms β 140.76 / 161.42 Β±12.42 / 176.59 ms β +1.97x faster β β QQuery 40 β 13.47 / 14.48 Β±1.12 / 16.21 ms β 13.87 / 15.53 Β±2.41 / 20.29 ms β 1.07x slower β β QQuery 41 β 12.76 / 14.89 Β±4.02 / 22.92 ms β 13.25 / 13.42 Β±0.12 / 13.61 ms β +1.11x faster β β QQuery 42 β 12.09 / 13.91 Β±3.13 / 20.16 ms β 12.64 / 15.16 Β±4.67 / 24.50 ms β 1.09x slower β βββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββββ β Benchmark Summary β β β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β Total Time (HEAD) β 39363.65ms β β Total Time (rich-T-kid_parquet-dictionary-ndv-threshold) β 20346.30ms β β Average Time (HEAD) β 915.43ms β β Average Time (rich-T-kid_parquet-dictionary-ndv-threshold) β 473.17ms β β Queries Faster β 27 β β Queries Slower β 10 β β Queries with No Change β 6 β β Queries with Failure β 0 β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββ ``` </p> </details> <details><summary>Memory Pool Peaks</summary> Peak `MemoryPool` reservation per query β what DataFusion's accounting believes it reserved. Recorded only for benchmarks that write a results JSON (the `dfbench` suites, and the suites `bench.sh` runs through the Criterion SQL harness since apache/datafusion#25644), and only under a memory limit: `DATAFUSION_RUNTIME_MEMORY_LIMIT`, or one the suite sets itself. Base: `b27c7e1e6ca28310f5d961ea550fc2f47fd0199c` | Changed: `b27c7e1e6ca28310f5d961ea550fc2f47fd0199c` **`clickbench_partitioned`** | Query | Base | Changed | Change | | --- | --- | --- | --- | | Query 0 | 0 B | 0 B | 0.0% | | Query 1 | 104 B | 104 B | +0.0% | | Query 2 | 936 B | 936 B | +0.0% | | Query 3 | 312 B | 312 B | +0.0% | | Query 4 | 833.0 MiB | 827.7 MiB | -0.6% | | Query 5 | 1.3 GiB | 1.2 GiB | -10.9% | | Query 6 | 0 B | 0 B | 0.0% | | Query 7 | 60.0 MiB | 60.0 MiB | +0.0% | | Query 8 | 945.4 MiB | 952.3 MiB | +0.7% | | Query 9 | 551.9 MiB | 552.0 MiB | +0.0% | | Query 10 | 73.0 MiB | 119.9 MiB | +64.2% | | Query 11 | 77.4 MiB | 125.9 MiB | +62.8% | | Query 12 | 1.5 GiB | 1.4 GiB | -9.5% | | Query 13 | 1.5 GiB | 1.6 GiB | +3.1% | | Query 14 | 1.6 GiB | 1.3 GiB | -19.8% | | Query 15 | 1.2 GiB | 1.2 GiB | +5.5% | | Query 16 | 3.2 GiB | 3.4 GiB | +6.0% | | Query 17 | 3.4 GiB | 3.4 GiB | +0.8% | | Query 18 | 7.1 GiB | 8.1 GiB | +15.0% | | Query 19 | 0 B | 0 B | 0.0% | | Query 20 | 104 B | 104 B | +0.0% | | Query 21 | 1.4 MiB | 4.3 MiB | +212.9% | | Query 22 | 2.4 MiB | 2.9 MiB | +18.7% | | Query 23 | 12.7 MiB | 32.8 MiB | +158.5% | | Query 24 | 6.3 MiB | 60.8 MiB | +863.3% | | Query 25 | 8.1 MiB | 169.0 MiB | +1975.9% | | Query 26 | 7.9 MiB | 61.0 MiB | +671.3% | | Query 27 | 2.5 MiB | 2.5 MiB | +0.0% | | Query 28 | 1.8 GiB | 1.8 GiB | +1.1% | | Query 29 | 624 B | 624 B | +0.0% | | Query 30 | 694.4 MiB | 697.6 MiB | +0.5% | | Query 31 | 1.5 GiB | 1.5 GiB | -0.0% | | Query 32 | 7.1 GiB | 7.1 GiB | -0.0% | | Query 33 | 9.8 GiB | 7.6 GiB | -22.7% | | Query 34 | 9.9 GiB | 7.9 GiB | -20.1% | | Query 35 | 674.7 MiB | 664.8 MiB | -1.5% | | Query 36 | 100.1 MiB | 127.0 MiB | +26.9% | | Query 37 | 8.2 MiB | 6.6 MiB | -18.6% | | Query 38 | 5.6 MiB | 5.3 MiB | -5.2% | | Query 39 | 213.9 MiB | 298.2 MiB | +39.4% | | Query 40 | 2.3 MiB | 2.3 MiB | -0.1% | | Query 41 | 3.3 MiB | 3.3 MiB | +0.0% | | Query 42 | 1.7 MiB | 1.9 MiB | +13.7% | **Pool accounting vs. process RSS** Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it. | Benchmark | Side | Max pool peak | Peak RSS | Gap | RSS / pool | | --- | --- | --- | --- | --- | --- | | clickbench_partitioned | base (`b27c7e1e6ca28310f5d961ea550fc2f47fd0199c`) | 9.9 GiB | 13.1 GiB | 3.2 GiB | 1.3Γ | | clickbench_partitioned | changed (`b27c7e1e6ca28310f5d961ea550fc2f47fd0199c`) | 8.1 GiB | 11.3 GiB | 3.1 GiB | 1.4Γ | </details> <details><summary>Resource Usage</summary> **clickbench_partitioned β base (merge-base)** | Metric | Value | |--------|-------| | Wall time | 200.1s | | Peak memory | 13.1 GiB | | Avg memory | 5.3 GiB | | CPU user | 1900.3s | | CPU sys | 127.8s | | Peak spill | 0 B | **clickbench_partitioned β branch** | Metric | Value | |--------|-------| | Wall time | 105.0s | | Peak memory | 11.3 GiB | | Avg memory | 4.4 GiB | | CPU user | 1032.7s | | CPU sys | 77.7s | | Peak spill | 0 B | </details> --- [File an issue](https://github.com/adriangb/datafusion-benchmarking/issues) against this benchmark runner -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
