adriangbot commented on PR #25877: URL: https://github.com/apache/datafusion/pull/25877#issuecomment-5894379443
π€ Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/25877#issuecomment-5894206199) **Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) Comparing blocked-agg-poc (c160407f7972e6087e8013eeba9ee760c398dcaf) to dbf62c1 (merge-base) [diff](https://github.com/apache/datafusion/compare/dbf62c131bfe54195fd41a683a6dec245a58555e..c160407f7972e6087e8013eeba9ee760c398dcaf) <details><summary>Run configuration</summary> ```yaml run benchmark tpch10 env: DATAFUSION_RUNTIME_MEMORY_LIMIT: "16G" ``` </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 blocked-agg-poc -------------------- Benchmark tpch_sf10.json -------------------- βββββββββββββ³ββββββββββββ³ββββββββββββββββββ³ββββββββββββββββ β Query β HEAD β blocked-agg-poc β Change β β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β QQuery 1 β 331.12 ms β 330.51 ms β no change β β QQuery 2 β 89.91 ms β 90.51 ms β no change β β QQuery 3 β 217.73 ms β 217.11 ms β no change β β QQuery 4 β 115.82 ms β 114.60 ms β no change β β QQuery 5 β 342.23 ms β 345.11 ms β no change β β QQuery 6 β 123.92 ms β 125.05 ms β no change β β QQuery 7 β 449.13 ms β 448.70 ms β no change β β QQuery 8 β 356.70 ms β 358.29 ms β no change β β QQuery 9 β 512.07 ms β 505.42 ms β no change β β QQuery 10 β 288.04 ms β 285.84 ms β no change β β QQuery 11 β 62.85 ms β 62.91 ms β no change β β QQuery 12 β 153.60 ms β 148.99 ms β no change β β QQuery 13 β 305.92 ms β 290.09 ms β +1.05x faster β β QQuery 14 β 169.50 ms β 168.44 ms β no change β β QQuery 15 β 299.85 ms β 294.59 ms β no change β β QQuery 16 β 63.60 ms β 63.69 ms β no change β β QQuery 17 β 579.72 ms β 502.29 ms β +1.15x faster β β QQuery 18 β 706.47 ms β 704.75 ms β no change β β QQuery 19 β 236.89 ms β 231.75 ms β no change β β QQuery 20 β 257.92 ms β 261.12 ms β no change β β QQuery 21 β 658.91 ms β 654.19 ms β no change β β QQuery 22 β 60.47 ms β 60.86 ms β no change β βββββββββββββ΄ββββββββββββ΄ββββββββββββββββββ΄ββββββββββββββββ ββββββββββββββββββββββββββββββββββ³ββββββββββββ β Benchmark Summary β β β‘βββββββββββββββββββββββββββββββββββββββββββββ© β Total Time (HEAD) β 6382.36ms β β Total Time (blocked-agg-poc) β 6264.80ms β β Average Time (HEAD) β 290.11ms β β Average Time (blocked-agg-poc) β 284.76ms β β Queries Faster β 2 β β Queries Slower β 0 β β Queries with No Change β 20 β β Queries with Failure β 0 β ββββββββββββββββββββββββββββββββββ΄ββββββββββββ Distribution per query (min / mean Β±stddev / max): Comparing HEAD and blocked-agg-poc -------------------- Benchmark tpch_sf10.json -------------------- βββββββββββββ³βββββββββββββββββββββββββββββββββββββ³βββββββββββββββββββββββββββββββββββββ³ββββββββββββββββ β Query β HEAD β blocked-agg-poc β Change β β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© β QQuery 1 β 331.12 / 332.67 Β±1.20 / 334.41 ms β 330.51 / 333.32 Β±1.53 / 334.90 ms β no change β β QQuery 2 β 89.91 / 91.82 Β±1.04 / 92.78 ms β 90.51 / 92.17 Β±1.72 / 95.16 ms β no change β β QQuery 3 β 217.73 / 220.58 Β±2.74 / 224.82 ms β 217.11 / 219.78 Β±2.21 / 222.31 ms β no change β β QQuery 4 β 115.82 / 117.62 Β±1.63 / 120.35 ms β 114.60 / 116.07 Β±1.28 / 118.05 ms β no change β β QQuery 5 β 342.23 / 349.18 Β±6.85 / 358.00 ms β 345.11 / 352.76 Β±7.67 / 366.74 ms β no change β β QQuery 6 β 123.92 / 126.45 Β±2.50 / 131.06 ms β 125.05 / 127.55 Β±2.08 / 130.47 ms β no change β β QQuery 7 β 449.13 / 453.08 Β±2.24 / 455.78 ms β 448.70 / 453.94 Β±4.39 / 459.85 ms β no change β β QQuery 8 β 356.70 / 360.31 Β±2.96 / 364.74 ms β 358.29 / 362.33 Β±4.01 / 368.97 ms β no change β β QQuery 9 β 512.07 / 521.25 Β±4.76 / 524.80 ms β 505.42 / 522.41 Β±9.49 / 533.49 ms β no change β β QQuery 10 β 288.04 / 293.52 Β±5.09 / 302.05 ms β 285.84 / 292.12 Β±4.52 / 298.88 ms β no change β β QQuery 11 β 62.85 / 65.76 Β±2.49 / 69.83 ms β 62.91 / 67.05 Β±6.04 / 78.85 ms β no change β β QQuery 12 β 153.60 / 161.23 Β±7.29 / 171.43 ms β 148.99 / 154.04 Β±3.03 / 157.18 ms β no change β β QQuery 13 β 305.92 / 314.90 Β±8.23 / 327.55 ms β 290.09 / 296.33 Β±4.70 / 303.82 ms β +1.06x faster β β QQuery 14 β 169.50 / 172.25 Β±3.07 / 178.24 ms β 168.44 / 173.29 Β±5.30 / 181.53 ms β no change β β QQuery 15 β 299.85 / 301.98 Β±1.64 / 304.81 ms β 294.59 / 296.66 Β±2.21 / 300.74 ms β no change β β QQuery 16 β 63.60 / 66.26 Β±2.77 / 71.41 ms β 63.69 / 68.14 Β±5.33 / 78.64 ms β no change β β QQuery 17 β 579.72 / 587.85 Β±5.10 / 592.90 ms β 502.29 / 507.14 Β±3.02 / 510.64 ms β +1.16x faster β β QQuery 18 β 706.47 / 743.18 Β±33.96 / 797.56 ms β 704.75 / 719.40 Β±10.65 / 737.63 ms β no change β β QQuery 19 β 236.89 / 253.81 Β±21.10 / 289.83 ms β 231.75 / 242.22 Β±8.98 / 255.40 ms β no change β β QQuery 20 β 257.92 / 274.47 Β±9.47 / 283.40 ms β 261.12 / 267.51 Β±6.61 / 280.14 ms β no change β β QQuery 21 β 658.91 / 663.10 Β±4.54 / 671.73 ms β 654.19 / 664.42 Β±7.00 / 671.75 ms β no change β β QQuery 22 β 60.47 / 61.98 Β±1.63 / 64.85 ms β 60.86 / 62.08 Β±0.77 / 63.06 ms β no change β βββββββββββββ΄βββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ ββββββββββββββββββββββββββββββββββ³ββββββββββββ β Benchmark Summary β β β‘βββββββββββββββββββββββββββββββββββββββββββββ© β Total Time (HEAD) β 6533.28ms β β Total Time (blocked-agg-poc) β 6390.74ms β β Average Time (HEAD) β 296.97ms β β Average Time (blocked-agg-poc) β 290.49ms β β Queries Faster β 2 β β Queries Slower β 0 β β Queries with No Change β 20 β β 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: `dbf62c1 (merge-base)` | Changed: `blocked-agg-poc` **`tpch10` β `tpch_sf10`** | Query | Base | Changed | Change | | --- | --- | --- | --- | | Query 1 | 21.4 MiB | 30.0 MiB | +40.4% | | Query 2 | 113.2 MiB | 113.3 MiB | +0.1% | | Query 3 | 110.5 MiB | 108.7 MiB | -1.7% | | Query 4 | 41.7 MiB | 41.7 MiB | +0.0% | | Query 5 | 134.5 MiB | 134.5 MiB | +0.0% | | Query 6 | 832 B | 832 B | +0.0% | | Query 7 | 965.5 MiB | 1003.6 MiB | +3.9% | | Query 8 | 374.1 MiB | 374.1 MiB | +0.0% | | Query 9 | 1.3 GiB | 1.3 GiB | +0.0% | | Query 10 | 482.0 MiB | 482.3 MiB | +0.1% | | Query 11 | 67.8 MiB | 59.3 MiB | -12.5% | | Query 12 | 30.7 MiB | 30.1 MiB | -1.8% | | Query 13 | 132.0 MiB | 128.4 MiB | -2.7% | | Query 14 | 86.9 MiB | 86.9 MiB | +0.0% | | Query 15 | 69.6 MiB | 70.3 MiB | +1.1% | | Query 16 | 196.6 MiB | 211.2 MiB | +7.4% | | Query 17 | 161.7 MiB | 163.2 MiB | +1.0% | | Query 18 | 3.7 GiB | 3.7 GiB | +0.0% | | Query 19 | 9.5 MiB | 9.5 MiB | +0.0% | | Query 20 | 308.1 MiB | 308.8 MiB | +0.3% | | Query 21 | 416.5 MiB | 406.0 MiB | -2.5% | | Query 22 | 30.6 MiB | 40.0 MiB | +30.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 | | --- | --- | --- | --- | --- | --- | | tpch10 | base (`dbf62c1 (merge-base)`) | 3.7 GiB | 4.7 GiB | 1.1 GiB | 1.3Γ | | tpch10 | changed (`blocked-agg-poc`) | 3.7 GiB | 5.1 GiB | 1.4 GiB | 1.4Γ | </details> <details><summary>Resource Usage</summary> **tpch10 β base (merge-base)** | Metric | Value | |--------|-------| | Wall time | 35.0s | | Peak memory | 4.7 GiB | | Avg memory | 1.5 GiB | | CPU user | 332.5s | | CPU sys | 19.4s | | Peak spill | 0 B | **tpch10 β branch** | Metric | Value | |--------|-------| | Wall time | 35.0s | | Peak memory | 5.1 GiB | | Avg memory | 1.5 GiB | | CPU user | 325.7s | | CPU sys | 18.9s | | 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]
