adriangbot commented on PR #26186: URL: https://github.com/apache/datafusion/pull/26186#issuecomment-6117581741
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/26186#issuecomment-6117403127) **Instance:** `c4a-highcpu-48` (12 vCPU / 65 GiB) Comparing rich-T-kid/regexp-replace-dict-encoding (7a2ee99153654fac7378e3a391877e0a0fc737f4) to 334f293 (merge-base) [diff](https://github.com/apache/datafusion/compare/334f29317c1040cc83ee0dd2954562f4fb3ba257..7a2ee99153654fac7378e3a391877e0a0fc737f4) <details><summary>Run configuration</summary> ```yaml run benchmark clickbench_partitioned env: DATAFUSION_RUNTIME_MEMORY_LIMIT: "32G" baseline: env: DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "false" changed: env: DATAFUSION_EXECUTION_PARQUET_ENABLE_RLE_TO_DICTIONARY: "true" ``` </details> <details><summary>CPU Details (lscpu)</summary> ``` Architecture: aarch64 CPU op-mode(s): 64-bit Byte Order: Little Endian CPU(s): 48 On-line CPU(s) list: 0-47 Vendor ID: ARM Model name: Neoverse-V2 Model: 1 Thread(s) per core: 1 Core(s) per cluster: 48 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: 3 MiB (48 instances) L1i cache: 3 MiB (48 instances) L2 cache: 96 MiB (48 instances) L3 cache: 80 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-47 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_regexp-replace-dict-encoding -------------------- Benchmark clickbench_partitioned.json -------------------- βββββββββββββ³βββββββββββββ³ββββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββ β Query β HEAD β rich-T-kid_regexp-replace-dict-encoding β Change β β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β QQuery 0 β 1.19 ms β 1.16 ms β no change β β QQuery 1 β 11.59 ms β 11.13 ms β no change β β QQuery 2 β 35.69 ms β 35.50 ms β no change β β QQuery 3 β 30.83 ms β 30.44 ms β no change β β QQuery 4 β 236.09 ms β 232.21 ms β no change β β QQuery 5 β 270.55 ms β 1459.04 ms β 5.39x slower β β QQuery 6 β 1.24 ms β 1.17 ms β +1.06x faster β β QQuery 7 β 12.70 ms β 12.29 ms β no change β β QQuery 8 β 326.28 ms β 333.26 ms β no change β β QQuery 9 β 467.95 ms β 472.29 ms β no change β β QQuery 10 β 64.53 ms β 197.04 ms β 3.05x slower β β QQuery 11 β 74.66 ms β 208.08 ms β 2.79x slower β β QQuery 12 β 260.98 ms β 1496.32 ms β 5.73x slower β β QQuery 13 β 358.65 ms β 2095.21 ms β 5.84x slower β β QQuery 14 β 273.95 ms β 1615.11 ms β 5.90x slower β β QQuery 15 β 280.76 ms β 294.21 ms β no change β β QQuery 16 β 607.54 ms β 3623.56 ms β 5.96x slower β β QQuery 17 β 614.71 ms β 3697.24 ms β 6.01x slower β β QQuery 18 β 1256.94 ms β 6726.01 ms β 5.35x slower β β QQuery 19 β 27.07 ms β 26.44 ms β no change β β QQuery 20 β 515.05 ms β 1036.37 ms β 2.01x slower β β QQuery 21 β 509.50 ms β 1345.77 ms β 2.64x slower β β QQuery 22 β 996.51 ms β 3206.24 ms β 3.22x slower β β QQuery 23 β 3126.83 ms β 9024.23 ms β 2.89x slower β β QQuery 24 β 42.00 ms β 94.58 ms β 2.25x slower β β QQuery 25 β 105.75 ms β 349.90 ms β 3.31x slower β β QQuery 26 β 40.84 ms β 96.12 ms β 2.35x slower β β QQuery 27 β 509.32 ms β 1132.39 ms β 2.22x slower β β QQuery 28 β 2889.12 ms β 2752.82 ms β no change β β QQuery 29 β 39.05 ms β 38.52 ms β no change β β QQuery 30 β 303.98 ms β 534.23 ms β 1.76x slower β β QQuery 31 β 282.30 ms β 527.29 ms β 1.87x slower β β QQuery 32 β 1075.77 ms β 1015.70 ms β +1.06x faster β β QQuery 33 β 1522.75 ms β 14061.85 ms β 9.23x slower β β QQuery 34 β 1554.52 ms β 13388.18 ms β 8.61x slower β β QQuery 35 β 296.46 ms β 289.17 ms β no change β β QQuery 36 β 66.31 ms β 164.60 ms β 2.48x slower β β QQuery 37 β 35.04 ms β 95.81 ms β 2.73x slower β β QQuery 38 β 44.79 ms β 80.41 ms β 1.80x slower β β QQuery 39 β 148.24 ms β 392.50 ms β 2.65x slower β β QQuery 40 β 14.07 ms β 13.86 ms β no change β β QQuery 41 β 13.18 ms β 13.06 ms β no change β β QQuery 42 β 12.76 ms β 12.90 ms β no change β βββββββββββββ΄βββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββββ β Benchmark Summary β β β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β Total Time (HEAD) β 19358.05ms β β Total Time (rich-T-kid_regexp-replace-dict-encoding) β 72234.19ms β β Average Time (HEAD) β 450.19ms β β Average Time (rich-T-kid_regexp-replace-dict-encoding) β 1679.86ms β β Queries Faster β 2 β β Queries Slower β 25 β β Queries with No Change β 16 β β Queries with Failure β 0 β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββ Distribution per query (min / mean Β±stddev / max): Comparing HEAD and rich-T-kid_regexp-replace-dict-encoding -------------------- Benchmark clickbench_partitioned.json -------------------- βββββββββββββ³βββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββββββββββββββββββββββββββββββ³ββββββββββββββββ β Query β HEAD β rich-T-kid_regexp-replace-dict-encoding β Change β β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β QQuery 0 β 1.19 / 4.20 Β±5.96 / 16.13 ms β 1.16 / 4.21 Β±6.05 / 16.32 ms β no change β β QQuery 1 β 11.59 / 11.80 Β±0.14 / 12.00 ms β 11.13 / 11.35 Β±0.18 / 11.65 ms β no change β β QQuery 2 β 35.69 / 35.92 Β±0.21 / 36.24 ms β 35.50 / 35.63 Β±0.12 / 35.80 ms β no change β β QQuery 3 β 30.83 / 31.22 Β±0.61 / 32.43 ms β 30.44 / 30.60 Β±0.21 / 31.00 ms β no change β β QQuery 4 β 236.09 / 238.97 Β±2.47 / 243.17 ms β 232.21 / 234.94 Β±2.23 / 238.29 ms β no change β β QQuery 5 β 270.55 / 275.05 Β±3.93 / 281.10 ms β 1459.04 / 1495.15 Β±36.23 / 1559.84 ms β 5.44x slower β β QQuery 6 β 1.24 / 1.39 Β±0.22 / 1.81 ms β 1.17 / 1.32 Β±0.24 / 1.78 ms β no change β β QQuery 7 β 12.70 / 12.87 Β±0.11 / 13.04 ms β 12.29 / 12.41 Β±0.09 / 12.53 ms β no change β β QQuery 8 β 326.28 / 331.17 Β±2.55 / 333.27 ms β 333.26 / 348.88 Β±9.11 / 360.99 ms β 1.05x slower β β QQuery 9 β 467.95 / 478.74 Β±7.52 / 491.56 ms β 472.29 / 480.09 Β±6.77 / 489.45 ms β no change β β QQuery 10 β 64.53 / 65.36 Β±0.78 / 66.79 ms β 197.04 / 198.18 Β±1.48 / 201.06 ms β 3.03x slower β β QQuery 11 β 74.66 / 75.39 Β±0.52 / 76.26 ms β 208.08 / 208.95 Β±0.62 / 209.95 ms β 2.77x slower β β QQuery 12 β 260.98 / 265.61 Β±5.06 / 275.07 ms β 1496.32 / 1544.63 Β±36.33 / 1591.08 ms β 5.82x slower β β QQuery 13 β 358.65 / 365.11 Β±5.53 / 372.31 ms β 2095.21 / 2472.91 Β±302.45 / 2862.85 ms β 6.77x slower β β QQuery 14 β 273.95 / 281.61 Β±5.63 / 287.83 ms β 1615.11 / 1658.85 Β±22.28 / 1674.79 ms β 5.89x slower β β QQuery 15 β 280.76 / 282.94 Β±2.09 / 286.35 ms β 294.21 / 303.08 Β±9.81 / 319.63 ms β 1.07x slower β β QQuery 16 β 607.54 / 622.81 Β±16.68 / 654.93 ms β 3623.56 / 3730.35 Β±90.16 / 3841.66 ms β 5.99x slower β β QQuery 17 β 614.71 / 618.70 Β±5.62 / 629.66 ms β 3697.24 / 3781.20 Β±68.87 / 3896.65 ms β 6.11x slower β β QQuery 18 β 1256.94 / 1287.05 Β±36.78 / 1359.12 ms β 6726.01 / 7016.17 Β±197.08 / 7223.16 ms β 5.45x slower β β QQuery 19 β 27.07 / 27.35 Β±0.31 / 27.94 ms β 26.44 / 26.90 Β±0.53 / 27.91 ms β no change β β QQuery 20 β 515.05 / 522.34 Β±8.01 / 534.86 ms β 1036.37 / 1064.14 Β±22.13 / 1095.50 ms β 2.04x slower β β QQuery 21 β 509.50 / 526.99 Β±9.76 / 539.70 ms β 1345.77 / 1363.41 Β±12.77 / 1381.99 ms β 2.59x slower β β QQuery 22 β 996.51 / 1011.24 Β±21.18 / 1052.81 ms β 3206.24 / 3242.16 Β±50.24 / 3340.46 ms β 3.21x slower β β QQuery 23 β 3126.83 / 3275.99 Β±137.31 / 3459.14 ms β 9024.23 / 9368.42 Β±198.94 / 9592.55 ms β 2.86x slower β β QQuery 24 β 42.00 / 147.81 Β±168.10 / 476.37 ms β 94.58 / 95.95 Β±1.84 / 99.34 ms β +1.54x faster β β QQuery 25 β 105.75 / 107.04 Β±1.37 / 109.29 ms β 349.90 / 355.46 Β±7.18 / 369.65 ms β 3.32x slower β β QQuery 26 β 40.84 / 46.51 Β±10.98 / 68.46 ms β 96.12 / 97.23 Β±0.79 / 98.22 ms β 2.09x slower β β QQuery 27 β 509.32 / 525.72 Β±9.74 / 536.18 ms β 1132.39 / 1139.12 Β±4.80 / 1146.10 ms β 2.17x slower β β QQuery 28 β 2889.12 / 2905.58 Β±15.47 / 2932.51 ms β 2752.82 / 2797.41 Β±46.32 / 2878.12 ms β no change β β QQuery 29 β 39.05 / 53.16 Β±22.65 / 98.01 ms β 38.52 / 38.87 Β±0.25 / 39.15 ms β +1.37x faster β β QQuery 30 β 303.98 / 315.81 Β±15.72 / 346.27 ms β 534.23 / 548.57 Β±12.26 / 570.65 ms β 1.74x slower β β QQuery 31 β 282.30 / 293.96 Β±6.68 / 302.74 ms β 527.29 / 539.48 Β±9.97 / 555.55 ms β 1.84x slower β β QQuery 32 β 1075.77 / 1152.55 Β±56.34 / 1251.48 ms β 1015.70 / 1033.75 Β±18.78 / 1069.95 ms β +1.11x faster β β QQuery 33 β 1522.75 / 1643.27 Β±87.92 / 1795.96 ms β 14061.85 / 14650.60 Β±622.72 / 15613.98 ms β 8.92x slower β β QQuery 34 β 1554.52 / 1601.70 Β±32.87 / 1637.69 ms β 13388.18 / 14125.83 Β±762.00 / 15458.94 ms β 8.82x slower β β QQuery 35 β 296.46 / 371.41 Β±136.08 / 643.34 ms β 289.17 / 341.78 Β±78.76 / 497.29 ms β +1.09x faster β β QQuery 36 β 66.31 / 71.29 Β±3.67 / 77.70 ms β 164.60 / 189.33 Β±19.10 / 222.79 ms β 2.66x slower β β QQuery 37 β 35.04 / 35.54 Β±0.61 / 36.73 ms β 95.81 / 97.76 Β±1.93 / 101.24 ms β 2.75x slower β β QQuery 38 β 44.79 / 54.36 Β±12.12 / 77.68 ms β 80.41 / 86.78 Β±3.56 / 91.36 ms β 1.60x slower β β QQuery 39 β 148.24 / 158.45 Β±12.23 / 181.65 ms β 392.50 / 414.42 Β±20.14 / 449.83 ms β 2.62x slower β β QQuery 40 β 14.07 / 15.32 Β±2.31 / 19.93 ms β 13.86 / 14.44 Β±0.48 / 15.20 ms β +1.06x faster β β QQuery 41 β 13.18 / 17.17 Β±7.48 / 32.13 ms β 13.06 / 14.26 Β±1.97 / 18.19 ms β +1.20x faster β β QQuery 42 β 12.76 / 14.83 Β±3.71 / 22.24 ms β 12.90 / 13.10 Β±0.21 / 13.50 ms β +1.13x faster β βββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ³βββββββββββββ β Benchmark Summary β β β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β Total Time (HEAD) β 20181.32ms β β Total Time (rich-T-kid_regexp-replace-dict-encoding) β 75228.10ms β β Average Time (HEAD) β 469.33ms β β Average Time (rich-T-kid_regexp-replace-dict-encoding) β 1749.49ms β β Queries Faster β 7 β β Queries Slower β 26 β β Queries with No Change β 10 β β 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: `334f293 (merge-base)` | Changed: `rich-T-kid/regexp-replace-dict-encoding` **`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 | 761.2 MiB | 771.0 MiB | +1.3% | | Query 5 | 1.2 GiB | 1.4 GiB | +20.0% | | Query 6 | 0 B | 0 B | 0.0% | | Query 7 | 50.3 MiB | 40.3 MiB | -19.9% | | Query 8 | 950.6 MiB | 945.9 MiB | -0.5% | | Query 9 | 593.7 MiB | 635.5 MiB | +7.0% | | Query 10 | 110.1 MiB | 72.6 MiB | -34.1% | | Query 11 | 111.9 MiB | 75.9 MiB | -32.2% | | Query 12 | 1.3 GiB | 1.6 GiB | +19.9% | | Query 13 | 1.6 GiB | 1.8 GiB | +10.4% | | Query 14 | 1.3 GiB | 1.8 GiB | +45.9% | | Query 15 | 1.2 GiB | 1.1 GiB | -7.1% | | Query 16 | 3.4 GiB | 3.4 GiB | -0.9% | | Query 17 | 3.5 GiB | 3.3 GiB | -4.7% | | Query 18 | 8.3 GiB | 7.3 GiB | -11.9% | | Query 19 | 0 B | 0 B | 0.0% | | Query 20 | 104 B | 104 B | +0.0% | | Query 21 | 3.7 MiB | 1.4 MiB | -63.0% | | Query 22 | 2.9 MiB | 2.2 MiB | -23.0% | | Query 23 | 4.2 GiB | 13.1 MiB | -99.7% | | Query 24 | 58.9 MiB | 6.3 MiB | -89.3% | | Query 25 | 158.3 MiB | 8.1 MiB | -94.9% | | Query 26 | 58.9 MiB | 7.5 MiB | -87.4% | | Query 27 | 2.2 MiB | 2.4 MiB | +9.3% | | Query 28 | 1.8 GiB | 2.0 GiB | +8.3% | | Query 29 | 624 B | 624 B | +0.0% | | Query 30 | 716.1 MiB | 634.6 MiB | -11.4% | | Query 31 | 1.5 GiB | 1.5 GiB | -4.6% | | Query 32 | 7.2 GiB | 7.1 GiB | -0.8% | | Query 33 | 7.7 GiB | 12.7 GiB | +65.8% | | Query 34 | 7.8 GiB | 12.4 GiB | +57.8% | | Query 35 | 611.6 MiB | 604.3 MiB | -1.2% | | Query 36 | 115.4 MiB | 474.1 MiB | +311.0% | | Query 37 | 6.6 MiB | 8.1 MiB | +22.0% | | Query 38 | 5.6 MiB | 5.3 MiB | -5.7% | | Query 39 | 297.8 MiB | 450.8 MiB | +51.3% | | Query 40 | 2.3 MiB | 2.6 MiB | +13.4% | | Query 41 | 3.1 MiB | 3.1 MiB | +0.0% | | Query 42 | 1.7 MiB | 1.7 MiB | +0.4% | **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 (`334f293 (merge-base)`) | 8.3 GiB | 18.2 GiB | 9.9 GiB | 2.2Γ | | clickbench_partitioned | changed (`rich-T-kid/regexp-replace-dict-encoding`) | 12.7 GiB | 13.2 GiB | 532.4 MiB | 1.0Γ | </details> <details><summary>Resource Usage</summary> **clickbench_partitioned β base (merge-base)** | Metric | Value | |--------|-------| | Wall time | 105.0s | | Peak memory | 18.2 GiB | | Avg memory | 5.8 GiB | | CPU user | 995.2s | | CPU sys | 95.1s | | Peak spill | 0 B | **clickbench_partitioned β branch** | Metric | Value | |--------|-------| | Wall time | 380.1s | | Peak memory | 13.2 GiB | | Avg memory | 6.0 GiB | | CPU user | 3284.3s | | CPU sys | 200.1s | | 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]
