You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "gabotechs (via GitHub)" <gi...@apache.org> on 2026/07/20 10:24:34 UTC
[PR] gabotechs/reuse-hashes [datafusion]
gabotechs opened a new pull request, #23720:
URL: https://github.com/apache/datafusion/pull/23720
## Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123.
-->
- Closes #11680.
## Rationale for this change
<!--
Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.
-->
During partial + final aggregations, in order to accumulate + repartition data cross partitions, a hash is computed over the grouping expressions.
This hash is computed 3 times:
```rust
Aggregate(final): 3rd time hash computed
Repartition: 2nd time hash computed
Aggregate(partial): 1st time hash computed
```
And depending on what's getting hashed, it can be an expensive operation (e.g., hashing arbitrary length strings).
This PR introduces a mechanism that allows reusing the hashes across different operators, by propagating them under an internal column in the schema:
```rust
Aggregate(final): precomputed
Repartition: precomputed
Aggregate(partial): 1st time hash computed
```
:warning: needs https://github.com/apache/datafusion/pull/23719 first
## What changes are included in this PR?
<!--
There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
-->
Introduces to core structs that aim to set the foundations of hash reuse across operators:
- `ExpressionHasher`: handles hashing columns based on expressions, maintaining an internal buffer for reusing allocations, stamping the hashes into internal columns so that they can cross operator boundaries, and retrieving those hashes from the internal columns if present.
- `GroupHashTracker`: during groupings, it keeps track of the per-group hashes so that operators that aggregate can emit them as an additional internal column for reuse purposes.
These two structs are used across all the aggregation implementations in the codebase for reusing hashes.
Additionally, some metrics for tracking how many hashes where computed VS how many hashes where reused are also added to operators that need to deal with hashes
## Are these changes tested?
<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code
If tests are not included in your PR, please explain why (for example, are they covered by existing tests)?
-->
Yes, by existing and new tests.
## Are there any user-facing changes?
<!--
If there are user-facing changes then we may require documentation to be updated before approving the PR.
-->
<!--
If there are any breaking changes to public APIs, please add the `api change` label.
-->
No, this should be transparent to users.
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5032454824
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5032284181)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark tpch_sf10.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 1 โ 309.65 / 317.99 ยฑ7.61 / 328.61 ms โ 329.69 / 332.21 ยฑ2.49 / 336.63 ms โ no change โ
โ QQuery 2 โ 108.71 / 113.94 ยฑ3.91 / 118.24 ms โ 111.31 / 113.85 ยฑ1.79 / 116.20 ms โ no change โ
โ QQuery 3 โ 231.69 / 244.42 ยฑ8.14 / 256.89 ms โ 256.85 / 260.56 ยฑ2.89 / 264.61 ms โ 1.07x slower โ
โ QQuery 4 โ 111.78 / 114.17 ยฑ1.72 / 116.80 ms โ 120.95 / 124.35 ยฑ2.57 / 127.66 ms โ 1.09x slower โ
โ QQuery 5 โ 348.06 / 357.63 ยฑ5.54 / 363.47 ms โ 396.64 / 403.22 ยฑ6.18 / 413.02 ms โ 1.13x slower โ
โ QQuery 6 โ 122.51 / 123.96 ยฑ1.74 / 127.32 ms โ 131.66 / 133.34 ยฑ1.12 / 134.95 ms โ 1.08x slower โ
โ QQuery 7 โ 447.77 / 461.50 ยฑ10.72 / 479.89 ms โ 468.33 / 487.98 ยฑ14.33 / 509.25 ms โ 1.06x slower โ
โ QQuery 8 โ 375.74 / 382.58 ยฑ6.20 / 392.45 ms โ 381.67 / 389.27 ยฑ5.79 / 397.72 ms โ no change โ
โ QQuery 9 โ 547.45 / 555.39 ยฑ5.50 / 564.38 ms โ 549.94 / 585.16 ยฑ35.30 / 637.98 ms โ 1.05x slower โ
โ QQuery 10 โ 303.78 / 308.94 ยฑ7.52 / 323.54 ms โ 301.04 / 316.05 ยฑ14.00 / 340.23 ms โ no change โ
โ QQuery 11 โ 86.44 / 92.03 ยฑ9.18 / 110.34 ms โ 89.64 / 95.97 ยฑ7.66 / 109.74 ms โ no change โ
โ QQuery 12 โ 178.74 / 187.53 ยฑ6.32 / 195.89 ms โ 177.79 / 183.20 ยฑ3.81 / 188.05 ms โ no change โ
โ QQuery 13 โ 318.92 / 334.85 ยฑ11.23 / 352.08 ms โ 283.96 / 294.14 ยฑ10.09 / 313.49 ms โ +1.14x faster โ
โ QQuery 14 โ 173.11 / 180.37 ยฑ6.78 / 192.86 ms โ 169.99 / 175.79 ยฑ6.93 / 189.35 ms โ no change โ
โ QQuery 15 โ 299.30 / 301.13 ยฑ2.23 / 305.39 ms โ 300.58 / 302.91 ยฑ1.93 / 305.85 ms โ no change โ
โ QQuery 16 โ 64.60 / 66.38 ยฑ1.44 / 68.96 ms โ 63.21 / 66.13 ยฑ2.57 / 69.83 ms โ no change โ
โ QQuery 17 โ 617.32 / 627.05 ยฑ6.28 / 636.95 ms โ 624.17 / 632.23 ยฑ5.98 / 639.17 ms โ no change โ
โ QQuery 18 โ 677.77 / 698.96 ยฑ16.77 / 729.38 ms โ 701.36 / 753.42 ยฑ55.66 / 845.99 ms โ 1.08x slower โ
โ QQuery 19 โ 244.46 / 262.84 ยฑ21.74 / 300.37 ms โ 243.87 / 257.04 ยฑ16.03 / 283.68 ms โ no change โ
โ QQuery 20 โ 276.04 / 286.37 ยฑ6.76 / 294.15 ms โ 278.22 / 287.66 ยฑ7.47 / 298.45 ms โ no change โ
โ QQuery 21 โ 655.18 / 669.03 ยฑ14.72 / 696.34 ms โ 647.34 / 660.13 ยฑ8.45 / 670.83 ms โ no change โ
โ QQuery 22 โ 61.03 / 65.16 ยฑ4.50 / 72.63 ms โ 59.15 / 61.83 ยฑ1.72 / 63.81 ms โ +1.05x faster โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 6752.23ms โ
โ Total Time (gabotechs_reuse-hashes) โ 6916.43ms โ
โ Average Time (HEAD) โ 306.92ms โ
โ Average Time (gabotechs_reuse-hashes) โ 314.38ms โ
โ Queries Faster โ 2 โ
โ Queries Slower โ 7 โ
โ Queries with No Change โ 13 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpch10 โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 35.0s |
| Peak memory | 5.2 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 342.8s |
| CPU sys | 18.4s |
| Peak spill | 0 B |
**tpch10 โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 35.0s |
| Peak memory | 4.9 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 345.6s |
| CPU sys | 19.0s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021628826
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5021606365)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5021606365-1169-whzrv 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (45fa16b8c3f5064f6e3264c97fc729a713a0e5b1) to d0304b3 (merge-base) [diff](https://github.com/apache/datafusion/compare/d0304b3ff5fc1ccc47106384437232d54c462d46..45fa16b8c3f5064f6e3264c97fc729a713a0e5b1) using: clickbench_partitioned
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "jayshrivastava (via GitHub)" <gi...@apache.org>.
jayshrivastava commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5023000255
At a highlevel, this change sounds good. It would be interesting to see if the partial aggregation skipping behavior can be disabled with no impact. I think this should do it.
```
config.execution.skip_partial_aggregation_probe_rows_threshold = usize::MAX;
```
Since the hashes are re-used the partial aggregation should be less expensive.
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5093803270
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5093608330)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark tpcds_sf1.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 1 โ 5.62 / 6.19 ยฑ0.88 / 7.92 ms โ 5.81 / 6.35 ยฑ0.89 / 8.13 ms โ no change โ
โ QQuery 2 โ 82.48 / 83.00 ยฑ0.41 / 83.72 ms โ 83.58 / 83.94 ยฑ0.31 / 84.45 ms โ no change โ
โ QQuery 3 โ 30.10 / 30.36 ยฑ0.18 / 30.61 ms โ 30.24 / 30.49 ยฑ0.29 / 31.04 ms โ no change โ
โ QQuery 4 โ 516.81 / 521.09 ยฑ6.37 / 533.71 ms โ 519.45 / 524.35 ยฑ3.63 / 528.43 ms โ no change โ
โ QQuery 5 โ 52.97 / 53.45 ยฑ0.36 / 53.92 ms โ 53.23 / 53.69 ยฑ0.53 / 54.70 ms โ no change โ
โ QQuery 6 โ 37.61 / 38.12 ยฑ0.32 / 38.45 ms โ 37.99 / 38.25 ยฑ0.30 / 38.81 ms โ no change โ
โ QQuery 7 โ 95.79 / 97.59 ยฑ1.72 / 100.32 ms โ 95.42 / 97.46 ยฑ1.76 / 100.29 ms โ no change โ
โ QQuery 8 โ 37.77 / 38.15 ยฑ0.28 / 38.61 ms โ 37.60 / 37.96 ยฑ0.32 / 38.52 ms โ no change โ
โ QQuery 9 โ 52.91 / 55.74 ยฑ1.44 / 56.88 ms โ 53.87 / 55.40 ยฑ1.13 / 57.11 ms โ no change โ
โ QQuery 10 โ 63.75 / 64.26 ยฑ0.39 / 64.97 ms โ 63.78 / 64.31 ยฑ0.30 / 64.61 ms โ no change โ
โ QQuery 11 โ 320.60 / 324.66 ยฑ3.78 / 331.84 ms โ 320.18 / 323.79 ยฑ2.81 / 327.92 ms โ no change โ
โ QQuery 12 โ 28.98 / 29.34 ยฑ0.34 / 29.97 ms โ 29.45 / 29.62 ยฑ0.15 / 29.84 ms โ no change โ
โ QQuery 13 โ 120.17 / 122.21 ยฑ1.59 / 124.50 ms โ 120.40 / 122.20 ยฑ2.61 / 127.35 ms โ no change โ
โ QQuery 14 โ 423.61 / 429.14 ยฑ4.07 / 434.82 ms โ 421.37 / 427.00 ยฑ3.93 / 432.78 ms โ no change โ
โ QQuery 15 โ 61.05 / 62.41 ยฑ1.36 / 64.11 ms โ 59.71 / 60.68 ยฑ0.52 / 61.26 ms โ no change โ
โ QQuery 16 โ 6.88 / 7.00 ยฑ0.13 / 7.24 ms โ 6.85 / 7.04 ยฑ0.18 / 7.38 ms โ no change โ
โ QQuery 17 โ 81.07 / 83.41 ยฑ2.71 / 88.71 ms โ 81.21 / 82.75 ยฑ1.27 / 84.98 ms โ no change โ
โ QQuery 18 โ 125.89 / 126.82 ยฑ0.67 / 127.98 ms โ 125.49 / 125.98 ยฑ0.34 / 126.35 ms โ no change โ
โ QQuery 19 โ 42.81 / 43.29 ยฑ0.80 / 44.87 ms โ 42.86 / 44.86 ยฑ2.27 / 47.90 ms โ no change โ
โ QQuery 20 โ 36.99 / 37.59 ยฑ0.55 / 38.37 ms โ 37.43 / 38.08 ยฑ0.67 / 39.13 ms โ no change โ
โ QQuery 21 โ 18.34 / 18.46 ยฑ0.10 / 18.64 ms โ 18.11 / 18.45 ยฑ0.20 / 18.70 ms โ no change โ
โ QQuery 22 โ 66.27 / 67.07 ยฑ0.65 / 67.78 ms โ 65.07 / 66.30 ยฑ0.84 / 67.02 ms โ no change โ
โ QQuery 23 โ 364.69 / 376.15 ยฑ13.90 / 403.42 ms โ 365.04 / 370.10 ยฑ2.97 / 372.75 ms โ no change โ
โ QQuery 24 โ 228.94 / 233.69 ยฑ3.94 / 239.92 ms โ 228.93 / 232.67 ยฑ3.85 / 239.88 ms โ no change โ
โ QQuery 25 โ 113.19 / 116.11 ยฑ1.67 / 118.32 ms โ 112.92 / 117.35 ยฑ3.18 / 121.05 ms โ no change โ
โ QQuery 26 โ 59.14 / 59.58 ยฑ0.29 / 59.95 ms โ 59.33 / 59.74 ยฑ0.39 / 60.39 ms โ no change โ
โ QQuery 27 โ 6.44 / 6.62 ยฑ0.18 / 6.94 ms โ 6.43 / 6.61 ยฑ0.20 / 6.98 ms โ no change โ
โ QQuery 28 โ 61.73 / 62.96 ยฑ0.84 / 64.15 ms โ 57.38 / 59.53 ยฑ2.16 / 62.36 ms โ +1.06x faster โ
โ QQuery 29 โ 99.25 / 101.86 ยฑ1.91 / 104.08 ms โ 99.54 / 103.20 ยฑ5.38 / 113.90 ms โ no change โ
โ QQuery 30 โ 33.55 / 33.83 ยฑ0.20 / 34.10 ms โ 33.37 / 34.32 ยฑ0.54 / 34.97 ms โ no change โ
โ QQuery 31 โ 114.62 / 116.02 ยฑ1.81 / 119.46 ms โ 115.76 / 118.18 ยฑ2.99 / 123.48 ms โ no change โ
โ QQuery 32 โ 21.59 / 21.93 ยฑ0.26 / 22.36 ms โ 21.40 / 21.66 ยฑ0.15 / 21.82 ms โ no change โ
โ QQuery 33 โ 38.80 / 39.43 ยฑ0.46 / 40.16 ms โ 38.88 / 39.35 ยฑ0.45 / 40.09 ms โ no change โ
โ QQuery 34 โ 10.29 / 10.41 ยฑ0.15 / 10.71 ms โ 10.32 / 10.54 ยฑ0.18 / 10.82 ms โ no change โ
โ QQuery 35 โ 74.29 / 74.96 ยฑ0.54 / 75.62 ms โ 74.78 / 76.32 ยฑ1.03 / 78.01 ms โ no change โ
โ QQuery 36 โ 5.95 / 6.12 ยฑ0.19 / 6.46 ms โ 5.84 / 6.02 ยฑ0.17 / 6.34 ms โ no change โ
โ QQuery 37 โ 7.09 / 7.20 ยฑ0.06 / 7.26 ms โ 7.11 / 7.22 ยฑ0.09 / 7.37 ms โ no change โ
โ QQuery 38 โ 64.43 / 65.85 ยฑ1.90 / 69.58 ms โ 64.86 / 66.56 ยฑ1.67 / 69.56 ms โ no change โ
โ QQuery 39 โ 93.39 / 94.07 ยฑ0.63 / 95.14 ms โ 93.51 / 94.13 ยฑ1.06 / 96.25 ms โ no change โ
โ QQuery 40 โ 24.08 / 24.38 ยฑ0.25 / 24.81 ms โ 23.76 / 24.08 ยฑ0.18 / 24.23 ms โ no change โ
โ QQuery 41 โ 12.29 / 12.43 ยฑ0.10 / 12.55 ms โ 11.90 / 12.21 ยฑ0.19 / 12.48 ms โ no change โ
โ QQuery 42 โ 25.13 / 26.67 ยฑ2.03 / 30.27 ms โ 24.94 / 26.45 ยฑ1.52 / 28.89 ms โ no change โ
โ QQuery 43 โ 5.33 / 5.44 ยฑ0.18 / 5.79 ms โ 5.07 / 5.18 ยฑ0.16 / 5.50 ms โ no change โ
โ QQuery 44 โ 9.93 / 10.10 ยฑ0.15 / 10.33 ms โ 9.67 / 9.89 ยฑ0.23 / 10.31 ms โ no change โ
โ QQuery 45 โ 40.58 / 41.78 ยฑ0.77 / 42.95 ms โ 41.92 / 42.82 ยฑ0.78 / 43.91 ms โ no change โ
โ QQuery 46 โ 12.36 / 12.44 ยฑ0.06 / 12.50 ms โ 12.73 / 13.04 ยฑ0.29 / 13.59 ms โ no change โ
โ QQuery 47 โ 241.57 / 245.25 ยฑ3.68 / 251.90 ms โ 243.91 / 249.39 ยฑ8.84 / 266.98 ms โ no change โ
โ QQuery 48 โ 97.57 / 98.59 ยฑ1.11 / 100.25 ms โ 97.40 / 98.47 ยฑ1.39 / 101.19 ms โ no change โ
โ QQuery 49 โ 77.76 / 78.92 ยฑ0.94 / 80.46 ms โ 78.08 / 78.93 ยฑ0.73 / 80.22 ms โ no change โ
โ QQuery 50 โ 59.88 / 60.20 ยฑ0.33 / 60.72 ms โ 60.36 / 60.82 ยฑ0.38 / 61.28 ms โ no change โ
โ QQuery 51 โ 94.62 / 97.27 ยฑ2.66 / 102.39 ms โ 93.28 / 96.09 ยฑ2.26 / 99.63 ms โ no change โ
โ QQuery 52 โ 25.05 / 25.30 ยฑ0.35 / 25.97 ms โ 24.96 / 25.31 ยฑ0.19 / 25.48 ms โ no change โ
โ QQuery 53 โ 30.14 / 30.49 ยฑ0.29 / 30.99 ms โ 30.44 / 30.68 ยฑ0.17 / 30.95 ms โ no change โ
โ QQuery 54 โ 56.38 / 56.96 ยฑ0.34 / 57.40 ms โ 56.83 / 57.09 ยฑ0.19 / 57.42 ms โ no change โ
โ QQuery 55 โ 24.51 / 24.85 ยฑ0.22 / 25.06 ms โ 24.56 / 25.53 ยฑ1.15 / 27.66 ms โ no change โ
โ QQuery 56 โ 40.37 / 41.07 ยฑ0.46 / 41.59 ms โ 41.12 / 41.74 ยฑ0.45 / 42.43 ms โ no change โ
โ QQuery 57 โ 179.79 / 183.03 ยฑ2.70 / 187.94 ms โ 181.65 / 184.10 ยฑ3.01 / 189.74 ms โ no change โ
โ QQuery 58 โ 117.89 / 118.64 ยฑ0.88 / 120.17 ms โ 117.97 / 119.33 ยฑ0.95 / 120.35 ms โ no change โ
โ QQuery 59 โ 120.43 / 122.27 ยฑ2.76 / 127.68 ms โ 120.17 / 120.94 ยฑ0.91 / 122.69 ms โ no change โ
โ QQuery 60 โ 40.79 / 41.28 ยฑ0.41 / 42.02 ms โ 41.46 / 42.27 ยฑ0.56 / 42.78 ms โ no change โ
โ QQuery 61 โ 12.54 / 12.74 ยฑ0.17 / 13.03 ms โ 12.87 / 13.05 ยฑ0.16 / 13.31 ms โ no change โ
โ QQuery 62 โ 47.76 / 48.10 ยฑ0.40 / 48.81 ms โ 47.31 / 48.04 ยฑ0.42 / 48.52 ms โ no change โ
โ QQuery 63 โ 30.60 / 31.29 ยฑ0.56 / 32.26 ms โ 30.47 / 30.70 ยฑ0.13 / 30.83 ms โ no change โ
โ QQuery 64 โ 415.57 / 420.66 ยฑ5.70 / 431.69 ms โ 419.35 / 426.18 ยฑ8.12 / 442.11 ms โ no change โ
โ QQuery 65 โ 127.25 / 129.60 ยฑ1.50 / 131.42 ms โ 126.66 / 130.13 ยฑ2.27 / 133.41 ms โ no change โ
โ QQuery 66 โ 82.64 / 83.42 ยฑ1.18 / 85.77 ms โ 82.66 / 86.30 ยฑ4.83 / 95.75 ms โ no change โ
โ QQuery 67 โ 254.08 / 257.74 ยฑ2.82 / 261.40 ms โ 249.91 / 256.47 ยฑ5.18 / 263.38 ms โ no change โ
โ QQuery 68 โ 12.47 / 12.67 ยฑ0.12 / 12.83 ms โ 12.52 / 12.68 ยฑ0.14 / 12.94 ms โ no change โ
โ QQuery 69 โ 58.43 / 59.30 ยฑ0.69 / 60.48 ms โ 58.59 / 59.10 ยฑ0.45 / 59.77 ms โ no change โ
โ QQuery 70 โ 108.92 / 111.63 ยฑ2.99 / 117.20 ms โ 111.16 / 116.11 ยฑ4.29 / 122.04 ms โ no change โ
โ QQuery 71 โ 36.58 / 38.44 ยฑ3.27 / 44.98 ms โ 36.23 / 36.44 ยฑ0.18 / 36.70 ms โ +1.06x faster โ
โ QQuery 72 โ 2096.68 / 2221.15 ยฑ103.32 / 2362.72 ms โ 2116.18 / 2145.29 ยฑ21.31 / 2180.53 ms โ no change โ
โ QQuery 73 โ 10.02 / 10.29 ยฑ0.16 / 10.46 ms โ 10.16 / 10.31 ยฑ0.17 / 10.63 ms โ no change โ
โ QQuery 74 โ 183.49 / 187.06 ยฑ2.01 / 189.00 ms โ 181.38 / 185.06 ยฑ3.74 / 191.39 ms โ no change โ
โ QQuery 75 โ 153.10 / 156.28 ยฑ3.63 / 161.68 ms โ 152.55 / 153.97 ยฑ1.16 / 155.59 ms โ no change โ
โ QQuery 76 โ 35.73 / 36.55 ยฑ0.44 / 37.01 ms โ 36.77 / 37.23 ยฑ0.55 / 38.28 ms โ no change โ
โ QQuery 77 โ 62.95 / 63.26 ยฑ0.29 / 63.70 ms โ 63.35 / 64.47 ยฑ1.16 / 65.93 ms โ no change โ
โ QQuery 78 โ 203.26 / 206.38 ยฑ2.79 / 211.55 ms โ 202.97 / 206.86 ยฑ3.33 / 212.97 ms โ no change โ
โ QQuery 79 โ 69.11 / 71.11 ยฑ1.42 / 73.13 ms โ 69.25 / 70.17 ยฑ0.89 / 71.70 ms โ no change โ
โ QQuery 80 โ 101.77 / 104.50 ยฑ1.70 / 106.63 ms โ 101.59 / 103.22 ยฑ1.15 / 105.20 ms โ no change โ
โ QQuery 81 โ 26.65 / 27.02 ยฑ0.33 / 27.51 ms โ 26.42 / 26.69 ยฑ0.20 / 27.05 ms โ no change โ
โ QQuery 82 โ 17.29 / 17.96 ยฑ1.13 / 20.21 ms โ 17.00 / 17.17 ยฑ0.11 / 17.30 ms โ no change โ
โ QQuery 83 โ 41.74 / 43.67 ยฑ3.03 / 49.71 ms โ 41.13 / 41.65 ยฑ0.66 / 42.94 ms โ no change โ
โ QQuery 84 โ 30.83 / 31.26 ยฑ0.29 / 31.67 ms โ 30.83 / 31.78 ยฑ1.06 / 33.83 ms โ no change โ
โ QQuery 85 โ 107.79 / 109.46 ยฑ2.46 / 114.34 ms โ 108.03 / 109.03 ยฑ1.53 / 112.04 ms โ no change โ
โ QQuery 86 โ 26.30 / 26.79 ยฑ0.55 / 27.83 ms โ 25.83 / 26.41 ยฑ0.31 / 26.78 ms โ no change โ
โ QQuery 87 โ 64.80 / 66.04 ยฑ1.98 / 69.96 ms โ 64.80 / 66.19 ยฑ0.79 / 67.15 ms โ no change โ
โ QQuery 88 โ 65.47 / 66.01 ยฑ0.68 / 67.34 ms โ 64.49 / 65.11 ยฑ0.60 / 66.26 ms โ no change โ
โ QQuery 89 โ 36.65 / 36.98 ยฑ0.21 / 37.23 ms โ 36.99 / 37.40 ยฑ0.36 / 37.96 ms โ no change โ
โ QQuery 90 โ 17.98 / 18.12 ยฑ0.12 / 18.30 ms โ 17.77 / 17.92 ยฑ0.12 / 18.05 ms โ no change โ
โ QQuery 91 โ 46.85 / 47.78 ยฑ0.71 / 48.81 ms โ 46.47 / 46.95 ยฑ0.48 / 47.81 ms โ no change โ
โ QQuery 92 โ 30.98 / 31.36 ยฑ0.24 / 31.71 ms โ 30.52 / 31.53 ยฑ0.98 / 33.41 ms โ no change โ
โ QQuery 93 โ 51.42 / 52.39 ยฑ1.06 / 54.37 ms โ 52.27 / 53.33 ยฑ0.62 / 54.19 ms โ no change โ
โ QQuery 94 โ 39.28 / 39.56 ยฑ0.28 / 40.08 ms โ 38.73 / 39.46 ยฑ0.40 / 39.98 ms โ no change โ
โ QQuery 95 โ 83.17 / 84.25 ยฑ1.38 / 86.86 ms โ 81.52 / 82.23 ยฑ0.48 / 82.70 ms โ no change โ
โ QQuery 96 โ 25.02 / 25.25 ยฑ0.19 / 25.47 ms โ 25.06 / 25.77 ยฑ1.08 / 27.92 ms โ no change โ
โ QQuery 97 โ 48.01 / 48.53 ยฑ0.39 / 49.13 ms โ 47.71 / 48.91 ยฑ1.77 / 52.40 ms โ no change โ
โ QQuery 98 โ 43.08 / 44.35 ยฑ0.68 / 44.99 ms โ 43.81 / 44.91 ยฑ1.39 / 47.59 ms โ no change โ
โ QQuery 99 โ 72.98 / 74.84 ยฑ2.56 / 79.80 ms โ 71.02 / 72.16 ยฑ0.86 / 73.40 ms โ no change โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 10277.29ms โ
โ Total Time (gabotechs_reuse-hashes) โ 10203.19ms โ
โ Average Time (HEAD) โ 103.81ms โ
โ Average Time (gabotechs_reuse-hashes) โ 103.06ms โ
โ Queries Faster โ 2 โ
โ Queries Slower โ 0 โ
โ Queries with No Change โ 97 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpcds โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 55.0s |
| Peak memory | 2.4 GiB |
| Avg memory | 1.6 GiB |
| CPU user | 230.8s |
| CPU sys | 6.0s |
| Peak spill | 0 B |
**tpcds โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 55.0s |
| Peak memory | 2.2 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 227.0s |
| CPU sys | 6.3s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] gabotechs/reuse-hashes [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021231995
run benchmarks tpch10
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5093608330
run benchmarks tpch10 tpcds clickbench_partitioned
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5035577028
I'm looking at ClickBench Q33, that should show some improvement, and even though hashes are getting reused:
```sql
$ SELECT "URL", COUNT(*) AS c FROM hits GROUP BY "URL" ORDER BY c DESC LIMIT 10;
SortPreservingMergeExec: [c@1 DESC], fetch=10, metrics=[]
ProjectionExec: expr=[URL@0 as URL, count(Int64(1))@1 as c], metrics=[]
SortExec: TopK(fetch=10), expr=[count(Int64(1))@1 DESC], preserve_partitioning=[true], filter=[count(Int64(1))@1 IS NULL OR count(Int64(1))@1 > 55255], metrics=[]
AggregateExec: mode=FinalPartitioned, gby=[URL@0 as URL], aggr=[count(Int64(1))], metrics=[hash_rows_computed=0, hash_rows_reused=22.98 M]
RepartitionExec: partitioning=Hash([URL@0], 16), input_partitions=16, metrics=[hash_rows_computed=0, hash_rows_reused=22.98 M]
AggregateExec: mode=Partial, gby=[URL@0 as URL], aggr=[count(Int64(1))], metrics=[hash_rows_computed=100.00 M, hash_rows_reused=0]
DataSourceExec: ...
```
It seems to have 0 impact on performance:
```
โ QQuery 33 โ 1458.92 / 1482.58 ยฑ12.28 / 1492.64 ms โ 1440.78 / 1462.94 ยฑ13.67 / 1478.61 ms โ no change โ
```
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5036735409
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5036714325)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5036714325-1212-md76r 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (9bcc60a5097dfebff0167a255884ab979048870a) to 050046a (merge-base) [diff](https://github.com/apache/datafusion/compare/050046a7f0c08d64d8dba9ebf0e3544cbda6cd38..9bcc60a5097dfebff0167a255884ab979048870a) using: clickbench_partitioned
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5042600901
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5042580984)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5042580984-1220-fklff 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (43d60d935614ebcba5902b265be353a6753d56ae) to 050046a (merge-base) [diff](https://github.com/apache/datafusion/compare/050046a7f0c08d64d8dba9ebf0e3544cbda6cd38..43d60d935614ebcba5902b265be353a6753d56ae) using: clickbench_partitioned
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5042580984
run benchmarks clickbench_partitioned
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021822734
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5021810574)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5021810574-1173-4wh5w 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (45fa16b8c3f5064f6e3264c97fc729a713a0e5b1) to d0304b3 (merge-base) [diff](https://github.com/apache/datafusion/compare/d0304b3ff5fc1ccc47106384437232d54c462d46..45fa16b8c3f5064f6e3264c97fc729a713a0e5b1) using: tpcds
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5032483233
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5032284181)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark clickbench_partitioned.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 0 โ 1.24 / 4.02 ยฑ5.46 / 14.94 ms โ 1.21 / 3.94 ยฑ5.37 / 14.67 ms โ no change โ
โ QQuery 1 โ 13.67 / 13.88 ยฑ0.15 / 14.07 ms โ 12.91 / 13.25 ยฑ0.18 / 13.41 ms โ no change โ
โ QQuery 2 โ 37.07 / 37.29 ยฑ0.20 / 37.60 ms โ 36.15 / 36.42 ยฑ0.27 / 36.92 ms โ no change โ
โ QQuery 3 โ 31.19 / 31.94 ยฑ0.72 / 33.27 ms โ 30.74 / 31.31 ยฑ0.60 / 32.42 ms โ no change โ
โ QQuery 4 โ 223.82 / 226.90 ยฑ2.44 / 230.76 ms โ 229.68 / 232.53 ยฑ2.91 / 237.92 ms โ no change โ
โ QQuery 5 โ 270.04 / 272.70 ยฑ1.38 / 273.98 ms โ 268.06 / 272.64 ยฑ4.52 / 279.00 ms โ no change โ
โ QQuery 6 โ 1.30 / 1.44 ยฑ0.23 / 1.90 ms โ 1.27 / 1.41 ยฑ0.22 / 1.84 ms โ no change โ
โ QQuery 7 โ 14.97 / 15.03 ยฑ0.08 / 15.17 ms โ 14.44 / 15.12 ยฑ0.39 / 15.52 ms โ no change โ
โ QQuery 8 โ 324.08 / 327.67 ยฑ3.07 / 333.25 ms โ 327.32 / 330.20 ยฑ3.85 / 337.59 ms โ no change โ
โ QQuery 9 โ 452.46 / 457.22 ยฑ4.18 / 464.71 ms โ 457.64 / 467.47 ยฑ7.44 / 479.31 ms โ no change โ
โ QQuery 10 โ 71.71 / 72.68 ยฑ0.58 / 73.52 ms โ 71.56 / 73.84 ยฑ1.58 / 76.24 ms โ no change โ
โ QQuery 11 โ 83.68 / 84.66 ยฑ0.60 / 85.29 ms โ 85.15 / 87.88 ยฑ3.87 / 95.58 ms โ no change โ
โ QQuery 12 โ 265.69 / 269.06 ยฑ4.54 / 278.04 ms โ 262.95 / 269.84 ยฑ6.85 / 280.59 ms โ no change โ
โ QQuery 13 โ 368.59 / 389.00 ยฑ11.13 / 400.15 ms โ 356.34 / 370.74 ยฑ16.39 / 398.24 ms โ no change โ
โ QQuery 14 โ 281.48 / 283.66 ยฑ1.53 / 285.74 ms โ 279.22 / 280.82 ยฑ1.63 / 283.81 ms โ no change โ
โ QQuery 15 โ 273.08 / 278.46 ยฑ5.77 / 286.29 ms โ 281.01 / 293.25 ยฑ14.97 / 321.90 ms โ 1.05x slower โ
โ QQuery 16 โ 607.78 / 616.98 ยฑ5.72 / 623.14 ms โ 608.42 / 616.38 ยฑ6.67 / 625.05 ms โ no change โ
โ QQuery 17 โ 620.34 / 626.88 ยฑ6.45 / 638.69 ms โ 607.81 / 617.22 ยฑ8.19 / 630.38 ms โ no change โ
โ QQuery 18 โ 1245.55 / 1268.87 ยฑ15.44 / 1287.70 ms โ 1223.80 / 1261.11 ยฑ28.26 / 1302.72 ms โ no change โ
โ QQuery 19 โ 28.82 / 39.22 ยฑ15.47 / 68.81 ms โ 28.32 / 28.50 ยฑ0.11 / 28.65 ms โ +1.38x faster โ
โ QQuery 20 โ 516.49 / 525.02 ยฑ7.38 / 537.87 ms โ 517.91 / 542.54 ยฑ33.47 / 607.45 ms โ no change โ
โ QQuery 21 โ 512.91 / 524.85 ยฑ6.25 / 530.67 ms โ 512.59 / 527.51 ยฑ11.83 / 543.41 ms โ no change โ
โ QQuery 22 โ 981.31 / 999.54 ยฑ17.11 / 1023.08 ms โ 990.12 / 998.60 ยฑ6.58 / 1009.73 ms โ no change โ
โ QQuery 23 โ 3080.40 / 3120.39 ยฑ22.28 / 3145.60 ms โ 3066.36 / 3107.82 ยฑ28.48 / 3153.72 ms โ no change โ
โ QQuery 24 โ 42.13 / 46.45 ยฑ6.45 / 59.21 ms โ 41.45 / 42.15 ยฑ0.71 / 43.22 ms โ +1.10x faster โ
โ QQuery 25 โ 112.61 / 114.08 ยฑ0.94 / 115.29 ms โ 112.45 / 114.42 ยฑ1.48 / 116.20 ms โ no change โ
โ QQuery 26 โ 42.32 / 46.14 ยฑ5.63 / 57.21 ms โ 42.05 / 47.29 ยฑ4.75 / 54.91 ms โ no change โ
โ QQuery 27 โ 513.12 / 521.43 ยฑ6.10 / 531.18 ms โ 520.26 / 522.61 ยฑ1.37 / 524.55 ms โ no change โ
โ QQuery 28 โ 2887.72 / 2901.57 ยฑ11.99 / 2916.83 ms โ 2904.92 / 2912.84 ยฑ6.12 / 2922.46 ms โ no change โ
โ QQuery 29 โ 41.55 / 52.51 ยฑ14.67 / 78.79 ms โ 41.30 / 45.91 ยฑ5.59 / 54.73 ms โ +1.14x faster โ
โ QQuery 30 โ 304.89 / 308.49 ยฑ2.24 / 310.84 ms โ 304.19 / 315.60 ยฑ7.77 / 323.68 ms โ no change โ
โ QQuery 31 โ 293.23 / 303.87 ยฑ15.62 / 334.92 ms โ 292.14 / 299.02 ยฑ4.12 / 304.54 ms โ no change โ
โ QQuery 32 โ 930.33 / 959.34 ยฑ29.65 / 1015.75 ms โ 977.39 / 1004.86 ยฑ17.74 / 1031.25 ms โ no change โ
โ QQuery 33 โ 1458.92 / 1482.58 ยฑ12.28 / 1492.64 ms โ 1440.78 / 1462.94 ยฑ13.67 / 1478.61 ms โ no change โ
โ QQuery 34 โ 1461.55 / 1488.70 ยฑ14.84 / 1506.04 ms โ 1444.07 / 1473.05 ยฑ21.26 / 1499.15 ms โ no change โ
โ QQuery 35 โ 284.24 / 322.09 ยฑ36.86 / 390.51 ms โ 285.86 / 318.88 ยฑ32.05 / 377.94 ms โ no change โ
โ QQuery 36 โ 65.89 / 72.80 ยฑ5.50 / 80.67 ms โ 68.04 / 73.88 ยฑ9.32 / 92.38 ms โ no change โ
โ QQuery 37 โ 36.43 / 38.52 ยฑ2.77 / 43.87 ms โ 35.98 / 37.22 ยฑ1.48 / 40.04 ms โ no change โ
โ QQuery 38 โ 41.47 / 44.12 ยฑ2.41 / 48.66 ms โ 40.18 / 45.81 ยฑ5.50 / 56.15 ms โ no change โ
โ QQuery 39 โ 146.14 / 154.24 ยฑ5.58 / 163.11 ms โ 138.28 / 156.61 ยฑ13.27 / 173.08 ms โ no change โ
โ QQuery 40 โ 14.69 / 16.95 ยฑ3.03 / 22.72 ms โ 14.46 / 14.96 ยฑ0.48 / 15.79 ms โ +1.13x faster โ
โ QQuery 41 โ 13.93 / 14.29 ยฑ0.34 / 14.90 ms โ 13.82 / 14.16 ยฑ0.31 / 14.74 ms โ no change โ
โ QQuery 42 โ 13.58 / 15.11 ยฑ2.46 / 20.00 ms โ 13.43 / 16.77 ยฑ6.22 / 29.20 ms โ 1.11x slower โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 19390.64ms โ
โ Total Time (gabotechs_reuse-hashes) โ 19399.32ms โ
โ Average Time (HEAD) โ 450.95ms โ
โ Average Time (gabotechs_reuse-hashes) โ 451.15ms โ
โ Queries Faster โ 4 โ
โ Queries Slower โ 2 โ
โ Queries with No Change โ 37 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**clickbench_partitioned โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 11.4 GiB |
| Avg memory | 4.6 GiB |
| CPU user | 997.4s |
| CPU sys | 66.9s |
| Peak spill | 0 B |
**clickbench_partitioned โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 11.8 GiB |
| Avg memory | 4.7 GiB |
| CPU user | 988.9s |
| CPU sys | 70.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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021747597
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5021606365)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark clickbench_partitioned.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 0 โ 1.20 / 3.88 ยฑ5.30 / 14.48 ms โ 1.21 / 3.89 ยฑ5.29 / 14.47 ms โ no change โ
โ QQuery 1 โ 12.62 / 13.16 ยฑ0.58 / 14.29 ms โ 12.75 / 13.25 ยฑ0.26 / 13.53 ms โ no change โ
โ QQuery 2 โ 36.00 / 36.26 ยฑ0.19 / 36.56 ms โ 37.01 / 37.61 ยฑ0.52 / 38.42 ms โ no change โ
โ QQuery 3 โ 30.77 / 31.79 ยฑ1.10 / 33.65 ms โ 30.89 / 31.35 ยฑ0.42 / 32.05 ms โ no change โ
โ QQuery 4 โ 223.11 / 226.15 ยฑ3.98 / 233.91 ms โ 234.29 / 240.38 ยฑ3.42 / 244.00 ms โ 1.06x slower โ
โ QQuery 5 โ 268.95 / 273.10 ยฑ3.36 / 279.08 ms โ 266.55 / 270.09 ยฑ3.24 / 275.36 ms โ no change โ
โ QQuery 6 โ 1.25 / 1.41 ยฑ0.23 / 1.85 ms โ 1.22 / 1.46 ยฑ0.36 / 2.16 ms โ no change โ
โ QQuery 7 โ 13.62 / 13.83 ยฑ0.15 / 13.97 ms โ 14.02 / 14.22 ยฑ0.16 / 14.45 ms โ no change โ
โ QQuery 8 โ 322.37 / 325.83 ยฑ1.81 / 327.67 ms โ 332.82 / 336.12 ยฑ3.26 / 341.85 ms โ no change โ
โ QQuery 9 โ 450.49 / 457.61 ยฑ4.46 / 463.61 ms โ 461.27 / 476.43 ยฑ7.99 / 483.59 ms โ no change โ
โ QQuery 10 โ 69.89 / 71.18 ยฑ1.34 / 73.70 ms โ 69.70 / 72.98 ยฑ4.00 / 80.65 ms โ no change โ
โ QQuery 11 โ 82.29 / 83.68 ยฑ1.46 / 85.94 ms โ 81.99 / 83.03 ยฑ0.76 / 84.32 ms โ no change โ
โ QQuery 12 โ 265.97 / 271.05 ยฑ3.59 / 274.71 ms โ 260.42 / 266.36 ยฑ7.22 / 279.06 ms โ no change โ
โ QQuery 13 โ 369.49 / 383.84 ยฑ10.55 / 398.70 ms โ 351.90 / 366.64 ยฑ10.36 / 378.69 ms โ no change โ
โ QQuery 14 โ 282.35 / 290.48 ยฑ8.42 / 306.21 ms โ 274.80 / 279.20 ยฑ3.45 / 285.16 ms โ no change โ
โ QQuery 15 โ 268.33 / 276.19 ยฑ8.74 / 292.62 ms โ 286.96 / 297.26 ยฑ10.48 / 316.97 ms โ 1.08x slower โ
โ QQuery 16 โ 611.52 / 617.95 ยฑ6.19 / 628.47 ms โ 604.43 / 613.33 ยฑ6.65 / 624.25 ms โ no change โ
โ QQuery 17 โ 613.94 / 630.61 ยฑ13.86 / 652.86 ms โ 607.52 / 616.77 ยฑ9.78 / 632.43 ms โ no change โ
โ QQuery 18 โ 1247.08 / 1267.39 ยฑ16.17 / 1287.42 ms โ 1238.92 / 1254.76 ยฑ12.22 / 1276.48 ms โ no change โ
โ QQuery 19 โ 28.17 / 31.06 ยฑ5.42 / 41.89 ms โ 28.12 / 28.30 ยฑ0.21 / 28.69 ms โ +1.10x faster โ
โ QQuery 20 โ 512.51 / 525.15 ยฑ11.98 / 545.85 ms โ 518.59 / 522.13 ยฑ3.11 / 526.67 ms โ no change โ
โ QQuery 21 โ 515.79 / 521.36 ยฑ7.39 / 535.71 ms โ 518.29 / 523.25 ยฑ4.06 / 530.29 ms โ no change โ
โ QQuery 22 โ 980.12 / 992.16 ยฑ7.10 / 1000.53 ms โ 985.48 / 1004.33 ยฑ16.13 / 1025.68 ms โ no change โ
โ QQuery 23 โ 3063.48 / 3110.43 ยฑ35.84 / 3152.22 ms โ 3034.18 / 3089.36 ยฑ33.35 / 3135.87 ms โ no change โ
โ QQuery 24 โ 41.39 / 43.74 ยฑ1.60 / 45.30 ms โ 41.20 / 49.98 ยฑ9.73 / 65.42 ms โ 1.14x slower โ
โ QQuery 25 โ 110.96 / 112.06 ยฑ1.24 / 114.07 ms โ 110.80 / 113.28 ยฑ2.39 / 117.71 ms โ no change โ
โ QQuery 26 โ 41.58 / 45.71 ยฑ5.14 / 53.80 ms โ 41.76 / 43.39 ยฑ1.37 / 45.88 ms โ +1.05x faster โ
โ QQuery 27 โ 507.87 / 522.60 ยฑ9.39 / 537.20 ms โ 525.36 / 528.13 ยฑ2.82 / 531.61 ms โ no change โ
โ QQuery 28 โ 2908.66 / 2929.85 ยฑ17.43 / 2959.48 ms โ 2899.60 / 2923.09 ยฑ21.29 / 2948.76 ms โ no change โ
โ QQuery 29 โ 40.98 / 45.98 ยฑ7.13 / 59.61 ms โ 40.94 / 46.25 ยฑ7.62 / 60.92 ms โ no change โ
โ QQuery 30 โ 299.66 / 308.62 ยฑ10.78 / 327.81 ms โ 301.95 / 311.83 ยฑ9.14 / 327.77 ms โ no change โ
โ QQuery 31 โ 286.64 / 294.45 ยฑ5.80 / 302.09 ms โ 287.29 / 300.41 ยฑ6.90 / 307.20 ms โ no change โ
โ QQuery 32 โ 918.40 / 941.02 ยฑ21.19 / 974.67 ms โ 948.08 / 986.28 ยฑ21.84 / 1007.37 ms โ no change โ
โ QQuery 33 โ 1439.40 / 1462.53 ยฑ21.06 / 1499.39 ms โ 1425.61 / 1484.32 ยฑ34.45 / 1523.33 ms โ no change โ
โ QQuery 34 โ 1441.10 / 1482.56 ยฑ33.03 / 1520.31 ms โ 1458.41 / 1490.50 ยฑ21.62 / 1522.92 ms โ no change โ
โ QQuery 35 โ 273.79 / 313.29 ยฑ63.90 / 440.60 ms โ 300.29 / 326.40 ยฑ26.05 / 361.21 ms โ no change โ
โ QQuery 36 โ 65.63 / 69.76 ยฑ3.95 / 76.80 ms โ 64.77 / 71.35 ยฑ8.40 / 87.44 ms โ no change โ
โ QQuery 37 โ 35.51 / 37.24 ยฑ2.14 / 41.35 ms โ 35.77 / 38.14 ยฑ2.47 / 42.91 ms โ no change โ
โ QQuery 38 โ 40.61 / 48.46 ยฑ8.38 / 62.13 ms โ 40.75 / 43.54 ยฑ1.48 / 44.83 ms โ +1.11x faster โ
โ QQuery 39 โ 132.31 / 148.01 ยฑ10.76 / 160.41 ms โ 132.26 / 142.48 ยฑ5.49 / 147.86 ms โ no change โ
โ QQuery 40 โ 14.54 / 17.53 ยฑ5.74 / 29.02 ms โ 14.07 / 14.62 ยฑ0.36 / 15.18 ms โ +1.20x faster โ
โ QQuery 41 โ 13.54 / 14.13 ยฑ0.60 / 15.27 ms โ 13.75 / 15.52 ยฑ1.72 / 18.09 ms โ 1.10x slower โ
โ QQuery 42 โ 12.92 / 14.47 ยฑ2.49 / 19.42 ms โ 13.74 / 14.71 ยฑ1.54 / 17.78 ms โ no change โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 19307.59ms โ
โ Total Time (gabotechs_reuse-hashes) โ 19386.72ms โ
โ Average Time (HEAD) โ 449.01ms โ
โ Average Time (gabotechs_reuse-hashes) โ 450.85ms โ
โ Queries Faster โ 4 โ
โ Queries Slower โ 4 โ
โ Queries with No Change โ 35 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**clickbench_partitioned โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 11.2 GiB |
| Avg memory | 4.3 GiB |
| CPU user | 992.8s |
| CPU sys | 67.6s |
| Peak spill | 0 B |
**clickbench_partitioned โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 11.8 GiB |
| Avg memory | 4.4 GiB |
| CPU user | 987.7s |
| CPU sys | 70.5s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021913505
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5021810574)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark tpcds_sf1.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 1 โ 5.42 / 6.01 ยฑ0.98 / 7.97 ms โ 5.53 / 6.03 ยฑ0.95 / 7.93 ms โ no change โ
โ QQuery 2 โ 81.94 / 82.47 ยฑ0.34 / 82.85 ms โ 84.47 / 84.80 ยฑ0.27 / 85.18 ms โ no change โ
โ QQuery 3 โ 30.19 / 30.43 ยฑ0.19 / 30.63 ms โ 30.01 / 30.44 ยฑ0.32 / 30.97 ms โ no change โ
โ QQuery 4 โ 496.25 / 500.52 ยฑ3.25 / 505.18 ms โ 494.69 / 500.63 ยฑ4.82 / 507.70 ms โ no change โ
โ QQuery 5 โ 52.81 / 53.15 ยฑ0.36 / 53.81 ms โ 52.60 / 53.09 ยฑ0.35 / 53.66 ms โ no change โ
โ QQuery 6 โ 36.83 / 37.46 ยฑ0.39 / 37.92 ms โ 37.15 / 37.81 ยฑ0.60 / 38.88 ms โ no change โ
โ QQuery 7 โ 96.05 / 97.65 ยฑ1.75 / 100.86 ms โ 95.71 / 96.70 ยฑ0.74 / 97.93 ms โ no change โ
โ QQuery 8 โ 37.43 / 38.11 ยฑ0.61 / 39.03 ms โ 38.09 / 38.57 ยฑ0.35 / 39.11 ms โ no change โ
โ QQuery 9 โ 54.34 / 56.22 ยฑ1.76 / 59.54 ms โ 54.62 / 56.05 ยฑ1.16 / 57.87 ms โ no change โ
โ QQuery 10 โ 64.46 / 64.82 ยฑ0.43 / 65.67 ms โ 64.06 / 64.52 ยฑ0.43 / 65.23 ms โ no change โ
โ QQuery 11 โ 306.15 / 312.66 ยฑ4.79 / 318.57 ms โ 305.22 / 310.21 ยฑ3.54 / 316.13 ms โ no change โ
โ QQuery 12 โ 29.21 / 29.64 ยฑ0.26 / 29.93 ms โ 29.30 / 29.47 ยฑ0.17 / 29.69 ms โ no change โ
โ QQuery 13 โ 119.56 / 122.06 ยฑ2.13 / 125.94 ms โ 120.02 / 122.95 ยฑ4.62 / 132.11 ms โ no change โ
โ QQuery 14 โ 416.60 / 424.07 ยฑ6.47 / 436.13 ms โ 420.62 / 428.09 ยฑ6.29 / 437.62 ms โ no change โ
โ QQuery 15 โ 57.93 / 58.55 ยฑ0.44 / 59.04 ms โ 57.51 / 58.16 ยฑ0.39 / 58.54 ms โ no change โ
โ QQuery 16 โ 6.62 / 6.77 ยฑ0.21 / 7.19 ms โ 6.57 / 6.78 ยฑ0.26 / 7.29 ms โ no change โ
โ QQuery 17 โ 81.64 / 82.38 ยฑ1.22 / 84.81 ms โ 81.86 / 82.62 ยฑ1.03 / 84.62 ms โ no change โ
โ QQuery 18 โ 126.98 / 129.62 ยฑ3.27 / 135.76 ms โ 125.81 / 127.83 ยฑ2.38 / 132.49 ms โ no change โ
โ QQuery 19 โ 42.66 / 42.87 ยฑ0.22 / 43.30 ms โ 42.55 / 42.97 ยฑ0.24 / 43.21 ms โ no change โ
โ QQuery 20 โ 36.12 / 36.99 ยฑ0.85 / 38.43 ms โ 36.50 / 37.32 ยฑ0.88 / 38.81 ms โ no change โ
โ QQuery 21 โ 17.71 / 18.06 ยฑ0.30 / 18.52 ms โ 18.11 / 18.23 ยฑ0.06 / 18.28 ms โ no change โ
โ QQuery 22 โ 64.39 / 64.69 ยฑ0.28 / 65.18 ms โ 63.61 / 64.46 ยฑ0.48 / 64.96 ms โ no change โ
โ QQuery 23 โ 347.86 / 350.60 ยฑ1.85 / 352.69 ms โ 357.30 / 363.14 ยฑ3.66 / 367.55 ms โ no change โ
โ QQuery 24 โ 228.13 / 231.86 ยฑ6.07 / 243.95 ms โ 228.63 / 232.83 ยฑ5.19 / 242.63 ms โ no change โ
โ QQuery 25 โ 111.67 / 114.19 ยฑ1.98 / 117.31 ms โ 111.62 / 113.07 ยฑ0.92 / 114.43 ms โ no change โ
โ QQuery 26 โ 59.44 / 60.53 ยฑ1.07 / 62.50 ms โ 58.43 / 59.14 ยฑ0.55 / 60.12 ms โ no change โ
โ QQuery 27 โ 6.32 / 6.51 ยฑ0.16 / 6.81 ms โ 6.17 / 6.28 ยฑ0.15 / 6.58 ms โ no change โ
โ QQuery 28 โ 57.90 / 61.68 ยฑ1.92 / 63.15 ms โ 58.18 / 61.65 ยฑ1.75 / 62.95 ms โ no change โ
โ QQuery 29 โ 98.70 / 100.76 ยฑ2.22 / 103.76 ms โ 98.31 / 103.54 ยฑ4.47 / 111.85 ms โ no change โ
โ QQuery 30 โ 32.96 / 33.60 ยฑ0.60 / 34.40 ms โ 32.73 / 33.35 ยฑ0.40 / 33.89 ms โ no change โ
โ QQuery 31 โ 113.74 / 114.27 ยฑ0.34 / 114.66 ms โ 114.77 / 115.90 ยฑ1.55 / 118.87 ms โ no change โ
โ QQuery 32 โ 20.98 / 21.19 ยฑ0.12 / 21.34 ms โ 21.05 / 21.35 ยฑ0.19 / 21.53 ms โ no change โ
โ QQuery 33 โ 38.44 / 41.39 ยฑ2.99 / 45.64 ms โ 39.16 / 39.25 ยฑ0.11 / 39.45 ms โ +1.05x faster โ
โ QQuery 34 โ 10.01 / 10.20 ยฑ0.17 / 10.52 ms โ 10.02 / 10.41 ยฑ0.30 / 10.83 ms โ no change โ
โ QQuery 35 โ 74.45 / 74.97 ยฑ0.46 / 75.81 ms โ 73.86 / 74.35 ยฑ0.41 / 74.90 ms โ no change โ
โ QQuery 36 โ 5.80 / 5.95 ยฑ0.24 / 6.43 ms โ 5.78 / 5.98 ยฑ0.19 / 6.34 ms โ no change โ
โ QQuery 37 โ 6.88 / 7.00 ยฑ0.09 / 7.14 ms โ 6.81 / 6.94 ยฑ0.08 / 7.05 ms โ no change โ
โ QQuery 38 โ 63.30 / 64.01 ยฑ1.05 / 66.06 ms โ 64.63 / 65.89 ยฑ1.30 / 68.37 ms โ no change โ
โ QQuery 39 โ 90.90 / 92.16 ยฑ1.57 / 95.04 ms โ 91.01 / 91.92 ยฑ0.75 / 93.23 ms โ no change โ
โ QQuery 40 โ 23.73 / 23.90 ยฑ0.16 / 24.14 ms โ 23.59 / 23.99 ยฑ0.21 / 24.14 ms โ no change โ
โ QQuery 41 โ 11.67 / 11.83 ยฑ0.19 / 12.19 ms โ 11.57 / 11.84 ยฑ0.20 / 12.12 ms โ no change โ
โ QQuery 42 โ 24.25 / 24.66 ยฑ0.42 / 25.37 ms โ 24.48 / 24.86 ยฑ0.29 / 25.37 ms โ no change โ
โ QQuery 43 โ 4.99 / 5.09 ยฑ0.15 / 5.37 ms โ 5.08 / 5.17 ยฑ0.13 / 5.42 ms โ no change โ
โ QQuery 44 โ 9.52 / 9.57 ยฑ0.07 / 9.71 ms โ 9.55 / 9.74 ยฑ0.13 / 9.93 ms โ no change โ
โ QQuery 45 โ 38.41 / 39.37 ยฑ0.86 / 40.96 ms โ 39.40 / 41.57 ยฑ1.92 / 44.38 ms โ 1.06x slower โ
โ QQuery 46 โ 11.87 / 12.30 ยฑ0.42 / 13.07 ms โ 12.51 / 12.93 ยฑ0.30 / 13.42 ms โ 1.05x slower โ
โ QQuery 47 โ 229.25 / 235.40 ยฑ4.71 / 240.67 ms โ 230.93 / 233.24 ยฑ2.83 / 237.59 ms โ no change โ
โ QQuery 48 โ 97.56 / 98.99 ยฑ1.61 / 101.72 ms โ 97.03 / 97.67 ยฑ0.52 / 98.37 ms โ no change โ
โ QQuery 49 โ 77.64 / 80.30 ยฑ3.97 / 88.18 ms โ 77.79 / 79.86 ยฑ1.94 / 83.10 ms โ no change โ
โ QQuery 50 โ 60.42 / 61.82 ยฑ1.26 / 63.35 ms โ 59.82 / 60.59 ยฑ0.39 / 60.91 ms โ no change โ
โ QQuery 51 โ 93.06 / 93.87 ยฑ0.73 / 95.02 ms โ 94.06 / 96.61 ยฑ2.46 / 101.09 ms โ no change โ
โ QQuery 52 โ 24.61 / 26.04 ยฑ1.85 / 29.67 ms โ 24.57 / 24.73 ยฑ0.15 / 24.99 ms โ +1.05x faster โ
โ QQuery 53 โ 29.90 / 31.07 ยฑ1.98 / 35.01 ms โ 29.97 / 30.39 ยฑ0.34 / 31.01 ms โ no change โ
โ QQuery 54 โ 56.73 / 57.01 ยฑ0.35 / 57.69 ms โ 56.25 / 56.55 ยฑ0.30 / 57.10 ms โ no change โ
โ QQuery 55 โ 24.09 / 24.42 ยฑ0.23 / 24.76 ms โ 24.31 / 24.55 ยฑ0.21 / 24.83 ms โ no change โ
โ QQuery 56 โ 40.09 / 40.26 ยฑ0.15 / 40.50 ms โ 39.71 / 40.16 ยฑ0.37 / 40.60 ms โ no change โ
โ QQuery 57 โ 178.57 / 180.99 ยฑ2.41 / 185.18 ms โ 175.70 / 179.59 ยฑ2.60 / 182.62 ms โ no change โ
โ QQuery 58 โ 117.30 / 119.59 ยฑ1.95 / 122.70 ms โ 117.09 / 118.56 ยฑ1.18 / 120.22 ms โ no change โ
โ QQuery 59 โ 119.56 / 120.66 ยฑ0.62 / 121.34 ms โ 119.66 / 121.16 ยฑ1.83 / 124.65 ms โ no change โ
โ QQuery 60 โ 40.24 / 41.13 ยฑ0.79 / 42.49 ms โ 40.60 / 41.05 ยฑ0.34 / 41.57 ms โ no change โ
โ QQuery 61 โ 12.23 / 12.39 ยฑ0.15 / 12.68 ms โ 12.20 / 12.35 ยฑ0.22 / 12.79 ms โ no change โ
โ QQuery 62 โ 47.60 / 47.83 ยฑ0.19 / 48.15 ms โ 46.81 / 47.15 ยฑ0.21 / 47.44 ms โ no change โ
โ QQuery 63 โ 30.12 / 30.70 ยฑ0.37 / 31.13 ms โ 30.08 / 30.52 ยฑ0.37 / 31.12 ms โ no change โ
โ QQuery 64 โ 416.61 / 422.53 ยฑ5.22 / 428.94 ms โ 411.23 / 417.54 ยฑ4.41 / 422.19 ms โ no change โ
โ QQuery 65 โ 154.78 / 156.63 ยฑ2.00 / 160.29 ms โ 151.37 / 153.64 ยฑ1.75 / 156.36 ms โ no change โ
โ QQuery 66 โ 80.84 / 81.44 ยฑ0.46 / 82.09 ms โ 80.61 / 81.18 ยฑ0.43 / 81.85 ms โ no change โ
โ QQuery 67 โ 244.17 / 253.63 ยฑ8.16 / 263.20 ms โ 236.52 / 245.06 ยฑ7.24 / 256.59 ms โ no change โ
โ QQuery 68 โ 12.15 / 12.82 ยฑ0.75 / 14.14 ms โ 11.82 / 12.19 ยฑ0.36 / 12.87 ms โ no change โ
โ QQuery 69 โ 59.33 / 59.98 ยฑ0.63 / 61.10 ms โ 58.13 / 58.63 ยฑ0.39 / 59.23 ms โ no change โ
โ QQuery 70 โ 108.27 / 110.24 ยฑ2.81 / 115.80 ms โ 106.70 / 110.30 ยฑ3.54 / 117.00 ms โ no change โ
โ QQuery 71 โ 36.17 / 39.76 ยฑ5.27 / 50.14 ms โ 36.18 / 36.74 ยฑ0.50 / 37.68 ms โ +1.08x faster โ
โ QQuery 72 โ 2094.72 / 2197.58 ยฑ59.40 / 2277.24 ms โ 2084.18 / 2157.67 ยฑ58.38 / 2250.93 ms โ no change โ
โ QQuery 73 โ 9.82 / 10.03 ยฑ0.28 / 10.58 ms โ 9.78 / 10.51 ยฑ0.51 / 11.32 ms โ no change โ
โ QQuery 74 โ 177.31 / 181.77 ยฑ7.77 / 197.29 ms โ 175.09 / 177.93 ยฑ1.92 / 180.89 ms โ no change โ
โ QQuery 75 โ 150.09 / 152.55 ยฑ2.32 / 156.79 ms โ 150.26 / 155.00 ยฑ7.82 / 170.60 ms โ no change โ
โ QQuery 76 โ 36.08 / 36.59 ยฑ0.36 / 37.10 ms โ 36.36 / 36.68 ยฑ0.16 / 36.81 ms โ no change โ
โ QQuery 77 โ 62.71 / 68.15 ยฑ9.39 / 86.85 ms โ 62.67 / 67.12 ยฑ7.12 / 81.26 ms โ no change โ
โ QQuery 78 โ 200.74 / 206.89 ยฑ7.25 / 220.51 ms โ 202.05 / 207.60 ยฑ4.21 / 212.45 ms โ no change โ
โ QQuery 79 โ 68.30 / 68.91 ยฑ0.47 / 69.60 ms โ 68.20 / 68.60 ยฑ0.38 / 69.16 ms โ no change โ
โ QQuery 80 โ 99.78 / 103.37 ยฑ3.58 / 110.23 ms โ 99.42 / 100.71 ยฑ0.83 / 101.97 ms โ no change โ
โ QQuery 81 โ 26.26 / 26.63 ยฑ0.32 / 27.18 ms โ 26.50 / 26.85 ยฑ0.32 / 27.28 ms โ no change โ
โ QQuery 82 โ 16.80 / 17.01 ยฑ0.20 / 17.34 ms โ 17.07 / 17.22 ยฑ0.10 / 17.37 ms โ no change โ
โ QQuery 83 โ 40.71 / 41.18 ยฑ0.38 / 41.77 ms โ 40.94 / 41.13 ยฑ0.14 / 41.36 ms โ no change โ
โ QQuery 84 โ 30.95 / 31.82 ยฑ1.24 / 34.29 ms โ 30.64 / 30.81 ยฑ0.17 / 31.09 ms โ no change โ
โ QQuery 85 โ 108.64 / 116.03 ยฑ11.54 / 138.96 ms โ 107.47 / 111.92 ยฑ7.35 / 126.56 ms โ no change โ
โ QQuery 86 โ 25.91 / 26.31 ยฑ0.21 / 26.47 ms โ 25.90 / 26.39 ยฑ0.46 / 27.10 ms โ no change โ
โ QQuery 87 โ 63.40 / 64.92 ยฑ1.08 / 66.47 ms โ 64.75 / 65.37 ยฑ0.59 / 66.35 ms โ no change โ
โ QQuery 88 โ 64.26 / 67.21 ยฑ4.97 / 77.10 ms โ 64.51 / 64.81 ยฑ0.34 / 65.44 ms โ no change โ
โ QQuery 89 โ 36.75 / 37.80 ยฑ0.67 / 38.72 ms โ 37.38 / 39.48 ยฑ2.71 / 44.58 ms โ no change โ
โ QQuery 90 โ 17.20 / 17.55 ยฑ0.18 / 17.74 ms โ 17.51 / 17.67 ยฑ0.11 / 17.76 ms โ no change โ
โ QQuery 91 โ 46.81 / 47.69 ยฑ0.48 / 48.21 ms โ 46.59 / 46.88 ยฑ0.25 / 47.32 ms โ no change โ
โ QQuery 92 โ 30.38 / 30.91 ยฑ0.45 / 31.65 ms โ 30.73 / 31.00 ยฑ0.20 / 31.32 ms โ no change โ
โ QQuery 93 โ 50.70 / 53.00 ยฑ2.86 / 58.58 ms โ 50.41 / 51.60 ยฑ0.78 / 52.50 ms โ no change โ
โ QQuery 94 โ 39.99 / 40.22 ยฑ0.17 / 40.49 ms โ 39.91 / 41.52 ยฑ1.96 / 45.33 ms โ no change โ
โ QQuery 95 โ 82.23 / 82.89 ยฑ0.35 / 83.25 ms โ 82.21 / 84.04 ยฑ1.81 / 86.45 ms โ no change โ
โ QQuery 96 โ 25.01 / 25.20 ยฑ0.20 / 25.52 ms โ 24.70 / 24.97 ยฑ0.16 / 25.19 ms โ no change โ
โ QQuery 97 โ 47.59 / 50.19 ยฑ4.39 / 58.94 ms โ 48.50 / 48.91 ยฑ0.37 / 49.60 ms โ no change โ
โ QQuery 98 โ 43.29 / 44.10 ยฑ0.63 / 44.83 ms โ 43.49 / 44.19 ยฑ0.53 / 45.07 ms โ no change โ
โ QQuery 99 โ 71.18 / 71.82 ยฑ0.52 / 72.64 ms โ 71.39 / 71.75 ยฑ0.35 / 72.40 ms โ no change โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 10170.58ms โ
โ Total Time (gabotechs_reuse-hashes) โ 10111.18ms โ
โ Average Time (HEAD) โ 102.73ms โ
โ Average Time (gabotechs_reuse-hashes) โ 102.13ms โ
โ Queries Faster โ 3 โ
โ Queries Slower โ 2 โ
โ Queries with No Change โ 94 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpcds โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 55.0s |
| Peak memory | 1.9 GiB |
| Avg memory | 1.3 GiB |
| CPU user | 233.1s |
| CPU sys | 6.7s |
| Peak spill | 0 B |
**tpcds โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 55.0s |
| Peak memory | 2.1 GiB |
| Avg memory | 1.4 GiB |
| CPU user | 229.7s |
| CPU sys | 6.3s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5036356795
run benchmarks clickbench_partitioned
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5036572581
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5036356795)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark clickbench_partitioned.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 0 โ 1.23 / 3.98 ยฑ5.42 / 14.83 ms โ 1.22 / 3.95 ยฑ5.40 / 14.75 ms โ no change โ
โ QQuery 1 โ 12.90 / 13.22 ยฑ0.19 / 13.47 ms โ 13.20 / 13.43 ยฑ0.15 / 13.67 ms โ no change โ
โ QQuery 2 โ 36.09 / 36.40 ยฑ0.23 / 36.64 ms โ 36.41 / 36.72 ยฑ0.26 / 37.15 ms โ no change โ
โ QQuery 3 โ 31.08 / 31.61 ยฑ0.54 / 32.61 ms โ 31.00 / 31.39 ยฑ0.28 / 31.75 ms โ no change โ
โ QQuery 4 โ 223.96 / 228.13 ยฑ2.91 / 232.04 ms โ 229.50 / 231.15 ยฑ1.60 / 233.82 ms โ no change โ
โ QQuery 5 โ 271.25 / 273.40 ยฑ1.48 / 275.64 ms โ 269.22 / 274.15 ยฑ3.24 / 278.73 ms โ no change โ
โ QQuery 6 โ 1.29 / 1.44 ยฑ0.22 / 1.86 ms โ 1.28 / 1.42 ยฑ0.23 / 1.88 ms โ no change โ
โ QQuery 7 โ 14.00 / 14.27 ยฑ0.17 / 14.52 ms โ 14.50 / 14.57 ยฑ0.07 / 14.70 ms โ no change โ
โ QQuery 8 โ 322.73 / 325.10 ยฑ2.03 / 328.28 ms โ 329.23 / 331.66 ยฑ2.12 / 334.56 ms โ no change โ
โ QQuery 9 โ 455.66 / 464.12 ยฑ6.49 / 473.57 ms โ 467.50 / 476.71 ยฑ10.13 / 493.93 ms โ no change โ
โ QQuery 10 โ 71.81 / 73.02 ยฑ1.16 / 74.45 ms โ 71.28 / 72.81 ยฑ1.76 / 75.50 ms โ no change โ
โ QQuery 11 โ 83.32 / 83.64 ยฑ0.27 / 84.11 ms โ 83.54 / 85.11 ยฑ1.89 / 88.66 ms โ no change โ
โ QQuery 12 โ 268.32 / 275.04 ยฑ8.37 / 290.84 ms โ 262.80 / 269.34 ยฑ6.45 / 280.85 ms โ no change โ
โ QQuery 13 โ 371.63 / 379.23 ยฑ8.78 / 391.32 ms โ 362.35 / 371.96 ยฑ9.26 / 387.23 ms โ no change โ
โ QQuery 14 โ 282.78 / 291.85 ยฑ8.83 / 307.99 ms โ 276.75 / 280.68 ยฑ4.22 / 288.81 ms โ no change โ
โ QQuery 15 โ 267.67 / 276.54 ยฑ7.43 / 289.09 ms โ 278.49 / 291.37 ยฑ8.09 / 300.45 ms โ 1.05x slower โ
โ QQuery 16 โ 619.56 / 627.19 ยฑ7.41 / 639.06 ms โ 617.01 / 623.13 ยฑ3.91 / 627.26 ms โ no change โ
โ QQuery 17 โ 620.16 / 628.66 ยฑ7.64 / 642.23 ms โ 621.48 / 630.76 ยฑ8.76 / 645.31 ms โ no change โ
โ QQuery 18 โ 1266.73 / 1276.21 ยฑ6.69 / 1287.49 ms โ 1227.54 / 1263.64 ยฑ24.64 / 1298.39 ms โ no change โ
โ QQuery 19 โ 28.15 / 35.64 ยฑ14.59 / 64.82 ms โ 28.67 / 51.34 ยฑ28.97 / 101.08 ms โ 1.44x slower โ
โ QQuery 20 โ 513.99 / 524.52 ยฑ9.87 / 540.48 ms โ 513.47 / 523.49 ยฑ6.02 / 530.78 ms โ no change โ
โ QQuery 21 โ 514.46 / 517.42 ยฑ3.60 / 523.14 ms โ 515.81 / 520.83 ยฑ3.34 / 525.01 ms โ no change โ
โ QQuery 22 โ 982.98 / 993.90 ยฑ7.83 / 1001.31 ms โ 988.67 / 998.20 ยฑ7.08 / 1009.90 ms โ no change โ
โ QQuery 23 โ 3138.88 / 3157.04 ยฑ17.04 / 3181.92 ms โ 3079.94 / 3107.20 ยฑ21.65 / 3131.83 ms โ no change โ
โ QQuery 24 โ 41.25 / 44.59 ยฑ5.60 / 55.71 ms โ 41.28 / 42.72 ยฑ1.33 / 44.96 ms โ no change โ
โ QQuery 25 โ 112.72 / 114.31 ยฑ2.27 / 118.78 ms โ 111.62 / 114.61 ยฑ4.39 / 123.27 ms โ no change โ
โ QQuery 26 โ 42.01 / 44.23 ยฑ2.70 / 49.39 ms โ 41.64 / 46.80 ยฑ6.01 / 55.57 ms โ 1.06x slower โ
โ QQuery 27 โ 510.32 / 529.69 ยฑ12.13 / 543.21 ms โ 517.32 / 527.01 ยฑ5.83 / 533.94 ms โ no change โ
โ QQuery 28 โ 2873.43 / 2905.20 ยฑ27.04 / 2939.69 ms โ 2902.30 / 2926.08 ยฑ22.06 / 2964.94 ms โ no change โ
โ QQuery 29 โ 41.39 / 42.08 ยฑ0.68 / 43.05 ms โ 41.62 / 46.83 ยฑ8.93 / 64.59 ms โ 1.11x slower โ
โ QQuery 30 โ 302.64 / 312.61 ยฑ7.95 / 322.04 ms โ 304.71 / 316.84 ยฑ16.13 / 348.70 ms โ no change โ
โ QQuery 31 โ 291.79 / 298.86 ยฑ6.25 / 309.60 ms โ 290.00 / 301.01 ยฑ12.07 / 322.82 ms โ no change โ
โ QQuery 32 โ 926.59 / 957.07 ยฑ23.85 / 986.45 ms โ 939.51 / 990.22 ยฑ58.55 / 1092.08 ms โ no change โ
โ QQuery 33 โ 1467.00 / 1477.22 ยฑ7.46 / 1489.21 ms โ 1451.16 / 1487.28 ยฑ24.07 / 1521.06 ms โ no change โ
โ QQuery 34 โ 1484.26 / 1511.74 ยฑ17.02 / 1528.85 ms โ 1459.18 / 1489.44 ยฑ22.05 / 1513.96 ms โ no change โ
โ QQuery 35 โ 281.53 / 305.92 ยฑ35.32 / 375.95 ms โ 290.15 / 328.65 ยฑ53.83 / 434.27 ms โ 1.07x slower โ
โ QQuery 36 โ 66.08 / 71.03 ยฑ3.76 / 77.10 ms โ 67.69 / 75.99 ยฑ5.71 / 85.37 ms โ 1.07x slower โ
โ QQuery 37 โ 36.15 / 41.46 ยฑ6.64 / 53.80 ms โ 35.93 / 42.69 ยฑ4.79 / 49.21 ms โ no change โ
โ QQuery 38 โ 40.88 / 42.35 ยฑ1.00 / 43.54 ms โ 41.29 / 43.19 ยฑ1.55 / 45.07 ms โ no change โ
โ QQuery 39 โ 138.91 / 149.31 ยฑ7.54 / 157.18 ms โ 140.25 / 156.97 ยฑ11.61 / 172.86 ms โ 1.05x slower โ
โ QQuery 40 โ 14.32 / 16.23 ยฑ2.65 / 21.41 ms โ 14.66 / 15.11 ยฑ0.25 / 15.40 ms โ +1.07x faster โ
โ QQuery 41 โ 13.76 / 14.09 ยฑ0.21 / 14.31 ms โ 13.75 / 14.24 ยฑ0.36 / 14.81 ms โ no change โ
โ QQuery 42 โ 13.06 / 13.71 ยฑ0.46 / 14.24 ms โ 13.72 / 13.84 ยฑ0.08 / 13.95 ms โ no change โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 19423.26ms โ
โ Total Time (gabotechs_reuse-hashes) โ 19484.54ms โ
โ Average Time (HEAD) โ 451.70ms โ
โ Average Time (gabotechs_reuse-hashes) โ 453.13ms โ
โ Queries Faster โ 1 โ
โ Queries Slower โ 7 โ
โ Queries with No Change โ 35 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**clickbench_partitioned โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 11.4 GiB |
| Avg memory | 4.3 GiB |
| CPU user | 997.9s |
| CPU sys | 70.1s |
| Peak spill | 0 B |
**clickbench_partitioned โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 11.6 GiB |
| Avg memory | 4.5 GiB |
| CPU user | 989.0s |
| CPU sys | 72.2s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "Rachelint (via GitHub)" <gi...@apache.org>.
Rachelint commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5028928056
> I think for primitives I found it can be a quite slower to store the hash rather than regenerate it inside a loop as hashing is just is a shift / multiply / xor (potentially SIMD) vs a potential cache miss / extra cache usage.
Agree, what is worse: the internal hash column will be repartitioned and coalesced together with other normal columns, and `Uint64Array` is actually not small.
> run benchmarks clickbench_partitioned
Seems strange that q33 and q34 not get improvement
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5091045912
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5090830463)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark clickbench_partitioned.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 0 โ 1.25 / 4.12 ยฑ5.55 / 15.22 ms โ 1.30 / 4.20 ยฑ5.64 / 15.47 ms โ no change โ
โ QQuery 1 โ 12.66 / 13.28 ยฑ0.57 / 14.33 ms โ 12.97 / 13.16 ยฑ0.18 / 13.48 ms โ no change โ
โ QQuery 2 โ 36.10 / 36.74 ยฑ0.39 / 37.21 ms โ 36.86 / 37.04 ยฑ0.14 / 37.28 ms โ no change โ
โ QQuery 3 โ 31.30 / 32.22 ยฑ0.88 / 33.84 ms โ 31.70 / 32.31 ยฑ0.49 / 32.92 ms โ no change โ
โ QQuery 4 โ 231.26 / 238.88 ยฑ5.02 / 244.48 ms โ 255.03 / 256.40 ยฑ1.01 / 257.92 ms โ 1.07x slower โ
โ QQuery 5 โ 281.22 / 285.19 ยฑ3.50 / 290.75 ms โ 283.24 / 288.80 ยฑ3.10 / 291.93 ms โ no change โ
โ QQuery 6 โ 1.28 / 1.45 ยฑ0.24 / 1.94 ms โ 1.35 / 1.49 ยฑ0.22 / 1.94 ms โ no change โ
โ QQuery 7 โ 14.17 / 14.32 ยฑ0.13 / 14.49 ms โ 14.36 / 14.50 ยฑ0.11 / 14.62 ms โ no change โ
โ QQuery 8 โ 341.78 / 346.99 ยฑ4.28 / 354.25 ms โ 351.60 / 359.70 ยฑ5.02 / 366.64 ms โ no change โ
โ QQuery 9 โ 461.52 / 479.37 ยฑ9.88 / 490.88 ms โ 502.97 / 518.96 ยฑ10.09 / 530.04 ms โ 1.08x slower โ
โ QQuery 10 โ 69.83 / 74.41 ยฑ6.03 / 86.34 ms โ 72.64 / 73.51 ยฑ0.74 / 74.79 ms โ no change โ
โ QQuery 11 โ 82.55 / 83.53 ยฑ0.75 / 84.67 ms โ 83.43 / 85.39 ยฑ1.30 / 86.79 ms โ no change โ
โ QQuery 12 โ 281.42 / 287.76 ยฑ5.42 / 295.78 ms โ 275.31 / 282.51 ยฑ6.09 / 292.24 ms โ no change โ
โ QQuery 13 โ 372.04 / 390.83 ยฑ13.70 / 411.89 ms โ 370.50 / 384.15 ยฑ13.98 / 410.08 ms โ no change โ
โ QQuery 14 โ 290.48 / 295.69 ยฑ5.59 / 306.08 ms โ 295.32 / 309.36 ยฑ19.15 / 346.68 ms โ no change โ
โ QQuery 15 โ 284.43 / 292.05 ยฑ7.31 / 301.79 ms โ 304.48 / 315.82 ยฑ8.93 / 328.36 ms โ 1.08x slower โ
โ QQuery 16 โ 617.62 / 633.97 ยฑ8.39 / 640.40 ms โ 642.91 / 658.27 ยฑ10.39 / 669.22 ms โ no change โ
โ QQuery 17 โ 650.21 / 657.82 ยฑ7.58 / 670.82 ms โ 653.87 / 665.31 ยฑ9.47 / 679.46 ms โ no change โ
โ QQuery 18 โ 1299.63 / 1333.16 ยฑ21.07 / 1358.32 ms โ 1315.26 / 1328.84 ยฑ15.00 / 1356.47 ms โ no change โ
โ QQuery 19 โ 28.57 / 36.89 ยฑ12.51 / 61.12 ms โ 28.43 / 37.24 ยฑ11.43 / 58.43 ms โ no change โ
โ QQuery 20 โ 523.84 / 535.56 ยฑ11.09 / 550.84 ms โ 521.20 / 527.72 ยฑ8.95 / 545.27 ms โ no change โ
โ QQuery 21 โ 517.48 / 526.55 ยฑ8.93 / 542.69 ms โ 519.60 / 529.56 ยฑ6.41 / 539.73 ms โ no change โ
โ QQuery 22 โ 996.31 / 1018.98 ยฑ11.70 / 1028.15 ms โ 1008.26 / 1030.02 ยฑ13.70 / 1051.45 ms โ no change โ
โ QQuery 23 โ 3124.15 / 3159.81 ยฑ32.85 / 3220.55 ms โ 3139.37 / 3164.03 ยฑ19.42 / 3193.77 ms โ no change โ
โ QQuery 24 โ 42.02 / 43.10 ยฑ0.83 / 44.25 ms โ 41.92 / 45.23 ยฑ5.35 / 55.83 ms โ no change โ
โ QQuery 25 โ 113.17 / 116.42 ยฑ2.78 / 120.95 ms โ 113.44 / 119.74 ยฑ7.59 / 133.56 ms โ no change โ
โ QQuery 26 โ 42.77 / 43.82 ยฑ1.12 / 45.96 ms โ 43.25 / 47.78 ยฑ5.12 / 56.27 ms โ 1.09x slower โ
โ QQuery 27 โ 522.45 / 528.08 ยฑ7.41 / 541.68 ms โ 532.22 / 538.68 ยฑ9.37 / 557.25 ms โ no change โ
โ QQuery 28 โ 2924.18 / 2966.27 ยฑ22.38 / 2989.13 ms โ 2937.25 / 2957.61 ยฑ14.20 / 2975.10 ms โ no change โ
โ QQuery 29 โ 41.87 / 51.65 ยฑ11.71 / 69.35 ms โ 42.19 / 61.98 ยฑ20.43 / 101.21 ms โ 1.20x slower โ
โ QQuery 30 โ 313.31 / 325.66 ยฑ15.30 / 355.82 ms โ 314.38 / 320.89 ยฑ5.87 / 330.16 ms โ no change โ
โ QQuery 31 โ 297.79 / 306.56 ยฑ7.30 / 319.36 ms โ 289.42 / 305.77 ยฑ13.09 / 327.55 ms โ no change โ
โ QQuery 32 โ 959.88 / 967.35 ยฑ6.25 / 974.31 ms โ 999.51 / 1052.53 ยฑ46.16 / 1135.01 ms โ 1.09x slower โ
โ QQuery 33 โ 1526.17 / 1568.03 ยฑ36.21 / 1615.23 ms โ 1514.46 / 1537.34 ยฑ21.62 / 1568.92 ms โ no change โ
โ QQuery 34 โ 1514.70 / 1576.33 ยฑ39.09 / 1633.04 ms โ 1531.13 / 1570.18 ยฑ29.79 / 1614.95 ms โ no change โ
โ QQuery 35 โ 316.16 / 368.67 ยฑ65.34 / 481.98 ms โ 305.35 / 387.17 ยฑ139.38 / 665.07 ms โ 1.05x slower โ
โ QQuery 36 โ 73.10 / 80.63 ยฑ6.43 / 90.98 ms โ 69.02 / 75.03 ยฑ8.36 / 91.43 ms โ +1.07x faster โ
โ QQuery 37 โ 38.97 / 40.99 ยฑ2.24 / 44.30 ms โ 36.65 / 41.53 ยฑ4.62 / 48.65 ms โ no change โ
โ QQuery 38 โ 44.78 / 47.64 ยฑ4.47 / 56.51 ms โ 40.64 / 48.49 ยฑ8.04 / 63.83 ms โ no change โ
โ QQuery 39 โ 160.37 / 170.90 ยฑ7.37 / 182.31 ms โ 152.84 / 155.68 ยฑ2.39 / 158.65 ms โ +1.10x faster โ
โ QQuery 40 โ 15.81 / 17.05 ยฑ1.75 / 20.35 ms โ 14.85 / 15.37 ยฑ0.50 / 16.33 ms โ +1.11x faster โ
โ QQuery 41 โ 14.95 / 15.21 ยฑ0.15 / 15.40 ms โ 14.30 / 15.58 ยฑ1.68 / 18.74 ms โ no change โ
โ QQuery 42 โ 14.14 / 14.52 ยฑ0.27 / 14.93 ms โ 14.12 / 20.54 ยฑ12.35 / 45.24 ms โ 1.41x slower โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 20028.45ms โ
โ Total Time (gabotechs_reuse-hashes) โ 20235.42ms โ
โ Average Time (HEAD) โ 465.78ms โ
โ Average Time (gabotechs_reuse-hashes) โ 470.59ms โ
โ Queries Faster โ 3 โ
โ Queries Slower โ 8 โ
โ Queries with No Change โ 32 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**clickbench_partitioned โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 105.0s |
| Peak memory | 12.0 GiB |
| Avg memory | 4.5 GiB |
| CPU user | 1023.9s |
| CPU sys | 73.2s |
| Peak spill | 0 B |
**clickbench_partitioned โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 105.0s |
| Peak memory | 10.2 GiB |
| Avg memory | 4.2 GiB |
| CPU user | 1023.4s |
| CPU sys | 78.0s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5025246400
> Yeah, I can imagine how you'd want to enable this based on the hashing expressions. For example, maybe hashing on a simple `int` column is not worth it, but it is in a `list<string>`.
>
> I still want to see if we can reach a situation where this enabled 100% of the times is worth it, that would simplify things a bit.
I think for primitives I found it can be a quite slower to store the hash rather than regenerate it inside a loop as hashing is just is a shift / multiply / xor (potentially SIMD) vs a potential cache miss / extra cache usage.
For (long) strings it can of course be very beneficial.
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] gabotechs/reuse-hashes [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021253660
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5021231995)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5021231995-1168-7p6z5 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (45fa16b8c3f5064f6e3264c97fc729a713a0e5b1) to d0304b3 (merge-base) [diff](https://github.com/apache/datafusion/compare/d0304b3ff5fc1ccc47106384437232d54c462d46..45fa16b8c3f5064f6e3264c97fc729a713a0e5b1) using: tpch10
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021606365
run benchmarks clickbench_partitioned
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5093630715
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5093608330)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5093608330-1276-r4jx8 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (af01982d0c69b5483628ae80156f4c67ab931f21) to e8a65f2 (merge-base) [diff](https://github.com/apache/datafusion/compare/e8a65f2d6f24afa75192fc63aca38011ede88800..af01982d0c69b5483628ae80156f4c67ab931f21) using: clickbench_partitioned
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5090852149
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5090830463)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5090830463-1273-q8q9j 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (842267cc321dc1d4704d3a3cf935c7966da7cc6d) to e8a65f2 (merge-base) [diff](https://github.com/apache/datafusion/compare/e8a65f2d6f24afa75192fc63aca38011ede88800..842267cc321dc1d4704d3a3cf935c7966da7cc6d) using: clickbench_partitioned
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5091006709
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5090830463)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark tpcds_sf1.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 1 โ 5.81 / 6.36 ยฑ0.90 / 8.14 ms โ 5.36 / 5.96 ยฑ0.91 / 7.77 ms โ +1.07x faster โ
โ QQuery 2 โ 83.21 / 83.76 ยฑ0.40 / 84.42 ms โ 81.68 / 82.23 ยฑ0.52 / 83.14 ms โ no change โ
โ QQuery 3 โ 30.20 / 30.61 ยฑ0.32 / 31.12 ms โ 29.37 / 29.87 ยฑ0.32 / 30.37 ms โ no change โ
โ QQuery 4 โ 509.47 / 515.79 ยฑ5.18 / 524.37 ms โ 494.73 / 502.01 ยฑ6.42 / 511.22 ms โ no change โ
โ QQuery 5 โ 53.43 / 53.94 ยฑ0.40 / 54.49 ms โ 51.74 / 52.32 ยฑ0.51 / 53.10 ms โ no change โ
โ QQuery 6 โ 37.62 / 37.91 ยฑ0.26 / 38.28 ms โ 35.78 / 36.60 ยฑ0.53 / 37.26 ms โ no change โ
โ QQuery 7 โ 97.63 / 99.65 ยฑ1.66 / 102.07 ms โ 95.28 / 96.70 ยฑ2.29 / 101.27 ms โ no change โ
โ QQuery 8 โ 37.68 / 38.25 ยฑ0.55 / 39.29 ms โ 37.11 / 37.72 ยฑ0.86 / 39.40 ms โ no change โ
โ QQuery 9 โ 52.91 / 56.96 ยฑ2.05 / 58.39 ms โ 52.13 / 55.92 ยฑ2.99 / 61.11 ms โ no change โ
โ QQuery 10 โ 63.69 / 64.46 ยฑ0.44 / 65.03 ms โ 62.90 / 63.54 ยฑ0.52 / 64.43 ms โ no change โ
โ QQuery 11 โ 316.48 / 322.37 ยฑ6.13 / 333.69 ms โ 299.92 / 306.22 ยฑ3.87 / 312.14 ms โ +1.05x faster โ
โ QQuery 12 โ 29.10 / 29.78 ยฑ0.47 / 30.56 ms โ 28.52 / 28.99 ยฑ0.26 / 29.29 ms โ no change โ
โ QQuery 13 โ 120.49 / 121.53 ยฑ1.06 / 123.46 ms โ 118.48 / 120.12 ยฑ1.33 / 122.32 ms โ no change โ
โ QQuery 14 โ 422.19 / 428.42 ยฑ4.15 / 434.14 ms โ 412.74 / 417.66 ยฑ2.70 / 420.10 ms โ no change โ
โ QQuery 15 โ 58.15 / 59.05 ยฑ0.56 / 59.74 ms โ 57.53 / 58.28 ยฑ0.59 / 59.34 ms โ no change โ
โ QQuery 16 โ 6.62 / 6.76 ยฑ0.22 / 7.20 ms โ 6.57 / 6.75 ยฑ0.20 / 7.12 ms โ no change โ
โ QQuery 17 โ 81.35 / 84.07 ยฑ3.03 / 88.98 ms โ 79.98 / 80.74 ยฑ0.76 / 82.20 ms โ no change โ
โ QQuery 18 โ 124.57 / 125.50 ยฑ0.68 / 126.13 ms โ 124.80 / 125.25 ยฑ0.40 / 125.99 ms โ no change โ
โ QQuery 19 โ 42.41 / 43.98 ยฑ2.77 / 49.52 ms โ 41.73 / 42.18 ยฑ0.36 / 42.77 ms โ no change โ
โ QQuery 20 โ 37.07 / 37.69 ยฑ0.63 / 38.51 ms โ 35.68 / 36.98 ยฑ1.38 / 39.64 ms โ no change โ
โ QQuery 21 โ 17.86 / 18.16 ยฑ0.18 / 18.44 ms โ 17.56 / 17.75 ยฑ0.11 / 17.85 ms โ no change โ
โ QQuery 22 โ 64.76 / 66.36 ยฑ2.38 / 71.06 ms โ 63.21 / 63.84 ยฑ0.44 / 64.35 ms โ no change โ
โ QQuery 23 โ 349.63 / 356.05 ยฑ4.23 / 361.37 ms โ 349.52 / 354.96 ยฑ3.97 / 360.54 ms โ no change โ
โ QQuery 24 โ 226.60 / 232.27 ยฑ7.83 / 247.75 ms โ 223.43 / 227.69 ยฑ4.17 / 233.45 ms โ no change โ
โ QQuery 25 โ 111.34 / 113.60 ยฑ2.02 / 116.90 ms โ 110.57 / 111.57 ยฑ1.16 / 113.72 ms โ no change โ
โ QQuery 26 โ 58.64 / 59.12 ยฑ0.35 / 59.65 ms โ 57.81 / 60.61 ยฑ3.02 / 66.27 ms โ no change โ
โ QQuery 27 โ 6.27 / 6.41 ยฑ0.18 / 6.74 ms โ 6.26 / 6.39 ยฑ0.16 / 6.70 ms โ no change โ
โ QQuery 28 โ 58.55 / 62.00 ยฑ1.84 / 64.04 ms โ 61.26 / 61.91 ยฑ0.65 / 62.98 ms โ no change โ
โ QQuery 29 โ 97.65 / 101.33 ยฑ4.53 / 110.19 ms โ 97.40 / 99.67 ยฑ3.09 / 105.68 ms โ no change โ
โ QQuery 30 โ 32.14 / 32.64 ยฑ0.38 / 33.22 ms โ 33.31 / 34.45 ยฑ0.86 / 35.92 ms โ 1.06x slower โ
โ QQuery 31 โ 111.92 / 112.64 ยฑ0.51 / 113.16 ms โ 111.51 / 112.33 ยฑ0.54 / 113.20 ms โ no change โ
โ QQuery 32 โ 21.75 / 23.90 ยฑ3.49 / 30.85 ms โ 20.26 / 20.63 ยฑ0.34 / 21.12 ms โ +1.16x faster โ
โ QQuery 33 โ 38.02 / 38.93 ยฑ0.61 / 39.64 ms โ 38.31 / 40.61 ยฑ3.16 / 46.82 ms โ no change โ
โ QQuery 34 โ 9.89 / 10.16 ยฑ0.32 / 10.80 ms โ 9.97 / 11.11 ยฑ0.65 / 11.92 ms โ 1.09x slower โ
โ QQuery 35 โ 72.36 / 73.02 ยฑ0.44 / 73.64 ms โ 72.25 / 73.70 ยฑ1.03 / 75.11 ms โ no change โ
โ QQuery 36 โ 5.99 / 6.13 ยฑ0.19 / 6.50 ms โ 5.76 / 5.89 ยฑ0.16 / 6.20 ms โ no change โ
โ QQuery 37 โ 6.94 / 7.09 ยฑ0.11 / 7.29 ms โ 6.69 / 6.80 ยฑ0.07 / 6.88 ms โ no change โ
โ QQuery 38 โ 63.11 / 64.05 ยฑ1.46 / 66.97 ms โ 62.39 / 63.00 ยฑ0.37 / 63.49 ms โ no change โ
โ QQuery 39 โ 91.17 / 91.86 ยฑ0.63 / 92.93 ms โ 91.32 / 94.40 ยฑ3.37 / 99.75 ms โ no change โ
โ QQuery 40 โ 23.85 / 24.06 ยฑ0.19 / 24.36 ms โ 23.50 / 24.31 ยฑ0.49 / 25.02 ms โ no change โ
โ QQuery 41 โ 11.79 / 11.96 ยฑ0.20 / 12.35 ms โ 11.55 / 11.75 ยฑ0.18 / 12.07 ms โ no change โ
โ QQuery 42 โ 24.43 / 24.74 ยฑ0.24 / 25.01 ms โ 24.19 / 24.49 ยฑ0.40 / 25.27 ms โ no change โ
โ QQuery 43 โ 5.20 / 5.42 ยฑ0.12 / 5.55 ms โ 4.92 / 5.00 ยฑ0.11 / 5.21 ms โ +1.08x faster โ
โ QQuery 44 โ 9.51 / 9.70 ยฑ0.14 / 9.89 ms โ 9.20 / 9.35 ยฑ0.15 / 9.63 ms โ no change โ
โ QQuery 45 โ 39.60 / 42.12 ยฑ2.60 / 47.01 ms โ 38.15 / 38.81 ยฑ0.68 / 39.99 ms โ +1.09x faster โ
โ QQuery 46 โ 12.52 / 12.97 ยฑ0.48 / 13.91 ms โ 11.79 / 12.05 ยฑ0.21 / 12.42 ms โ +1.08x faster โ
โ QQuery 47 โ 231.98 / 234.39 ยฑ3.72 / 241.75 ms โ 228.58 / 238.39 ยฑ11.60 / 258.03 ms โ no change โ
โ QQuery 48 โ 96.47 / 97.28 ยฑ0.57 / 97.92 ms โ 95.87 / 96.81 ยฑ0.51 / 97.33 ms โ no change โ
โ QQuery 49 โ 77.59 / 81.27 ยฑ4.84 / 90.45 ms โ 76.31 / 76.91 ยฑ0.53 / 77.68 ms โ +1.06x faster โ
โ QQuery 50 โ 59.42 / 60.01 ยฑ0.44 / 60.69 ms โ 60.42 / 60.91 ยฑ0.40 / 61.37 ms โ no change โ
โ QQuery 51 โ 92.77 / 94.27 ยฑ1.27 / 96.02 ms โ 91.86 / 93.25 ยฑ1.47 / 96.09 ms โ no change โ
โ QQuery 52 โ 24.86 / 25.09 ยฑ0.28 / 25.61 ms โ 24.47 / 24.66 ยฑ0.14 / 24.89 ms โ no change โ
โ QQuery 53 โ 29.54 / 30.02 ยฑ0.58 / 31.09 ms โ 29.95 / 32.59 ยฑ4.38 / 41.31 ms โ 1.09x slower โ
โ QQuery 54 โ 55.15 / 55.26 ยฑ0.11 / 55.40 ms โ 56.46 / 57.49 ยฑ0.78 / 58.85 ms โ no change โ
โ QQuery 55 โ 23.65 / 23.84 ยฑ0.17 / 24.08 ms โ 23.78 / 24.10 ยฑ0.28 / 24.56 ms โ no change โ
โ QQuery 56 โ 39.18 / 39.75 ยฑ0.39 / 40.39 ms โ 39.02 / 39.50 ยฑ0.58 / 40.24 ms โ no change โ
โ QQuery 57 โ 179.01 / 181.49 ยฑ3.02 / 187.38 ms โ 177.05 / 180.61 ยฑ3.09 / 186.37 ms โ no change โ
โ QQuery 58 โ 118.01 / 119.78 ยฑ1.55 / 121.74 ms โ 115.64 / 118.24 ยฑ2.34 / 122.02 ms โ no change โ
โ QQuery 59 โ 118.93 / 119.53 ยฑ0.45 / 120.27 ms โ 118.65 / 119.04 ยฑ0.27 / 119.49 ms โ no change โ
โ QQuery 60 โ 39.99 / 41.14 ยฑ1.20 / 43.30 ms โ 39.49 / 39.74 ยฑ0.34 / 40.39 ms โ no change โ
โ QQuery 61 โ 12.20 / 12.38 ยฑ0.17 / 12.69 ms โ 12.43 / 13.91 ยฑ2.51 / 18.92 ms โ 1.12x slower โ
โ QQuery 62 โ 46.97 / 47.43 ยฑ0.41 / 48.17 ms โ 47.42 / 47.97 ยฑ0.67 / 49.18 ms โ no change โ
โ QQuery 63 โ 29.79 / 30.01 ยฑ0.23 / 30.33 ms โ 29.68 / 30.45 ยฑ0.60 / 31.45 ms โ no change โ
โ QQuery 64 โ 410.37 / 416.10 ยฑ6.65 / 428.22 ms โ 411.81 / 414.79 ยฑ2.77 / 418.78 ms โ no change โ
โ QQuery 65 โ 126.47 / 129.49 ยฑ1.84 / 131.49 ms โ 122.51 / 126.98 ยฑ3.95 / 134.14 ms โ no change โ
โ QQuery 66 โ 80.98 / 81.71 ยฑ0.47 / 82.44 ms โ 80.34 / 81.63 ยฑ0.94 / 83.17 ms โ no change โ
โ QQuery 67 โ 240.04 / 247.12 ยฑ4.05 / 251.20 ms โ 238.30 / 243.63 ยฑ6.63 / 256.42 ms โ no change โ
โ QQuery 68 โ 12.00 / 13.92 ยฑ2.61 / 18.97 ms โ 11.86 / 12.01 ยฑ0.22 / 12.45 ms โ +1.16x faster โ
โ QQuery 69 โ 58.04 / 58.41 ยฑ0.40 / 59.13 ms โ 57.77 / 58.94 ยฑ1.89 / 62.71 ms โ no change โ
โ QQuery 70 โ 108.10 / 109.67 ยฑ1.58 / 111.61 ms โ 106.91 / 108.58 ยฑ1.79 / 111.88 ms โ no change โ
โ QQuery 71 โ 35.88 / 37.41 ยฑ2.37 / 42.13 ms โ 35.36 / 35.76 ยฑ0.30 / 36.27 ms โ no change โ
โ QQuery 72 โ 2174.21 / 2241.68 ยฑ48.09 / 2320.83 ms โ 2063.75 / 2130.74 ยฑ79.44 / 2278.54 ms โ no change โ
โ QQuery 73 โ 9.61 / 9.89 ยฑ0.34 / 10.54 ms โ 9.72 / 9.96 ยฑ0.19 / 10.26 ms โ no change โ
โ QQuery 74 โ 170.93 / 175.72 ยฑ4.88 / 184.94 ms โ 172.61 / 176.78 ยฑ6.72 / 190.16 ms โ no change โ
โ QQuery 75 โ 149.71 / 150.42 ยฑ0.64 / 151.40 ms โ 148.65 / 150.42 ยฑ1.96 / 153.67 ms โ no change โ
โ QQuery 76 โ 36.07 / 36.82 ยฑ0.59 / 37.86 ms โ 35.61 / 36.63 ยฑ0.77 / 37.87 ms โ no change โ
โ QQuery 77 โ 61.75 / 62.16 ยฑ0.30 / 62.65 ms โ 61.50 / 62.09 ยฑ0.69 / 63.43 ms โ no change โ
โ QQuery 78 โ 201.53 / 206.69 ยฑ8.25 / 223.15 ms โ 199.45 / 202.02 ยฑ1.73 / 204.50 ms โ no change โ
โ QQuery 79 โ 68.15 / 68.72 ยฑ0.40 / 69.30 ms โ 67.93 / 68.19 ยฑ0.21 / 68.55 ms โ no change โ
โ QQuery 80 โ 101.32 / 102.78 ยฑ1.16 / 104.52 ms โ 100.84 / 102.00 ยฑ0.96 / 103.10 ms โ no change โ
โ QQuery 81 โ 26.19 / 26.64 ยฑ0.25 / 26.93 ms โ 25.85 / 26.02 ยฑ0.10 / 26.16 ms โ no change โ
โ QQuery 82 โ 16.81 / 17.34 ยฑ0.70 / 18.69 ms โ 16.67 / 16.78 ยฑ0.07 / 16.88 ms โ no change โ
โ QQuery 83 โ 40.46 / 40.64 ยฑ0.25 / 41.12 ms โ 40.15 / 40.63 ยฑ0.37 / 41.10 ms โ no change โ
โ QQuery 84 โ 30.65 / 30.92 ยฑ0.15 / 31.07 ms โ 30.01 / 31.94 ยฑ2.73 / 37.22 ms โ no change โ
โ QQuery 85 โ 106.60 / 109.29 ยฑ2.87 / 114.81 ms โ 107.12 / 107.78 ยฑ0.57 / 108.59 ms โ no change โ
โ QQuery 86 โ 25.44 / 26.43 ยฑ1.69 / 29.79 ms โ 26.12 / 26.43 ยฑ0.24 / 26.73 ms โ no change โ
โ QQuery 87 โ 62.70 / 63.17 ยฑ0.63 / 64.41 ms โ 62.76 / 65.00 ยฑ3.74 / 72.45 ms โ no change โ
โ QQuery 88 โ 63.75 / 64.77 ยฑ1.17 / 67.00 ms โ 63.72 / 64.00 ยฑ0.22 / 64.37 ms โ no change โ
โ QQuery 89 โ 36.14 / 36.90 ยฑ0.77 / 38.25 ms โ 36.26 / 37.04 ยฑ0.56 / 37.77 ms โ no change โ
โ QQuery 90 โ 17.33 / 17.51 ยฑ0.15 / 17.75 ms โ 17.23 / 17.34 ยฑ0.12 / 17.56 ms โ no change โ
โ QQuery 91 โ 46.23 / 46.66 ยฑ0.29 / 47.01 ms โ 46.00 / 46.42 ยฑ0.40 / 47.13 ms โ no change โ
โ QQuery 92 โ 29.97 / 30.36 ยฑ0.38 / 30.83 ms โ 29.40 / 32.14 ยฑ4.16 / 40.35 ms โ 1.06x slower โ
โ QQuery 93 โ 51.42 / 52.13 ยฑ0.84 / 53.73 ms โ 51.88 / 52.97 ยฑ0.87 / 54.48 ms โ no change โ
โ QQuery 94 โ 38.36 / 39.04 ยฑ0.49 / 39.89 ms โ 38.26 / 38.77 ยฑ0.32 / 39.20 ms โ no change โ
โ QQuery 95 โ 81.00 / 81.44 ยฑ0.45 / 82.27 ms โ 80.54 / 81.32 ยฑ0.72 / 82.64 ms โ no change โ
โ QQuery 96 โ 24.61 / 24.73 ยฑ0.10 / 24.87 ms โ 24.44 / 24.66 ยฑ0.20 / 25.00 ms โ no change โ
โ QQuery 97 โ 47.65 / 49.49 ยฑ2.58 / 54.56 ms โ 47.94 / 50.76 ยฑ4.32 / 59.19 ms โ no change โ
โ QQuery 98 โ 42.68 / 43.77 ยฑ0.89 / 44.87 ms โ 43.22 / 43.67 ยฑ0.58 / 44.75 ms โ no change โ
โ QQuery 99 โ 71.85 / 72.36 ยฑ0.41 / 72.99 ms โ 71.41 / 71.77 ยฑ0.30 / 72.23 ms โ no change โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 10168.75ms โ
โ Total Time (gabotechs_reuse-hashes) โ 9970.25ms โ
โ Average Time (HEAD) โ 102.71ms โ
โ Average Time (gabotechs_reuse-hashes) โ 100.71ms โ
โ Queries Faster โ 8 โ
โ Queries Slower โ 5 โ
โ Queries with No Change โ 86 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpcds โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 55.0s |
| Peak memory | 2.3 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 226.9s |
| CPU sys | 6.2s |
| Peak spill | 0 B |
**tpcds โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 55.0s |
| Peak memory | 2.0 GiB |
| Avg memory | 1.4 GiB |
| CPU user | 224.7s |
| CPU sys | 6.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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5093638134
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5093608330)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5093608330-1274-rnlbm 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (af01982d0c69b5483628ae80156f4c67ab931f21) to e8a65f2 (merge-base) [diff](https://github.com/apache/datafusion/compare/e8a65f2d6f24afa75192fc63aca38011ede88800..af01982d0c69b5483628ae80156f4c67ab931f21) using: tpch10
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5093630348
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5093608330)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5093608330-1275-l9nlj 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (af01982d0c69b5483628ae80156f4c67ab931f21) to e8a65f2 (merge-base) [diff](https://github.com/apache/datafusion/compare/e8a65f2d6f24afa75192fc63aca38011ede88800..af01982d0c69b5483628ae80156f4c67ab931f21) using: tpcds
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5036939945
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5036714325)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark clickbench_partitioned.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 0 โ 1.24 / 4.05 ยฑ5.49 / 15.03 ms โ 1.26 / 4.17 ยฑ5.67 / 15.51 ms โ no change โ
โ QQuery 1 โ 12.86 / 13.11 ยฑ0.17 / 13.36 ms โ 13.01 / 13.57 ยฑ0.29 / 13.80 ms โ no change โ
โ QQuery 2 โ 35.93 / 36.33 ยฑ0.33 / 36.85 ms โ 36.71 / 37.03 ยฑ0.32 / 37.62 ms โ no change โ
โ QQuery 3 โ 31.03 / 31.57 ยฑ0.61 / 32.76 ms โ 31.87 / 33.02 ยฑ0.72 / 33.88 ms โ no change โ
โ QQuery 4 โ 227.12 / 230.43 ยฑ3.06 / 234.24 ms โ 244.35 / 246.36 ยฑ1.56 / 248.76 ms โ 1.07x slower โ
โ QQuery 5 โ 271.50 / 276.25 ยฑ2.57 / 278.59 ms โ 282.59 / 286.69 ยฑ3.04 / 290.68 ms โ no change โ
โ QQuery 6 โ 1.29 / 1.44 ยฑ0.23 / 1.89 ms โ 1.31 / 1.47 ยฑ0.23 / 1.93 ms โ no change โ
โ QQuery 7 โ 14.08 / 14.37 ยฑ0.17 / 14.58 ms โ 14.57 / 16.24 ยฑ2.76 / 21.75 ms โ 1.13x slower โ
โ QQuery 8 โ 325.49 / 332.02 ยฑ3.37 / 334.81 ms โ 345.23 / 349.83 ยฑ3.33 / 353.33 ms โ 1.05x slower โ
โ QQuery 9 โ 471.82 / 476.26 ยฑ3.67 / 482.97 ms โ 492.53 / 514.41 ยฑ16.25 / 538.91 ms โ 1.08x slower โ
โ QQuery 10 โ 69.91 / 70.37 ยฑ0.43 / 70.94 ms โ 74.49 / 75.48 ยฑ0.67 / 76.26 ms โ 1.07x slower โ
โ QQuery 11 โ 81.06 / 84.81 ยฑ3.68 / 91.44 ms โ 85.67 / 87.08 ยฑ0.90 / 88.38 ms โ no change โ
โ QQuery 12 โ 273.79 / 276.46 ยฑ4.09 / 284.48 ms โ 281.99 / 290.69 ยฑ5.58 / 298.09 ms โ 1.05x slower โ
โ QQuery 13 โ 372.20 / 387.45 ยฑ9.63 / 400.62 ms โ 383.01 / 395.33 ยฑ13.62 / 420.53 ms โ no change โ
โ QQuery 14 โ 286.84 / 293.10 ยฑ6.16 / 303.87 ms โ 298.01 / 300.55 ยฑ3.56 / 307.59 ms โ no change โ
โ QQuery 15 โ 278.28 / 289.13 ยฑ8.91 / 304.52 ms โ 313.40 / 330.56 ยฑ12.33 / 351.13 ms โ 1.14x slower โ
โ QQuery 16 โ 618.30 / 627.89 ยฑ8.32 / 643.21 ms โ 649.44 / 671.44 ยฑ29.13 / 727.19 ms โ 1.07x slower โ
โ QQuery 17 โ 621.03 / 631.85 ยฑ7.50 / 641.91 ms โ 638.76 / 657.39 ยฑ11.25 / 670.38 ms โ no change โ
โ QQuery 18 โ 1276.46 / 1293.92 ยฑ14.11 / 1311.91 ms โ 1299.60 / 1335.35 ยฑ30.21 / 1383.54 ms โ no change โ
โ QQuery 19 โ 28.34 / 28.76 ยฑ0.57 / 29.84 ms โ 29.27 / 33.57 ยฑ6.52 / 46.41 ms โ 1.17x slower โ
โ QQuery 20 โ 516.19 / 526.90 ยฑ9.53 / 543.80 ms โ 521.36 / 525.95 ยฑ3.47 / 530.33 ms โ no change โ
โ QQuery 21 โ 517.27 / 525.17 ยฑ6.88 / 535.98 ms โ 520.13 / 524.04 ยฑ2.80 / 528.51 ms โ no change โ
โ QQuery 22 โ 1007.52 / 1017.32 ยฑ8.61 / 1031.26 ms โ 1042.02 / 1064.68 ยฑ15.52 / 1086.25 ms โ no change โ
โ QQuery 23 โ 3099.05 / 3144.83 ยฑ28.63 / 3187.64 ms โ 3145.28 / 3164.70 ยฑ17.46 / 3196.28 ms โ no change โ
โ QQuery 24 โ 42.05 / 44.07 ยฑ2.42 / 47.86 ms โ 41.74 / 42.67 ยฑ1.02 / 44.50 ms โ no change โ
โ QQuery 25 โ 111.61 / 112.97 ยฑ1.78 / 116.40 ms โ 115.08 / 119.54 ยฑ7.17 / 133.81 ms โ 1.06x slower โ
โ QQuery 26 โ 42.60 / 44.29 ยฑ2.34 / 48.87 ms โ 42.68 / 44.31 ยฑ1.73 / 47.58 ms โ no change โ
โ QQuery 27 โ 514.12 / 518.69 ยฑ4.72 / 527.39 ms โ 533.34 / 541.76 ยฑ6.31 / 552.78 ms โ no change โ
โ QQuery 28 โ 2898.30 / 2913.48 ยฑ8.78 / 2922.61 ms โ 2986.68 / 3006.88 ยฑ20.60 / 3043.67 ms โ no change โ
โ QQuery 29 โ 41.29 / 46.93 ยฑ10.98 / 68.89 ms โ 42.30 / 47.06 ยฑ7.18 / 61.00 ms โ no change โ
โ QQuery 30 โ 302.85 / 313.64 ยฑ7.61 / 325.16 ms โ 316.60 / 323.97 ยฑ6.06 / 335.03 ms โ no change โ
โ QQuery 31 โ 287.06 / 302.98 ยฑ18.26 / 338.68 ms โ 300.15 / 315.15 ยฑ12.97 / 333.82 ms โ no change โ
โ QQuery 32 โ 927.07 / 949.15 ยฑ15.80 / 967.56 ms โ 992.60 / 1022.79 ยฑ37.70 / 1095.75 ms โ 1.08x slower โ
โ QQuery 33 โ 1466.19 / 1501.57 ยฑ28.02 / 1542.13 ms โ 1540.13 / 1554.55 ยฑ17.11 / 1585.76 ms โ no change โ
โ QQuery 34 โ 1531.41 / 1587.35 ยฑ46.72 / 1670.88 ms โ 1571.26 / 1606.34 ยฑ55.19 / 1716.26 ms โ no change โ
โ QQuery 35 โ 297.66 / 341.98 ยฑ68.51 / 478.08 ms โ 322.24 / 383.52 ยฑ63.03 / 483.73 ms โ 1.12x slower โ
โ QQuery 36 โ 69.33 / 72.88 ยฑ3.44 / 79.00 ms โ 68.43 / 70.61 ยฑ2.30 / 73.46 ms โ no change โ
โ QQuery 37 โ 37.46 / 41.10 ยฑ2.54 / 44.90 ms โ 37.09 / 43.27 ยฑ7.94 / 58.40 ms โ 1.05x slower โ
โ QQuery 38 โ 41.34 / 46.17 ยฑ3.46 / 49.68 ms โ 44.33 / 52.12 ยฑ9.70 / 70.73 ms โ 1.13x slower โ
โ QQuery 39 โ 138.47 / 152.91 ยฑ7.78 / 160.40 ms โ 141.11 / 156.93 ยฑ10.21 / 166.69 ms โ no change โ
โ QQuery 40 โ 15.13 / 15.47 ยฑ0.34 / 16.04 ms โ 15.45 / 16.65 ยฑ2.03 / 20.69 ms โ 1.08x slower โ
โ QQuery 41 โ 14.70 / 17.61 ยฑ3.53 / 21.96 ms โ 14.44 / 15.33 ยฑ1.05 / 17.28 ms โ +1.15x faster โ
โ QQuery 42 โ 13.90 / 14.08 ยฑ0.15 / 14.33 ms โ 14.45 / 17.80 ยฑ4.13 / 24.45 ms โ 1.26x slower โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 19651.13ms โ
โ Total Time (gabotechs_reuse-hashes) โ 20340.86ms โ
โ Average Time (HEAD) โ 457.00ms โ
โ Average Time (gabotechs_reuse-hashes) โ 473.04ms โ
โ Queries Faster โ 1 โ
โ Queries Slower โ 16 โ
โ Queries with No Change โ 26 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**clickbench_partitioned โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 10.7 GiB |
| Avg memory | 4.5 GiB |
| CPU user | 1007.2s |
| CPU sys | 69.1s |
| Peak spill | 0 B |
**clickbench_partitioned โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 105.0s |
| Peak memory | 11.4 GiB |
| Avg memory | 4.5 GiB |
| CPU user | 1032.1s |
| CPU sys | 75.8s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5036383421
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5036356795)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5036356795-1211-7922d 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (bf28ff4fee43eadd3c4d3737b821e46990647cea) to d0304b3 (merge-base) [diff](https://github.com/apache/datafusion/compare/d0304b3ff5fc1ccc47106384437232d54c462d46..bf28ff4fee43eadd3c4d3737b821e46990647cea) using: clickbench_partitioned
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5104141874
After trying several things out, and a lot of profiling, I don't think it's worth pursuing this.
Some things that I've tried:
- Only reusing hashes on non-primitive columns
- Ensuring at planning hash propagation machinery only triggers where it makes sense
- Always threading around the reused hashes as Arrow's Uint64Array instead of converting from Vec<u8>
The performance gains are so small that, even if they can be replicated locally, they fall within the typical noise of the benchmarks.
Looking at profiles, the % of CPU samples we can save by reusing hashes looks something like this:
TPCH-SF10: 1.3% -> 1.3% of CPU time hashing. Almost no saves, because hashes are mainly over primitive types, or because hashing the first time dominates massively, as Aggregate(partial) compresses a lot.
ClickBench: 3.3% -> 1.9% of CPU time hashing. It's something, but not enough show up in any benchmark.
So my conclusion is that, unless we come up with specific workloads where hashing demonstrates to be a bottleneck, I don't think the complexity is worth it.
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5032284181
run benchmarks tpch10 tpcds clickbench_partitioned
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5032309755
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5032284181)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5032284181-1200-2wcmb 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (7d64c1dfa41394e7ff149c6342fb1a3ce207af29) to d0304b3 (merge-base) [diff](https://github.com/apache/datafusion/compare/d0304b3ff5fc1ccc47106384437232d54c462d46..7d64c1dfa41394e7ff149c6342fb1a3ce207af29) using: tpcds
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5090854156
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5090830463)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5090830463-1271-rncfh 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (842267cc321dc1d4704d3a3cf935c7966da7cc6d) to e8a65f2 (merge-base) [diff](https://github.com/apache/datafusion/compare/e8a65f2d6f24afa75192fc63aca38011ede88800..842267cc321dc1d4704d3a3cf935c7966da7cc6d) using: tpch10
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs closed pull request #23720: Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final)
URL: https://github.com/apache/datafusion/pull/23720
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5093840970
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5093608330)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark clickbench_partitioned.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 0 โ 1.26 / 3.98 ยฑ5.34 / 14.66 ms โ 1.27 / 4.14 ยฑ5.58 / 15.29 ms โ no change โ
โ QQuery 1 โ 12.49 / 12.87 ยฑ0.21 / 13.13 ms โ 13.65 / 13.95 ยฑ0.17 / 14.11 ms โ 1.08x slower โ
โ QQuery 2 โ 36.11 / 36.53 ยฑ0.25 / 36.82 ms โ 38.49 / 38.99 ยฑ0.53 / 40.01 ms โ 1.07x slower โ
โ QQuery 3 โ 30.93 / 31.37 ยฑ0.53 / 32.37 ms โ 31.22 / 31.64 ยฑ0.25 / 31.99 ms โ no change โ
โ QQuery 4 โ 222.00 / 226.06 ยฑ2.58 / 228.28 ms โ 231.67 / 235.12 ยฑ2.54 / 239.51 ms โ no change โ
โ QQuery 5 โ 271.55 / 273.96 ยฑ1.97 / 276.73 ms โ 268.65 / 272.73 ยฑ2.66 / 276.77 ms โ no change โ
โ QQuery 6 โ 1.31 / 1.46 ยฑ0.22 / 1.89 ms โ 1.29 / 1.45 ยฑ0.23 / 1.91 ms โ no change โ
โ QQuery 7 โ 13.70 / 13.95 ยฑ0.23 / 14.36 ms โ 14.89 / 15.02 ยฑ0.09 / 15.12 ms โ 1.08x slower โ
โ QQuery 8 โ 324.59 / 326.67 ยฑ1.50 / 329.29 ms โ 327.93 / 334.12 ยฑ3.44 / 338.01 ms โ no change โ
โ QQuery 9 โ 452.32 / 460.10 ยฑ10.42 / 480.34 ms โ 469.85 / 480.23 ยฑ8.61 / 495.52 ms โ no change โ
โ QQuery 10 โ 68.75 / 69.63 ยฑ0.68 / 70.60 ms โ 70.28 / 72.58 ยฑ3.68 / 79.85 ms โ no change โ
โ QQuery 11 โ 81.15 / 82.79 ยฑ1.15 / 84.75 ms โ 82.45 / 82.91 ยฑ0.39 / 83.56 ms โ no change โ
โ QQuery 12 โ 264.47 / 269.53 ยฑ4.91 / 277.98 ms โ 263.08 / 269.69 ยฑ7.27 / 283.14 ms โ no change โ
โ QQuery 13 โ 362.21 / 369.65 ยฑ4.95 / 376.11 ms โ 353.21 / 369.09 ยฑ13.80 / 386.72 ms โ no change โ
โ QQuery 14 โ 280.40 / 284.72 ยฑ6.87 / 298.36 ms โ 277.44 / 283.79 ยฑ3.72 / 288.61 ms โ no change โ
โ QQuery 15 โ 274.57 / 278.48 ยฑ3.92 / 285.09 ms โ 275.88 / 282.64 ยฑ4.50 / 288.29 ms โ no change โ
โ QQuery 16 โ 607.83 / 619.24 ยฑ8.32 / 631.84 ms โ 607.66 / 616.67 ยฑ7.30 / 626.46 ms โ no change โ
โ QQuery 17 โ 613.12 / 622.04 ยฑ7.38 / 633.44 ms โ 613.14 / 624.10 ยฑ12.72 / 647.40 ms โ no change โ
โ QQuery 18 โ 1238.05 / 1257.02 ยฑ13.87 / 1274.08 ms โ 1240.03 / 1268.98 ยฑ15.73 / 1283.02 ms โ no change โ
โ QQuery 19 โ 28.03 / 28.97 ยฑ0.91 / 30.48 ms โ 28.83 / 44.84 ยฑ12.10 / 64.61 ms โ 1.55x slower โ
โ QQuery 20 โ 512.88 / 523.15 ยฑ11.26 / 544.08 ms โ 518.01 / 530.59 ยฑ13.07 / 552.85 ms โ no change โ
โ QQuery 21 โ 511.73 / 517.93 ยฑ4.79 / 523.78 ms โ 513.21 / 525.98 ยฑ8.30 / 538.69 ms โ no change โ
โ QQuery 22 โ 981.02 / 996.84 ยฑ12.94 / 1016.05 ms โ 985.95 / 991.49 ยฑ5.87 / 1002.47 ms โ no change โ
โ QQuery 23 โ 3020.58 / 3079.93 ยฑ37.92 / 3137.98 ms โ 3032.37 / 3085.45 ยฑ34.77 / 3126.52 ms โ no change โ
โ QQuery 24 โ 40.71 / 41.33 ยฑ0.53 / 42.26 ms โ 41.71 / 50.10 ยฑ9.27 / 64.44 ms โ 1.21x slower โ
โ QQuery 25 โ 111.90 / 115.83 ยฑ5.62 / 126.82 ms โ 112.28 / 115.89 ยฑ5.97 / 127.77 ms โ no change โ
โ QQuery 26 โ 41.67 / 43.24 ยฑ1.85 / 45.85 ms โ 41.77 / 45.05 ยฑ5.16 / 55.31 ms โ no change โ
โ QQuery 27 โ 513.40 / 519.98 ยฑ4.75 / 527.50 ms โ 520.84 / 525.73 ยฑ3.78 / 531.00 ms โ no change โ
โ QQuery 28 โ 2876.72 / 2900.71 ยฑ16.23 / 2922.62 ms โ 2903.48 / 2938.05 ยฑ32.08 / 2988.53 ms โ no change โ
โ QQuery 29 โ 41.58 / 47.08 ยฑ6.60 / 56.16 ms โ 41.74 / 45.39 ยฑ6.11 / 57.57 ms โ no change โ
โ QQuery 30 โ 302.99 / 308.31 ยฑ3.24 / 312.25 ms โ 302.63 / 311.49 ยฑ7.39 / 324.99 ms โ no change โ
โ QQuery 31 โ 284.55 / 298.67 ยฑ11.63 / 317.93 ms โ 286.47 / 294.63 ยฑ5.31 / 302.76 ms โ no change โ
โ QQuery 32 โ 931.88 / 943.08 ยฑ9.29 / 954.33 ms โ 942.14 / 976.63 ยฑ25.74 / 1012.05 ms โ no change โ
โ QQuery 33 โ 1453.57 / 1467.05 ยฑ8.78 / 1480.32 ms โ 1437.28 / 1455.98 ยฑ12.35 / 1470.82 ms โ no change โ
โ QQuery 34 โ 1470.86 / 1490.72 ยฑ19.52 / 1525.91 ms โ 1450.52 / 1491.65 ยฑ37.89 / 1536.95 ms โ no change โ
โ QQuery 35 โ 282.67 / 304.48 ยฑ27.01 / 355.32 ms โ 287.92 / 320.62 ยฑ33.20 / 375.88 ms โ 1.05x slower โ
โ QQuery 36 โ 68.11 / 75.60 ยฑ5.58 / 83.13 ms โ 65.44 / 67.67 ยฑ1.27 / 69.21 ms โ +1.12x faster โ
โ QQuery 37 โ 36.25 / 36.52 ยฑ0.15 / 36.69 ms โ 37.34 / 39.91 ยฑ3.73 / 47.23 ms โ 1.09x slower โ
โ QQuery 38 โ 42.91 / 46.39 ยฑ2.22 / 48.43 ms โ 40.66 / 45.28 ยฑ4.44 / 52.17 ms โ no change โ
โ QQuery 39 โ 151.16 / 155.75 ยฑ4.39 / 164.05 ms โ 140.95 / 154.35 ยฑ11.72 / 170.39 ms โ no change โ
โ QQuery 40 โ 14.56 / 16.31 ยฑ3.13 / 22.58 ms โ 15.00 / 19.09 ยฑ4.73 / 26.33 ms โ 1.17x slower โ
โ QQuery 41 โ 14.05 / 14.35 ยฑ0.22 / 14.71 ms โ 14.11 / 16.63 ยฑ4.97 / 26.56 ms โ 1.16x slower โ
โ QQuery 42 โ 13.71 / 19.05 ยฑ10.56 / 40.18 ms โ 13.88 / 14.97 ยฑ1.83 / 18.62 ms โ +1.27x faster โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 19231.32ms โ
โ Total Time (gabotechs_reuse-hashes) โ 19405.31ms โ
โ Average Time (HEAD) โ 447.24ms โ
โ Average Time (gabotechs_reuse-hashes) โ 451.29ms โ
โ Queries Faster โ 2 โ
โ Queries Slower โ 9 โ
โ Queries with No Change โ 32 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**clickbench_partitioned โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 12.1 GiB |
| Avg memory | 4.7 GiB |
| CPU user | 992.5s |
| CPU sys | 66.2s |
| Peak spill | 0 B |
**clickbench_partitioned โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 11.6 GiB |
| Avg memory | 4.5 GiB |
| CPU user | 990.2s |
| CPU sys | 70.5s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5093801664
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5093608330)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark tpch_sf10.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 1 โ 327.57 / 329.37 ยฑ1.37 / 331.48 ms โ 313.97 / 315.56 ยฑ1.18 / 317.51 ms โ no change โ
โ QQuery 2 โ 109.56 / 112.96 ยฑ4.10 / 120.88 ms โ 100.85 / 107.13 ยฑ4.45 / 113.99 ms โ +1.05x faster โ
โ QQuery 3 โ 254.58 / 256.13 ยฑ1.32 / 258.38 ms โ 232.95 / 238.43 ยฑ3.35 / 242.92 ms โ +1.07x faster โ
โ QQuery 4 โ 122.90 / 124.87 ยฑ3.30 / 131.43 ms โ 113.38 / 117.36 ยฑ2.89 / 122.30 ms โ +1.06x faster โ
โ QQuery 5 โ 388.65 / 396.38 ยฑ6.14 / 405.52 ms โ 341.69 / 375.30 ยฑ23.57 / 403.34 ms โ +1.06x faster โ
โ QQuery 6 โ 133.30 / 134.95 ยฑ1.06 / 136.42 ms โ 137.16 / 141.02 ยฑ4.99 / 150.89 ms โ no change โ
โ QQuery 7 โ 522.79 / 535.65 ยฑ7.95 / 544.92 ms โ 458.18 / 486.35 ยฑ32.79 / 549.58 ms โ +1.10x faster โ
โ QQuery 8 โ 411.69 / 416.26 ยฑ3.80 / 420.41 ms โ 382.32 / 390.09 ยฑ4.50 / 395.08 ms โ +1.07x faster โ
โ QQuery 9 โ 555.17 / 584.01 ยฑ22.26 / 620.38 ms โ 550.56 / 559.46 ยฑ9.84 / 577.55 ms โ no change โ
โ QQuery 10 โ 309.23 / 314.96 ยฑ3.47 / 319.21 ms โ 301.09 / 307.48 ยฑ7.97 / 323.11 ms โ no change โ
โ QQuery 11 โ 83.82 / 87.16 ยฑ2.13 / 90.20 ms โ 83.10 / 88.75 ยฑ4.75 / 96.70 ms โ no change โ
โ QQuery 12 โ 177.44 / 182.82 ยฑ6.51 / 195.09 ms โ 176.92 / 184.00 ยฑ9.26 / 202.25 ms โ no change โ
โ QQuery 13 โ 285.36 / 295.40 ยฑ9.46 / 310.60 ms โ 289.41 / 297.00 ยฑ4.37 / 302.57 ms โ no change โ
โ QQuery 14 โ 173.51 / 176.39 ยฑ3.85 / 183.99 ms โ 169.84 / 173.51 ยฑ4.44 / 182.23 ms โ no change โ
โ QQuery 15 โ 302.61 / 304.69 ยฑ1.40 / 306.31 ms โ 301.72 / 305.56 ยฑ4.31 / 313.77 ms โ no change โ
โ QQuery 16 โ 63.35 / 65.52 ยฑ2.19 / 69.33 ms โ 63.84 / 67.16 ยฑ3.29 / 72.62 ms โ no change โ
โ QQuery 17 โ 619.96 / 678.60 ยฑ62.24 / 765.75 ms โ 631.02 / 657.60 ยฑ34.78 / 725.72 ms โ no change โ
โ QQuery 18 โ 674.78 / 694.46 ยฑ12.51 / 709.12 ms โ 805.13 / 819.24 ยฑ11.01 / 837.56 ms โ 1.18x slower โ
โ QQuery 19 โ 245.66 / 258.02 ยฑ14.54 / 282.90 ms โ 258.59 / 277.16 ยฑ14.82 / 293.04 ms โ 1.07x slower โ
โ QQuery 20 โ 290.85 / 298.33 ยฑ8.31 / 312.96 ms โ 302.09 / 310.51 ยฑ7.59 / 323.08 ms โ no change โ
โ QQuery 21 โ 648.27 / 658.77 ยฑ9.08 / 672.51 ms โ 739.51 / 746.28 ยฑ4.29 / 751.47 ms โ 1.13x slower โ
โ QQuery 22 โ 59.75 / 61.33 ยฑ1.00 / 62.58 ms โ 65.57 / 69.05 ยฑ4.04 / 76.80 ms โ 1.13x slower โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 6967.02ms โ
โ Total Time (gabotechs_reuse-hashes) โ 7033.99ms โ
โ Average Time (HEAD) โ 316.68ms โ
โ Average Time (gabotechs_reuse-hashes) โ 319.73ms โ
โ Queries Faster โ 6 โ
โ Queries Slower โ 4 โ
โ Queries with No Change โ 12 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpch10 โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 35.0s |
| Peak memory | 5.0 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 345.0s |
| CPU sys | 19.9s |
| Peak spill | 0 B |
**tpch10 โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 40.0s |
| Peak memory | 4.8 GiB |
| Avg memory | 1.3 GiB |
| CPU user | 356.7s |
| CPU sys | 20.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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] gabotechs/reuse-hashes [datafusion]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021309364
## [Codecov](https://app.codecov.io/gh/apache/datafusion/pull/23720?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:x: Patch coverage is `86.70788%` with `86 lines` in your changes missing coverage. Please review.
:warning: Please [upload](https://docs.codecov.com/docs/codecov-uploader) report for BASE (`main@d0304b3`). [Learn more](https://docs.codecov.io/docs/error-reference?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#section-missing-base-commit) about missing BASE report.
| [Files with missing lines](https://app.codecov.io/gh/apache/datafusion/pull/23720?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [datafusion/physical-plan/src/aggregates/mod.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Faggregates%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9hZ2dyZWdhdGVzL21vZC5ycw==) | 84.30% | [5 Missing and 22 partials :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [...c/aggregates/aggregate\_hash\_table/partial\_table.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Faggregates%2Faggregate_hash_table%2Fpartial_table.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9hZ2dyZWdhdGVzL2FnZ3JlZ2F0ZV9oYXNoX3RhYmxlL3BhcnRpYWxfdGFibGUucnM=) | 46.42% | [13 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [datafusion/physical-plan/src/display.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Fdisplay.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9kaXNwbGF5LnJz) | 60.00% | [11 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [...hysical-plan/src/aggregates/grouped\_hash\_stream.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Faggregates%2Fgrouped_hash_stream.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9hZ2dyZWdhdGVzL2dyb3VwZWRfaGFzaF9zdHJlYW0ucnM=) | 86.56% | [3 Missing and 6 partials :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [datafusion/physical-plan/src/repartition/mod.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Frepartition%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9yZXBhcnRpdGlvbi9tb2QucnM=) | 66.66% | [5 Missing :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [datafusion/physical-plan/src/repartition/hash.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Frepartition%2Fhash.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9yZXBhcnRpdGlvbi9oYXNoLnJz) | 96.80% | [1 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [...plan/src/aggregates/aggregate\_hash\_table/common.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Faggregates%2Faggregate_hash_table%2Fcommon.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9hZ2dyZWdhdGVzL2FnZ3JlZ2F0ZV9oYXNoX3RhYmxlL2NvbW1vbi5ycw==) | 94.59% | [1 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [.../aggregates/aggregate\_hash\_table/common\_ordered.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Faggregates%2Faggregate_hash_table%2Fcommon_ordered.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9hZ2dyZWdhdGVzL2FnZ3JlZ2F0ZV9oYXNoX3RhYmxlL2NvbW1vbl9vcmRlcmVkLnJz) | 94.87% | [1 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [...c/aggregates/group\_values/single\_group\_by/bytes.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Faggregates%2Fgroup_values%2Fsingle_group_by%2Fbytes.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9hZ2dyZWdhdGVzL2dyb3VwX3ZhbHVlcy9zaW5nbGVfZ3JvdXBfYnkvYnl0ZXMucnM=) | 83.33% | [0 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [...regates/group\_values/single\_group\_by/bytes\_view.rs](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&filepath=datafusion%2Fphysical-plan%2Fsrc%2Faggregates%2Fgroup_values%2Fsingle_group_by%2Fbytes_view.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-ZGF0YWZ1c2lvbi9waHlzaWNhbC1wbGFuL3NyYy9hZ2dyZWdhdGVzL2dyb3VwX3ZhbHVlcy9zaW5nbGVfZ3JvdXBfYnkvYnl0ZXNfdmlldy5ycw==) | 71.42% | [0 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| ... and [5 more](https://app.codecov.io/gh/apache/datafusion/pull/23720?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | |
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #23720 +/- ##
=======================================
Coverage ? 80.72%
=======================================
Files ? 1089
Lines ? 368388
Branches ? 368388
=======================================
Hits ? 297383
Misses ? 53257
Partials ? 17748
```
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/datafusion/pull/23720?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5032457902
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5032284181)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark tpcds_sf1.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 1 โ 5.29 / 5.86 ยฑ0.95 / 7.75 ms โ 5.38 / 5.86 ยฑ0.88 / 7.61 ms โ no change โ
โ QQuery 2 โ 80.72 / 80.99 ยฑ0.18 / 81.26 ms โ 81.26 / 81.81 ยฑ0.33 / 82.15 ms โ no change โ
โ QQuery 3 โ 29.86 / 30.18 ยฑ0.29 / 30.72 ms โ 29.68 / 29.92 ยฑ0.24 / 30.37 ms โ no change โ
โ QQuery 4 โ 501.40 / 504.86 ยฑ2.31 / 508.11 ms โ 499.41 / 504.40 ยฑ3.76 / 508.86 ms โ no change โ
โ QQuery 5 โ 52.16 / 52.53 ยฑ0.45 / 53.32 ms โ 51.99 / 52.56 ยฑ0.43 / 53.13 ms โ no change โ
โ QQuery 6 โ 36.67 / 37.13 ยฑ0.45 / 37.96 ms โ 36.89 / 37.10 ยฑ0.17 / 37.31 ms โ no change โ
โ QQuery 7 โ 95.08 / 96.67 ยฑ1.79 / 99.82 ms โ 94.98 / 96.49 ยฑ1.97 / 100.38 ms โ no change โ
โ QQuery 8 โ 37.13 / 37.55 ยฑ0.32 / 38.05 ms โ 37.91 / 38.07 ยฑ0.13 / 38.28 ms โ no change โ
โ QQuery 9 โ 52.84 / 55.56 ยฑ2.49 / 59.79 ms โ 51.46 / 53.52 ยฑ1.54 / 56.09 ms โ no change โ
โ QQuery 10 โ 63.91 / 64.41 ยฑ0.40 / 64.90 ms โ 64.29 / 64.77 ยฑ0.43 / 65.31 ms โ no change โ
โ QQuery 11 โ 313.45 / 317.74 ยฑ3.73 / 322.57 ms โ 308.83 / 314.90 ยฑ4.00 / 321.41 ms โ no change โ
โ QQuery 12 โ 28.78 / 29.01 ยฑ0.18 / 29.32 ms โ 29.13 / 29.25 ยฑ0.10 / 29.40 ms โ no change โ
โ QQuery 13 โ 118.90 / 119.20 ยฑ0.20 / 119.46 ms โ 119.12 / 121.43 ยฑ3.68 / 128.77 ms โ no change โ
โ QQuery 14 โ 418.07 / 421.91 ยฑ5.16 / 432.09 ms โ 418.64 / 424.77 ยฑ4.13 / 431.09 ms โ no change โ
โ QQuery 15 โ 58.44 / 59.58 ยฑ0.80 / 60.35 ms โ 57.83 / 58.43 ยฑ0.58 / 59.37 ms โ no change โ
โ QQuery 16 โ 6.69 / 6.87 ยฑ0.19 / 7.24 ms โ 6.45 / 6.59 ยฑ0.22 / 7.02 ms โ no change โ
โ QQuery 17 โ 81.12 / 81.95 ยฑ1.19 / 84.31 ms โ 81.18 / 82.58 ยฑ0.99 / 83.78 ms โ no change โ
โ QQuery 18 โ 124.99 / 127.13 ยฑ2.78 / 132.60 ms โ 123.44 / 126.39 ยฑ3.06 / 132.12 ms โ no change โ
โ QQuery 19 โ 42.26 / 43.85 ยฑ2.42 / 48.65 ms โ 41.86 / 42.37 ยฑ0.32 / 42.84 ms โ no change โ
โ QQuery 20 โ 36.26 / 37.02 ยฑ0.80 / 38.54 ms โ 35.83 / 37.57 ยฑ1.18 / 39.25 ms โ no change โ
โ QQuery 21 โ 17.88 / 18.07 ยฑ0.18 / 18.39 ms โ 17.99 / 18.10 ยฑ0.09 / 18.26 ms โ no change โ
โ QQuery 22 โ 64.73 / 65.39 ยฑ0.72 / 66.45 ms โ 63.05 / 63.69 ยฑ0.58 / 64.57 ms โ no change โ
โ QQuery 23 โ 350.27 / 362.01 ยฑ11.61 / 383.18 ms โ 347.02 / 355.16 ยฑ6.76 / 363.66 ms โ no change โ
โ QQuery 24 โ 226.85 / 228.43 ยฑ0.87 / 229.39 ms โ 226.53 / 231.28 ยฑ6.89 / 244.97 ms โ no change โ
โ QQuery 25 โ 111.47 / 112.88 ยฑ1.16 / 114.82 ms โ 111.13 / 112.42 ยฑ1.12 / 114.49 ms โ no change โ
โ QQuery 26 โ 59.22 / 60.37 ยฑ1.21 / 62.71 ms โ 59.09 / 59.76 ยฑ0.50 / 60.56 ms โ no change โ
โ QQuery 27 โ 6.17 / 6.30 ยฑ0.16 / 6.62 ms โ 6.23 / 6.36 ยฑ0.20 / 6.76 ms โ no change โ
โ QQuery 28 โ 56.91 / 59.79 ยฑ2.29 / 62.22 ms โ 56.40 / 60.17 ยฑ1.91 / 61.70 ms โ no change โ
โ QQuery 29 โ 97.90 / 99.89 ยฑ1.72 / 102.32 ms โ 98.70 / 100.50 ยฑ1.53 / 102.61 ms โ no change โ
โ QQuery 30 โ 33.06 / 33.35 ยฑ0.38 / 34.10 ms โ 33.00 / 33.65 ยฑ0.40 / 34.22 ms โ no change โ
โ QQuery 31 โ 113.03 / 114.36 ยฑ1.26 / 116.67 ms โ 112.95 / 113.69 ยฑ0.56 / 114.25 ms โ no change โ
โ QQuery 32 โ 21.09 / 21.29 ยฑ0.13 / 21.42 ms โ 20.97 / 21.37 ยฑ0.26 / 21.79 ms โ no change โ
โ QQuery 33 โ 37.94 / 38.53 ยฑ0.45 / 39.06 ms โ 38.16 / 39.79 ยฑ1.80 / 43.16 ms โ no change โ
โ QQuery 34 โ 9.85 / 10.29 ยฑ0.36 / 10.89 ms โ 9.86 / 10.15 ยฑ0.36 / 10.82 ms โ no change โ
โ QQuery 35 โ 74.04 / 74.83 ยฑ0.87 / 76.47 ms โ 73.49 / 74.75 ยฑ0.71 / 75.64 ms โ no change โ
โ QQuery 36 โ 5.58 / 5.76 ยฑ0.18 / 6.06 ms โ 5.67 / 5.79 ยฑ0.21 / 6.22 ms โ no change โ
โ QQuery 37 โ 6.78 / 6.91 ยฑ0.09 / 7.04 ms โ 6.77 / 6.83 ยฑ0.06 / 6.92 ms โ no change โ
โ QQuery 38 โ 63.91 / 64.94 ยฑ1.31 / 67.39 ms โ 63.57 / 64.10 ยฑ0.29 / 64.39 ms โ no change โ
โ QQuery 39 โ 91.48 / 92.80 ยฑ1.78 / 96.16 ms โ 91.20 / 91.99 ยฑ0.53 / 92.57 ms โ no change โ
โ QQuery 40 โ 24.00 / 24.11 ยฑ0.08 / 24.21 ms โ 23.62 / 24.05 ยฑ0.27 / 24.44 ms โ no change โ
โ QQuery 41 โ 11.65 / 11.88 ยฑ0.20 / 12.22 ms โ 11.57 / 11.74 ยฑ0.21 / 12.16 ms โ no change โ
โ QQuery 42 โ 24.41 / 24.76 ยฑ0.34 / 25.41 ms โ 24.41 / 24.63 ยฑ0.27 / 25.15 ms โ no change โ
โ QQuery 43 โ 4.89 / 5.07 ยฑ0.22 / 5.51 ms โ 4.90 / 5.04 ยฑ0.20 / 5.42 ms โ no change โ
โ QQuery 44 โ 9.33 / 9.50 ยฑ0.13 / 9.72 ms โ 9.16 / 9.24 ยฑ0.06 / 9.31 ms โ no change โ
โ QQuery 45 โ 39.76 / 41.69 ยฑ1.89 / 45.06 ms โ 38.35 / 40.48 ยฑ1.55 / 42.81 ms โ no change โ
โ QQuery 46 โ 12.02 / 13.09 ยฑ1.38 / 15.78 ms โ 12.45 / 12.81 ยฑ0.28 / 13.15 ms โ no change โ
โ QQuery 47 โ 235.97 / 238.57 ยฑ2.89 / 243.70 ms โ 230.29 / 234.73 ยฑ2.46 / 237.39 ms โ no change โ
โ QQuery 48 โ 96.19 / 96.42 ยฑ0.16 / 96.70 ms โ 96.79 / 97.44 ยฑ0.55 / 98.07 ms โ no change โ
โ QQuery 49 โ 77.07 / 79.37 ยฑ2.93 / 84.88 ms โ 76.77 / 77.45 ยฑ0.61 / 78.58 ms โ no change โ
โ QQuery 50 โ 59.89 / 60.39 ยฑ0.41 / 60.97 ms โ 59.74 / 60.43 ยฑ0.53 / 61.36 ms โ no change โ
โ QQuery 51 โ 90.20 / 93.55 ยฑ3.99 / 101.07 ms โ 91.76 / 92.84 ยฑ0.84 / 93.94 ms โ no change โ
โ QQuery 52 โ 24.64 / 25.01 ยฑ0.47 / 25.84 ms โ 24.51 / 24.59 ยฑ0.05 / 24.66 ms โ no change โ
โ QQuery 53 โ 30.34 / 31.10 ยฑ1.23 / 33.53 ms โ 30.54 / 32.79 ยฑ2.84 / 38.00 ms โ 1.05x slower โ
โ QQuery 54 โ 55.77 / 55.97 ยฑ0.11 / 56.08 ms โ 55.92 / 56.34 ยฑ0.31 / 56.72 ms โ no change โ
โ QQuery 55 โ 23.87 / 24.15 ยฑ0.30 / 24.68 ms โ 23.63 / 24.11 ยฑ0.43 / 24.92 ms โ no change โ
โ QQuery 56 โ 39.32 / 39.58 ยฑ0.36 / 40.30 ms โ 38.98 / 39.71 ยฑ0.47 / 40.38 ms โ no change โ
โ QQuery 57 โ 177.41 / 180.37 ยฑ2.08 / 183.82 ms โ 176.39 / 179.46 ยฑ3.93 / 186.95 ms โ no change โ
โ QQuery 58 โ 117.13 / 119.31 ยฑ1.99 / 122.38 ms โ 115.84 / 117.46 ยฑ2.39 / 122.18 ms โ no change โ
โ QQuery 59 โ 118.60 / 118.90 ยฑ0.28 / 119.23 ms โ 117.88 / 118.48 ยฑ0.44 / 119.00 ms โ no change โ
โ QQuery 60 โ 39.55 / 41.07 ยฑ2.03 / 44.99 ms โ 40.08 / 40.19 ยฑ0.08 / 40.31 ms โ no change โ
โ QQuery 61 โ 12.14 / 12.26 ยฑ0.10 / 12.41 ms โ 11.90 / 12.54 ยฑ0.84 / 14.19 ms โ no change โ
โ QQuery 62 โ 46.95 / 47.33 ยฑ0.28 / 47.76 ms โ 46.89 / 47.14 ยฑ0.36 / 47.84 ms โ no change โ
โ QQuery 63 โ 29.93 / 30.11 ยฑ0.13 / 30.28 ms โ 29.88 / 30.23 ยฑ0.30 / 30.70 ms โ no change โ
โ QQuery 64 โ 410.86 / 414.31 ยฑ2.25 / 416.75 ms โ 411.46 / 413.27 ยฑ1.51 / 415.32 ms โ no change โ
โ QQuery 65 โ 145.75 / 153.27 ยฑ6.08 / 162.71 ms โ 144.03 / 150.30 ยฑ5.09 / 159.35 ms โ no change โ
โ QQuery 66 โ 80.82 / 82.12 ยฑ1.33 / 84.57 ms โ 80.36 / 81.00 ยฑ0.60 / 81.76 ms โ no change โ
โ QQuery 67 โ 252.48 / 255.98 ยฑ2.64 / 258.98 ms โ 244.85 / 250.51 ยฑ5.40 / 259.69 ms โ no change โ
โ QQuery 68 โ 12.23 / 13.46 ยฑ1.68 / 16.75 ms โ 11.92 / 12.14 ยฑ0.13 / 12.30 ms โ +1.11x faster โ
โ QQuery 69 โ 58.60 / 59.60 ยฑ1.31 / 62.10 ms โ 58.81 / 59.74 ยฑ0.72 / 61.02 ms โ no change โ
โ QQuery 70 โ 107.23 / 110.67 ยฑ3.16 / 115.20 ms โ 107.26 / 111.69 ยฑ3.81 / 118.74 ms โ no change โ
โ QQuery 71 โ 35.35 / 36.25 ยฑ0.53 / 37.01 ms โ 36.24 / 40.31 ยฑ7.42 / 55.14 ms โ 1.11x slower โ
โ QQuery 72 โ 2116.23 / 2178.41 ยฑ53.74 / 2271.47 ms โ 2146.79 / 2258.31 ยฑ91.66 / 2390.18 ms โ no change โ
โ QQuery 73 โ 10.02 / 10.35 ยฑ0.42 / 11.17 ms โ 9.95 / 10.18 ยฑ0.18 / 10.42 ms โ no change โ
โ QQuery 74 โ 177.83 / 181.42 ยฑ3.75 / 188.25 ms โ 173.93 / 179.54 ยฑ4.28 / 186.60 ms โ no change โ
โ QQuery 75 โ 148.90 / 151.12 ยฑ2.73 / 156.43 ms โ 149.54 / 153.56 ยฑ6.42 / 166.31 ms โ no change โ
โ QQuery 76 โ 35.30 / 36.79 ยฑ2.07 / 40.89 ms โ 35.92 / 37.94 ยฑ2.45 / 42.71 ms โ no change โ
โ QQuery 77 โ 61.49 / 63.38 ยฑ2.39 / 68.05 ms โ 61.85 / 62.42 ยฑ0.45 / 63.03 ms โ no change โ
โ QQuery 78 โ 200.54 / 204.27 ยฑ3.80 / 211.59 ms โ 199.17 / 204.07 ยฑ5.14 / 213.38 ms โ no change โ
โ QQuery 79 โ 67.89 / 69.23 ยฑ2.27 / 73.76 ms โ 68.15 / 68.45 ยฑ0.39 / 69.20 ms โ no change โ
โ QQuery 80 โ 99.66 / 102.49 ยฑ3.28 / 108.64 ms โ 99.57 / 101.30 ยฑ1.57 / 103.87 ms โ no change โ
โ QQuery 81 โ 25.99 / 26.36 ยฑ0.25 / 26.69 ms โ 26.22 / 26.37 ยฑ0.13 / 26.54 ms โ no change โ
โ QQuery 82 โ 16.66 / 16.87 ยฑ0.18 / 17.19 ms โ 16.74 / 17.07 ยฑ0.35 / 17.58 ms โ no change โ
โ QQuery 83 โ 39.92 / 40.64 ยฑ0.42 / 41.11 ms โ 40.79 / 41.31 ยฑ0.32 / 41.76 ms โ no change โ
โ QQuery 84 โ 30.71 / 32.83 ยฑ3.98 / 40.78 ms โ 30.46 / 30.87 ยฑ0.23 / 31.15 ms โ +1.06x faster โ
โ QQuery 85 โ 106.62 / 109.62 ยฑ1.82 / 111.64 ms โ 108.05 / 111.44 ยฑ5.34 / 122.07 ms โ no change โ
โ QQuery 86 โ 25.23 / 25.61 ยฑ0.21 / 25.80 ms โ 25.60 / 25.89 ยฑ0.32 / 26.47 ms โ no change โ
โ QQuery 87 โ 62.98 / 64.14 ยฑ1.05 / 65.73 ms โ 63.88 / 65.08 ยฑ0.82 / 66.41 ms โ no change โ
โ QQuery 88 โ 63.07 / 63.76 ยฑ0.46 / 64.40 ms โ 63.99 / 66.16 ยฑ2.76 / 71.18 ms โ no change โ
โ QQuery 89 โ 36.35 / 37.32 ยฑ0.83 / 38.79 ms โ 36.61 / 37.09 ยฑ0.45 / 37.68 ms โ no change โ
โ QQuery 90 โ 17.25 / 17.45 ยฑ0.13 / 17.59 ms โ 17.22 / 17.50 ยฑ0.20 / 17.84 ms โ no change โ
โ QQuery 91 โ 46.28 / 46.62 ยฑ0.20 / 46.82 ms โ 46.57 / 46.87 ยฑ0.27 / 47.22 ms โ no change โ
โ QQuery 92 โ 29.48 / 30.25 ยฑ0.49 / 30.99 ms โ 29.83 / 30.16 ยฑ0.31 / 30.73 ms โ no change โ
โ QQuery 93 โ 49.79 / 51.11 ยฑ1.29 / 53.56 ms โ 50.65 / 52.78 ยฑ2.31 / 57.13 ms โ no change โ
โ QQuery 94 โ 38.90 / 40.07 ยฑ1.06 / 42.08 ms โ 38.64 / 39.16 ยฑ0.36 / 39.74 ms โ no change โ
โ QQuery 95 โ 80.98 / 81.75 ยฑ0.46 / 82.31 ms โ 80.75 / 81.38 ยฑ0.50 / 82.21 ms โ no change โ
โ QQuery 96 โ 24.50 / 24.73 ยฑ0.19 / 25.00 ms โ 24.70 / 25.11 ยฑ0.39 / 25.77 ms โ no change โ
โ QQuery 97 โ 46.90 / 47.49 ยฑ0.51 / 48.43 ms โ 47.73 / 50.03 ยฑ2.41 / 53.54 ms โ 1.05x slower โ
โ QQuery 98 โ 42.46 / 43.88 ยฑ1.24 / 46.10 ms โ 42.68 / 43.63 ยฑ0.71 / 44.80 ms โ no change โ
โ QQuery 99 โ 70.46 / 70.97 ยฑ0.29 / 71.34 ms โ 70.60 / 71.13 ยฑ0.44 / 71.88 ms โ no change โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 10104.32ms โ
โ Total Time (gabotechs_reuse-hashes) โ 10166.03ms โ
โ Average Time (HEAD) โ 102.06ms โ
โ Average Time (gabotechs_reuse-hashes) โ 102.69ms โ
โ Queries Faster โ 2 โ
โ Queries Slower โ 3 โ
โ Queries with No Change โ 94 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpcds โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 55.0s |
| Peak memory | 2.3 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 229.4s |
| CPU sys | 6.1s |
| Peak spill | 0 B |
**tpcds โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 55.0s |
| Peak memory | 2.1 GiB |
| Avg memory | 1.4 GiB |
| CPU user | 231.6s |
| CPU sys | 6.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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5032309789
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5032284181)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5032284181-1201-454hb 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (7d64c1dfa41394e7ff149c6342fb1a3ce207af29) to d0304b3 (merge-base) [diff](https://github.com/apache/datafusion/compare/d0304b3ff5fc1ccc47106384437232d54c462d46..7d64c1dfa41394e7ff149c6342fb1a3ce207af29) using: clickbench_partitioned
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5036714325
run benchmarks clickbench_partitioned
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021616793
<!-- semver-check-comment -->
Thank you for opening this pull request!
Reviewer note: [cargo-semver-checks](https://github.com/obi1kenobi/cargo-semver-checks) reported the current version number is not SemVer-compatible with the changes in this pull request (compared against the base branch).
<details>
<summary>Details</summary>
```
Cloning apache/main
Building datafusion v54.0.0 (current)
Built [ 111.127s] (current)
Parsing datafusion v54.0.0 (current)
Parsed [ 0.035s] (current)
Building datafusion v54.0.0 (baseline)
Built [ 105.183s] (baseline)
Parsing datafusion v54.0.0 (baseline)
Parsed [ 0.034s] (baseline)
Checking datafusion v54.0.0 -> v54.0.0 (no change; assume patch)
Checked [ 0.647s] 223 checks: 223 pass, 30 skip
Summary no semver update required
Finished [ 218.845s] datafusion
Building datafusion-physical-expr-common v54.0.0 (current)
Built [ 23.876s] (current)
Parsing datafusion-physical-expr-common v54.0.0 (current)
Parsed [ 0.021s] (current)
Building datafusion-physical-expr-common v54.0.0 (baseline)
Built [ 24.034s] (baseline)
Parsing datafusion-physical-expr-common v54.0.0 (baseline)
Parsed [ 0.022s] (baseline)
Checking datafusion-physical-expr-common v54.0.0 -> v54.0.0 (no change; assume patch)
Checked [ 0.212s] 223 checks: 223 pass, 30 skip
Summary no semver update required
Finished [ 48.867s] datafusion-physical-expr-common
Building datafusion-physical-plan v54.0.0 (current)
Built [ 37.072s] (current)
Parsing datafusion-physical-plan v54.0.0 (current)
Parsed [ 0.142s] (current)
Building datafusion-physical-plan v54.0.0 (baseline)
Built [ 36.880s] (baseline)
Parsing datafusion-physical-plan v54.0.0 (baseline)
Parsed [ 0.141s] (baseline)
Checking datafusion-physical-plan v54.0.0 -> v54.0.0 (no change; assume patch)
Checked [ 0.694s] 223 checks: 222 pass, 1 fail, 0 warn, 30 skip
--- failure trait_method_parameter_count_changed: pub trait method parameter count changed ---
Description:
A trait method now takes a different number of parameters.
ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-item-signature
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.48.0/src/lints/trait_method_parameter_count_changed.ron
Failed in:
GroupValues::intern now takes 3 instead of 2 parameters, in file /home/runner/work/datafusion/datafusion/datafusion/physical-plan/src/aggregates/group_values/mod.rs:101
Summary semver requires new major version: 1 major and 0 minor checks failed
Finished [ 76.046s] datafusion-physical-plan
Building datafusion-sqllogictest v54.0.0 (current)
Built [ 183.773s] (current)
Parsing datafusion-sqllogictest v54.0.0 (current)
Parsed [ 0.021s] (current)
Building datafusion-sqllogictest v54.0.0 (baseline)
Built [ 183.614s] (baseline)
Parsing datafusion-sqllogictest v54.0.0 (baseline)
Parsed [ 0.023s] (baseline)
Checking datafusion-sqllogictest v54.0.0 -> v54.0.0 (no change; assume patch)
Checked [ 0.091s] 223 checks: 223 pass, 30 skip
Summary no semver update required
Finished [ 369.879s] datafusion-sqllogictest
```
</details>
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021810574
run benchmarks tpcds
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5023117191
Yeah, I can imagine how you'd want to enable this based on the hashing expressions. For example, maybe hashing on a simple `int` column is not worth it, but it is in a `list<string>`.
I still want to see if we can reach a situation where this enabled 100% of the times is worth it, that would simplify things a bit.
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] gabotechs/reuse-hashes [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5021397567
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5021231995)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark tpch_sf10.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 1 โ 320.85 / 331.92 ยฑ7.96 / 340.88 ms โ 312.69 / 314.85 ยฑ1.67 / 317.65 ms โ +1.05x faster โ
โ QQuery 2 โ 105.07 / 108.19 ยฑ2.69 / 112.49 ms โ 100.73 / 106.51 ยฑ2.97 / 109.27 ms โ no change โ
โ QQuery 3 โ 234.92 / 240.88 ยฑ5.65 / 251.03 ms โ 230.58 / 234.51 ยฑ2.00 / 236.05 ms โ no change โ
โ QQuery 4 โ 114.46 / 116.01 ยฑ1.29 / 117.60 ms โ 115.01 / 120.19 ยฑ4.06 / 126.33 ms โ no change โ
โ QQuery 5 โ 370.48 / 373.21 ยฑ2.20 / 377.12 ms โ 357.37 / 387.40 ยฑ16.32 / 403.38 ms โ no change โ
โ QQuery 6 โ 125.29 / 129.15 ยฑ4.09 / 136.63 ms โ 124.83 / 127.69 ยฑ3.54 / 134.55 ms โ no change โ
โ QQuery 7 โ 478.69 / 492.00 ยฑ9.59 / 506.68 ms โ 463.94 / 472.24 ยฑ9.36 / 487.98 ms โ no change โ
โ QQuery 8 โ 386.11 / 393.69 ยฑ5.65 / 402.18 ms โ 382.55 / 393.75 ยฑ8.61 / 408.81 ms โ no change โ
โ QQuery 9 โ 553.49 / 566.83 ยฑ10.35 / 581.64 ms โ 542.05 / 559.87 ยฑ13.41 / 575.87 ms โ no change โ
โ QQuery 10 โ 302.70 / 317.01 ยฑ8.84 / 329.27 ms โ 295.60 / 307.62 ยฑ9.06 / 322.05 ms โ no change โ
โ QQuery 11 โ 86.52 / 90.19 ยฑ6.68 / 103.55 ms โ 84.34 / 85.72 ยฑ1.34 / 88.18 ms โ no change โ
โ QQuery 12 โ 178.46 / 185.66 ยฑ7.65 / 200.44 ms โ 175.73 / 183.56 ยฑ11.51 / 206.34 ms โ no change โ
โ QQuery 13 โ 308.19 / 319.07 ยฑ7.57 / 328.79 ms โ 289.96 / 296.44 ยฑ4.78 / 303.19 ms โ +1.08x faster โ
โ QQuery 14 โ 185.78 / 192.00 ยฑ6.12 / 200.79 ms โ 184.99 / 188.83 ยฑ3.50 / 194.79 ms โ no change โ
โ QQuery 15 โ 329.36 / 333.10 ยฑ3.26 / 338.35 ms โ 308.04 / 324.79 ยฑ13.46 / 336.84 ms โ no change โ
โ QQuery 16 โ 69.20 / 76.51 ยฑ6.39 / 88.34 ms โ 63.04 / 71.43 ยฑ7.97 / 85.83 ms โ +1.07x faster โ
โ QQuery 17 โ 742.73 / 755.05 ยฑ8.92 / 766.14 ms โ 635.15 / 645.89 ยฑ9.78 / 660.24 ms โ +1.17x faster โ
โ QQuery 18 โ 686.79 / 715.20 ยฑ26.25 / 754.62 ms โ 677.82 / 697.62 ยฑ12.34 / 715.79 ms โ no change โ
โ QQuery 19 โ 247.10 / 259.89 ยฑ10.51 / 271.64 ms โ 244.05 / 258.05 ยฑ10.25 / 268.05 ms โ no change โ
โ QQuery 20 โ 276.35 / 296.77 ยฑ11.61 / 308.61 ms โ 279.25 / 293.77 ยฑ8.77 / 305.48 ms โ no change โ
โ QQuery 21 โ 684.11 / 711.79 ยฑ22.61 / 741.10 ms โ 658.65 / 663.88 ยฑ3.59 / 668.72 ms โ +1.07x faster โ
โ QQuery 22 โ 62.11 / 65.07 ยฑ2.54 / 69.60 ms โ 59.47 / 62.52 ยฑ1.76 / 64.78 ms โ no change โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 7069.21ms โ
โ Total Time (gabotechs_reuse-hashes) โ 6797.12ms โ
โ Average Time (HEAD) โ 321.33ms โ
โ Average Time (gabotechs_reuse-hashes) โ 308.96ms โ
โ Queries Faster โ 5 โ
โ Queries Slower โ 0 โ
โ Queries with No Change โ 17 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpch10 โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 40.0s |
| Peak memory | 5.0 GiB |
| Avg memory | 1.4 GiB |
| CPU user | 358.6s |
| CPU sys | 21.3s |
| Peak spill | 0 B |
**tpch10 โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 35.0s |
| Peak memory | 5.3 GiB |
| Avg memory | 1.5 GiB |
| CPU user | 344.2s |
| CPU sys | 20.5s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5032309309
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5032284181)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5032284181-1199-fm6gh 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (7d64c1dfa41394e7ff149c6342fb1a3ce207af29) to d0304b3 (merge-base) [diff](https://github.com/apache/datafusion/compare/d0304b3ff5fc1ccc47106384437232d54c462d46..7d64c1dfa41394e7ff149c6342fb1a3ce207af29) using: tpch10
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5042760882
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5042580984)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark clickbench_partitioned.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 0 โ 1.24 / 4.04 ยฑ5.51 / 15.06 ms โ 1.24 / 3.99 ยฑ5.43 / 14.85 ms โ no change โ
โ QQuery 1 โ 12.93 / 13.12 ยฑ0.12 / 13.31 ms โ 13.11 / 13.35 ยฑ0.23 / 13.69 ms โ no change โ
โ QQuery 2 โ 35.94 / 36.27 ยฑ0.28 / 36.73 ms โ 36.42 / 36.73 ยฑ0.30 / 37.19 ms โ no change โ
โ QQuery 3 โ 30.64 / 31.63 ยฑ1.08 / 33.44 ms โ 30.75 / 31.21 ยฑ0.29 / 31.57 ms โ no change โ
โ QQuery 4 โ 224.65 / 236.71 ยฑ15.85 / 267.06 ms โ 226.54 / 228.68 ยฑ2.32 / 232.99 ms โ no change โ
โ QQuery 5 โ 301.15 / 312.07 ยฑ5.97 / 318.54 ms โ 264.54 / 267.31 ยฑ1.99 / 269.37 ms โ +1.17x faster โ
โ QQuery 6 โ 1.54 / 1.72 ยฑ0.21 / 2.11 ms โ 1.27 / 1.42 ยฑ0.23 / 1.88 ms โ +1.21x faster โ
โ QQuery 7 โ 14.87 / 15.04 ยฑ0.11 / 15.19 ms โ 14.05 / 14.18 ยฑ0.10 / 14.35 ms โ +1.06x faster โ
โ QQuery 8 โ 331.38 / 357.51 ยฑ18.58 / 387.53 ms โ 322.98 / 325.76 ยฑ2.68 / 330.83 ms โ +1.10x faster โ
โ QQuery 9 โ 453.49 / 463.49 ยฑ6.16 / 469.74 ms โ 469.09 / 521.68 ยฑ42.50 / 571.67 ms โ 1.13x slower โ
โ QQuery 10 โ 69.57 / 72.78 ยฑ4.67 / 81.95 ms โ 78.39 / 79.23 ยฑ0.49 / 79.88 ms โ 1.09x slower โ
โ QQuery 11 โ 81.71 / 82.37 ยฑ0.55 / 83.14 ms โ 88.62 / 90.97 ยฑ1.42 / 92.44 ms โ 1.10x slower โ
โ QQuery 12 โ 270.66 / 273.63 ยฑ4.52 / 282.60 ms โ 269.93 / 286.48 ยฑ9.03 / 296.63 ms โ no change โ
โ QQuery 13 โ 373.59 / 389.19 ยฑ9.95 / 400.97 ms โ 352.16 / 358.25 ยฑ5.62 / 367.03 ms โ +1.09x faster โ
โ QQuery 14 โ 278.53 / 284.45 ยฑ4.41 / 291.50 ms โ 274.48 / 279.71 ยฑ6.37 / 292.13 ms โ no change โ
โ QQuery 15 โ 269.17 / 276.41 ยฑ5.82 / 286.36 ms โ 277.24 / 285.17 ยฑ9.05 / 302.90 ms โ no change โ
โ QQuery 16 โ 613.79 / 633.29 ยฑ29.00 / 690.04 ms โ 593.93 / 627.56 ยฑ24.91 / 655.17 ms โ no change โ
โ QQuery 17 โ 667.63 / 704.41 ยฑ20.61 / 730.49 ms โ 597.75 / 617.46 ยฑ11.67 / 630.61 ms โ +1.14x faster โ
โ QQuery 18 โ 1251.01 / 1261.92 ยฑ10.18 / 1279.30 ms โ 1255.39 / 1327.51 ยฑ76.04 / 1442.98 ms โ 1.05x slower โ
โ QQuery 19 โ 28.01 / 28.36 ยฑ0.27 / 28.83 ms โ 28.28 / 31.29 ยฑ5.00 / 41.23 ms โ 1.10x slower โ
โ QQuery 20 โ 537.42 / 540.66 ยฑ3.26 / 546.31 ms โ 518.84 / 522.72 ยฑ5.90 / 534.30 ms โ no change โ
โ QQuery 21 โ 516.42 / 525.12 ยฑ11.39 / 547.32 ms โ 513.80 / 522.74 ยฑ7.62 / 533.60 ms โ no change โ
โ QQuery 22 โ 977.45 / 985.95 ยฑ10.14 / 999.16 ms โ 999.21 / 1022.30 ยฑ29.41 / 1079.78 ms โ no change โ
โ QQuery 23 โ 3052.03 / 3135.43 ยฑ61.13 / 3208.55 ms โ 3111.18 / 3229.24 ยฑ93.09 / 3341.39 ms โ no change โ
โ QQuery 24 โ 40.99 / 44.42 ยฑ5.72 / 55.74 ms โ 41.29 / 42.04 ยฑ0.87 / 43.66 ms โ +1.06x faster โ
โ QQuery 25 โ 110.62 / 113.87 ยฑ3.04 / 119.21 ms โ 111.46 / 129.82 ยฑ22.05 / 171.99 ms โ 1.14x slower โ
โ QQuery 26 โ 41.44 / 43.87 ยฑ3.52 / 50.76 ms โ 41.62 / 43.46 ยฑ2.59 / 48.55 ms โ no change โ
โ QQuery 27 โ 510.75 / 523.00 ยฑ8.28 / 536.44 ms โ 515.24 / 523.07 ยฑ6.29 / 532.43 ms โ no change โ
โ QQuery 28 โ 2882.29 / 2925.19 ยฑ44.94 / 2997.44 ms โ 2889.81 / 2951.59 ยฑ58.26 / 3038.82 ms โ no change โ
โ QQuery 29 โ 41.02 / 41.43 ยฑ0.39 / 42.17 ms โ 41.33 / 44.63 ยฑ5.36 / 55.27 ms โ 1.08x slower โ
โ QQuery 30 โ 297.86 / 312.01 ยฑ16.28 / 341.35 ms โ 303.90 / 307.07 ยฑ2.30 / 310.70 ms โ no change โ
โ QQuery 31 โ 278.46 / 289.08 ยฑ9.08 / 305.43 ms โ 281.76 / 293.23 ยฑ9.65 / 306.38 ms โ no change โ
โ QQuery 32 โ 925.87 / 1048.38 ยฑ80.07 / 1136.01 ms โ 913.80 / 951.51 ยฑ24.30 / 984.55 ms โ +1.10x faster โ
โ QQuery 33 โ 1453.84 / 1483.20 ยฑ24.57 / 1515.88 ms โ 1438.42 / 1543.27 ยฑ87.46 / 1669.80 ms โ no change โ
โ QQuery 34 โ 1462.91 / 1599.53 ยฑ96.27 / 1750.29 ms โ 1437.00 / 1472.29 ยฑ24.81 / 1507.74 ms โ +1.09x faster โ
โ QQuery 35 โ 284.21 / 305.62 ยฑ26.40 / 344.62 ms โ 306.37 / 339.18 ยฑ21.34 / 370.79 ms โ 1.11x slower โ
โ QQuery 36 โ 68.69 / 72.30 ยฑ3.26 / 78.08 ms โ 73.15 / 75.82 ยฑ2.39 / 78.85 ms โ no change โ
โ QQuery 37 โ 36.20 / 42.32 ยฑ6.84 / 52.33 ms โ 39.62 / 41.50 ยฑ3.42 / 48.34 ms โ no change โ
โ QQuery 38 โ 41.19 / 43.06 ยฑ1.49 / 45.16 ms โ 44.72 / 56.14 ยฑ7.05 / 66.73 ms โ 1.30x slower โ
โ QQuery 39 โ 142.16 / 154.70 ยฑ7.15 / 163.68 ms โ 158.75 / 174.53 ยฑ11.28 / 190.51 ms โ 1.13x slower โ
โ QQuery 40 โ 14.42 / 17.37 ยฑ4.83 / 27.01 ms โ 16.58 / 23.57 ยฑ8.56 / 36.13 ms โ 1.36x slower โ
โ QQuery 41 โ 13.80 / 13.95 ยฑ0.14 / 14.13 ms โ 15.35 / 15.80 ยฑ0.28 / 16.13 ms โ 1.13x slower โ
โ QQuery 42 โ 13.14 / 13.27 ยฑ0.10 / 13.38 ms โ 15.41 / 18.71 ยฑ4.06 / 24.76 ms โ 1.41x slower โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 19752.16ms โ
โ Total Time (gabotechs_reuse-hashes) โ 19772.20ms โ
โ Average Time (HEAD) โ 459.35ms โ
โ Average Time (gabotechs_reuse-hashes) โ 459.82ms โ
โ Queries Faster โ 9 โ
โ Queries Slower โ 13 โ
โ Queries with No Change โ 21 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**clickbench_partitioned โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 12.1 GiB |
| Avg memory | 4.4 GiB |
| CPU user | 1015.7s |
| CPU sys | 72.1s |
| Peak spill | 0 B |
**clickbench_partitioned โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 100.0s |
| Peak memory | 11.3 GiB |
| Avg memory | 4.5 GiB |
| CPU user | 1005.3s |
| CPU sys | 74.2s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5091006839
๐ค Benchmark completed (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5090830463)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB)
<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 gabotechs_reuse-hashes
--------------------
Benchmark tpch_sf10.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ gabotechs_reuse-hashes โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 1 โ 311.10 / 314.07 ยฑ2.05 / 317.08 ms โ 312.02 / 316.64 ยฑ4.43 / 322.51 ms โ no change โ
โ QQuery 2 โ 103.52 / 108.20 ยฑ2.60 / 111.31 ms โ 109.80 / 113.84 ยฑ2.62 / 116.71 ms โ 1.05x slower โ
โ QQuery 3 โ 232.06 / 245.54 ยฑ7.66 / 255.60 ms โ 236.05 / 239.55 ยฑ3.59 / 246.29 ms โ no change โ
โ QQuery 4 โ 121.25 / 124.63 ยฑ1.82 / 126.26 ms โ 111.77 / 113.75 ยฑ1.30 / 115.62 ms โ +1.10x faster โ
โ QQuery 5 โ 352.53 / 372.43 ยฑ14.06 / 390.36 ms โ 356.43 / 361.72 ยฑ2.71 / 364.04 ms โ no change โ
โ QQuery 6 โ 124.82 / 129.28 ยฑ4.78 / 136.73 ms โ 126.43 / 132.03 ยฑ4.36 / 136.30 ms โ no change โ
โ QQuery 7 โ 461.71 / 468.58 ยฑ4.19 / 474.54 ms โ 480.67 / 512.26 ยฑ27.56 / 556.33 ms โ 1.09x slower โ
โ QQuery 8 โ 382.08 / 388.94 ยฑ6.29 / 396.71 ms โ 397.43 / 404.50 ยฑ3.86 / 408.47 ms โ no change โ
โ QQuery 9 โ 539.09 / 559.52 ยฑ13.63 / 578.97 ms โ 562.46 / 568.64 ยฑ5.63 / 578.50 ms โ no change โ
โ QQuery 10 โ 300.33 / 308.05 ยฑ7.56 / 319.60 ms โ 299.11 / 310.04 ยฑ10.62 / 328.16 ms โ no change โ
โ QQuery 11 โ 85.69 / 90.33 ยฑ4.41 / 98.72 ms โ 83.79 / 91.50 ยฑ6.40 / 102.82 ms โ no change โ
โ QQuery 12 โ 177.45 / 182.61 ยฑ7.10 / 196.62 ms โ 178.80 / 184.60 ยฑ6.42 / 193.60 ms โ no change โ
โ QQuery 13 โ 283.41 / 292.61 ยฑ12.85 / 317.78 ms โ 285.50 / 292.86 ยฑ5.40 / 301.37 ms โ no change โ
โ QQuery 14 โ 172.61 / 176.95 ยฑ4.52 / 184.82 ms โ 169.54 / 174.81 ยฑ5.03 / 181.31 ms โ no change โ
โ QQuery 15 โ 309.08 / 325.43 ยฑ8.76 / 333.38 ms โ 300.63 / 302.95 ยฑ1.63 / 305.71 ms โ +1.07x faster โ
โ QQuery 16 โ 68.95 / 74.52 ยฑ5.26 / 84.11 ms โ 64.25 / 66.07 ยฑ1.50 / 68.17 ms โ +1.13x faster โ
โ QQuery 17 โ 729.18 / 745.95 ยฑ15.47 / 775.09 ms โ 626.95 / 699.52 ยฑ48.60 / 757.45 ms โ +1.07x faster โ
โ QQuery 18 โ 790.05 / 817.96 ยฑ20.48 / 848.74 ms โ 681.26 / 701.25 ยฑ14.79 / 724.89 ms โ +1.17x faster โ
โ QQuery 19 โ 245.93 / 258.59 ยฑ12.53 / 280.59 ms โ 243.09 / 256.47 ยฑ15.93 / 277.03 ms โ no change โ
โ QQuery 20 โ 274.51 / 279.56 ยฑ3.08 / 283.06 ms โ 288.83 / 295.98 ยฑ5.12 / 304.37 ms โ 1.06x slower โ
โ QQuery 21 โ 669.81 / 712.85 ยฑ29.19 / 752.90 ms โ 657.71 / 664.36 ยฑ7.62 / 679.29 ms โ +1.07x faster โ
โ QQuery 22 โ 65.07 / 65.74 ยฑ0.73 / 67.06 ms โ 59.89 / 64.02 ยฑ4.28 / 70.85 ms โ no change โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 7042.33ms โ
โ Total Time (gabotechs_reuse-hashes) โ 6867.36ms โ
โ Average Time (HEAD) โ 320.11ms โ
โ Average Time (gabotechs_reuse-hashes) โ 312.15ms โ
โ Queries Faster โ 6 โ
โ Queries Slower โ 3 โ
โ Queries with No Change โ 13 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโ
```
</p>
</details>
<details><summary>Resource Usage</summary>
**tpch10 โ base (merge-base)**
| Metric | Value |
|--------|-------|
| Wall time | 40.0s |
| Peak memory | 4.9 GiB |
| Avg memory | 1.4 GiB |
| CPU user | 357.0s |
| CPU sys | 20.9s |
| Peak spill | 0 B |
**tpch10 โ branch**
| Metric | Value |
|--------|-------|
| Wall time | 35.0s |
| Peak memory | 5.0 GiB |
| Avg memory | 1.6 GiB |
| CPU user | 343.9s |
| CPU sys | 19.4s |
| 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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "gabotechs (via GitHub)" <gi...@apache.org>.
gabotechs commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5090830463
run benchmarks tpch10 tpcds clickbench_partitioned
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Reuse hash values during Aggregate(partial) -> Repartition -> Aggregate(final) [datafusion]
Posted by "adriangbot (via GitHub)" <gi...@apache.org>.
adriangbot commented on PR #23720:
URL: https://github.com/apache/datafusion/pull/23720#issuecomment-5090854907
๐ค Benchmark running (GKE) | [trigger](https://github.com/apache/datafusion/pull/23720#issuecomment-5090830463)
**Instance:** `c4a-highmem-16` (12 vCPU / 65 GiB) | `Linux bench-c5090830463-1272-hgzp6 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux`
<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>
Comparing gabotechs/reuse-hashes (842267cc321dc1d4704d3a3cf935c7966da7cc6d) to e8a65f2 (merge-base) [diff](https://github.com/apache/datafusion/compare/e8a65f2d6f24afa75192fc63aca38011ede88800..842267cc321dc1d4704d3a3cf935c7966da7cc6d) using: tpcds
Results will be posted here when complete
---
[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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org