Skip to content

DO NOT MERGE: measure pool_peak_bytes reproducibility - #16

Open
adriangb wants to merge 1 commit into
bench/pool-peak-per-iterationfrom
bench/pool-peak-noop-check
Open

DO NOT MERGE: measure pool_peak_bytes reproducibility#16
adriangb wants to merge 1 commit into
bench/pool-peak-per-iterationfrom
bench/pool-peak-noop-check

Conversation

@adriangb

Copy link
Copy Markdown
Owner

Comment-only change on top of bench/pool-peak-per-iteration (apache#24023). Both sides compile to identical code, so every reported difference is measurement noise. Requires DATAFUSION_RUNTIME_MEMORY_LIMIT to be set, since the recording pool is only installed alongside a pool that has a limit.

Comment-only, so both sides of the comparison compile identically.
@adriangb

Copy link
Copy Markdown
Owner Author

run benchmark tpch

[pool-peak reproducibility 1/2] AFTER — per-iteration readings

Both sides carry apache#24023 and differ only by a comment, so

every pool-peak difference below is measurement noise.

The memory limit is what installs the recording pool: without one,

pool_peak_bytes is omitted and no memory table is rendered at all.

env:
DATAFUSION_RUNTIME_MEMORY_LIMIT: "4G"

@adriangb

Copy link
Copy Markdown
Owner Author

run benchmark tpch

[pool-peak reproducibility 2/2] BEFORE — max-over-iterations

Both sides pinned to a589b4b, the commit apache#24023 branches from, so this is

the same A/A measurement taken against the unpatched reading. Compare the

spread in this memory table against 1/2.

env:
DATAFUSION_RUNTIME_MEMORY_LIMIT: "4G"
baseline:
ref: a589b4b
changed:
ref: a589b4b

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5139982048-1327-44dmc 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
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

Comparing bench/pool-peak-noop-check (f91a869) to 1ae6b87 (merge-base) diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "4G"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5139982181-1328-kmtm7 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
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

Comparing a589b4b (a589b4b) to a589b4b diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "4G"
baseline:
  ref: "a589b4bbae"
changed:
  ref: "a589b4bbae"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

Comparing bench/pool-peak-noop-check (f91a869) to 1ae6b87 (merge-base) diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "4G"
CPU Details (lscpu)
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 HEAD and bench_pool-peak-noop-check
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ bench_pool-peak-noop-check ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 39.57 ms │                   39.24 ms │ no change │
│ QQuery 2  │ 19.72 ms │                   19.50 ms │ no change │
│ QQuery 3  │ 31.72 ms │                   31.59 ms │ no change │
│ QQuery 4  │ 18.15 ms │                   18.11 ms │ no change │
│ QQuery 5  │ 39.27 ms │                   39.03 ms │ no change │
│ QQuery 6  │ 17.12 ms │                   16.71 ms │ no change │
│ QQuery 7  │ 47.38 ms │                   45.96 ms │ no change │
│ QQuery 8  │ 44.09 ms │                   43.73 ms │ no change │
│ QQuery 9  │ 51.84 ms │                   51.71 ms │ no change │
│ QQuery 10 │ 44.12 ms │                   43.85 ms │ no change │
│ QQuery 11 │ 14.10 ms │                   14.20 ms │ no change │
│ QQuery 12 │ 24.84 ms │                   24.90 ms │ no change │
│ QQuery 13 │ 33.58 ms │                   33.09 ms │ no change │
│ QQuery 14 │ 24.06 ms │                   24.09 ms │ no change │
│ QQuery 15 │ 32.00 ms │                   32.36 ms │ no change │
│ QQuery 16 │ 14.47 ms │                   14.55 ms │ no change │
│ QQuery 17 │ 74.92 ms │                   75.47 ms │ no change │
│ QQuery 18 │ 60.20 ms │                   60.75 ms │ no change │
│ QQuery 19 │ 33.86 ms │                   33.94 ms │ no change │
│ QQuery 20 │ 32.92 ms │                   33.15 ms │ no change │
│ QQuery 21 │ 58.18 ms │                   57.24 ms │ no change │
│ QQuery 22 │ 14.74 ms │                   14.67 ms │ no change │
└───────────┴──────────┴────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                         │ 770.85ms │
│ Total Time (bench_pool-peak-noop-check)   │ 767.86ms │
│ Average Time (HEAD)                       │  35.04ms │
│ Average Time (bench_pool-peak-noop-check) │  34.90ms │
│ Queries Faster                            │        0 │
│ Queries Slower                            │        0 │
│ Queries with No Change                    │       22 │
│ Queries with Failure                      │        0 │
└───────────────────────────────────────────┴──────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and bench_pool-peak-noop-check
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃     bench_pool-peak-noop-check ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 39.57 / 40.41 ±1.09 / 42.49 ms │ 39.24 / 40.03 ±1.10 / 42.15 ms │ no change │
│ QQuery 2  │ 19.72 / 20.34 ±0.46 / 21.11 ms │ 19.50 / 20.67 ±1.10 / 22.67 ms │ no change │
│ QQuery 3  │ 31.72 / 33.34 ±1.52 / 35.37 ms │ 31.59 / 32.68 ±1.29 / 35.00 ms │ no change │
│ QQuery 4  │ 18.15 / 18.98 ±0.95 / 20.69 ms │ 18.11 / 19.07 ±1.07 / 20.96 ms │ no change │
│ QQuery 5  │ 39.27 / 40.93 ±2.07 / 44.91 ms │ 39.03 / 41.40 ±1.34 / 43.07 ms │ no change │
│ QQuery 6  │ 17.12 / 17.72 ±0.45 / 18.45 ms │ 16.71 / 17.64 ±1.06 / 19.61 ms │ no change │
│ QQuery 7  │ 47.38 / 48.28 ±1.23 / 50.65 ms │ 45.96 / 47.97 ±2.09 / 50.66 ms │ no change │
│ QQuery 8  │ 44.09 / 44.55 ±0.38 / 45.04 ms │ 43.73 / 44.60 ±0.96 / 46.35 ms │ no change │
│ QQuery 9  │ 51.84 / 52.99 ±0.66 / 53.84 ms │ 51.71 / 52.83 ±0.92 / 54.09 ms │ no change │
│ QQuery 10 │ 44.12 / 45.31 ±2.05 / 49.41 ms │ 43.85 / 44.72 ±1.23 / 47.16 ms │ no change │
│ QQuery 11 │ 14.10 / 14.40 ±0.18 / 14.65 ms │ 14.20 / 14.33 ±0.12 / 14.48 ms │ no change │
│ QQuery 12 │ 24.84 / 26.08 ±1.66 / 29.34 ms │ 24.90 / 25.66 ±0.98 / 27.46 ms │ no change │
│ QQuery 13 │ 33.58 / 34.96 ±1.13 / 37.00 ms │ 33.09 / 35.60 ±1.42 / 37.06 ms │ no change │
│ QQuery 14 │ 24.06 / 24.30 ±0.16 / 24.52 ms │ 24.09 / 24.39 ±0.19 / 24.61 ms │ no change │
│ QQuery 15 │ 32.00 / 33.02 ±0.91 / 34.35 ms │ 32.36 / 32.79 ±0.29 / 33.14 ms │ no change │
│ QQuery 16 │ 14.47 / 14.68 ±0.13 / 14.82 ms │ 14.55 / 14.70 ±0.11 / 14.87 ms │ no change │
│ QQuery 17 │ 74.92 / 76.19 ±0.93 / 77.59 ms │ 75.47 / 77.68 ±1.77 / 80.70 ms │ no change │
│ QQuery 18 │ 60.20 / 62.05 ±2.14 / 66.00 ms │ 60.75 / 63.62 ±2.87 / 68.98 ms │ no change │
│ QQuery 19 │ 33.86 / 34.12 ±0.31 / 34.71 ms │ 33.94 / 34.13 ±0.21 / 34.53 ms │ no change │
│ QQuery 20 │ 32.92 / 33.13 ±0.32 / 33.75 ms │ 33.15 / 33.30 ±0.15 / 33.49 ms │ no change │
│ QQuery 21 │ 58.18 / 60.97 ±2.38 / 65.02 ms │ 57.24 / 58.64 ±0.85 / 59.64 ms │ no change │
│ QQuery 22 │ 14.74 / 15.20 ±0.58 / 16.33 ms │ 14.67 / 14.82 ±0.11 / 14.98 ms │ no change │
└───────────┴────────────────────────────────┴────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                         │ 791.97ms │
│ Total Time (bench_pool-peak-noop-check)   │ 791.26ms │
│ Average Time (HEAD)                       │  36.00ms │
│ Average Time (bench_pool-peak-noop-check) │  35.97ms │
│ Queries Faster                            │        0 │
│ Queries Slower                            │        0 │
│ Queries with No Change                    │       22 │
│ Queries with Failure                      │        0 │
└───────────────────────────────────────────┴──────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only when the benchmark runs with DATAFUSION_RUNTIME_MEMORY_LIMIT set.

Base: 1ae6b87 (merge-base) | Changed: bench/pool-peak-noop-check

tpchtpch_sf1

Query Base Changed Change
Query 1 40.0 MiB 30.0 MiB -25.0%
Query 2 30.8 MiB 26.2 MiB -15.2%
Query 3 21.8 MiB 19.3 MiB -11.5%
Query 4 33.5 MiB 23.5 MiB -29.8%
Query 5 34.4 MiB 26.5 MiB -22.9%
Query 6 0 B 0 B 0.0%
Query 7 120.9 MiB 105.5 MiB -12.8%
Query 8 33.0 MiB 31.9 MiB -3.4%
Query 9 134.9 MiB 130.7 MiB -3.1%
Query 10 39.7 MiB 37.9 MiB -4.5%
Query 11 51.6 MiB 22.1 MiB -57.2%
Query 12 20.0 MiB 11.7 MiB -41.4%
Query 13 50.1 MiB 40.0 MiB -20.1%
Query 14 7.5 MiB 7.2 MiB -3.4%
Query 15 12.5 MiB 12.2 MiB -1.8%
Query 16 55.1 MiB 29.7 MiB -46.1%
Query 17 141.3 MiB 141.3 MiB +0.0%
Query 18 309.6 MiB 306.8 MiB -0.9%
Query 19 721.1 KiB 721.1 KiB +0.0%
Query 20 81.0 MiB 76.4 MiB -5.6%
Query 21 103.7 MiB 89.3 MiB -13.9%
Query 22 32.8 MiB 23.2 MiB -29.5%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
tpch base (1ae6b87 (merge-base)) 309.6 MiB 1.2 GiB 906.2 MiB 3.9×
tpch changed (bench/pool-peak-noop-check) 306.8 MiB 1.2 GiB 926.7 MiB 4.0×
Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 509.4 MiB
CPU user 22.9s
CPU sys 1.7s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 508.0 MiB
CPU user 23.0s
CPU sys 1.8s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

Comparing a589b4b (a589b4b) to a589b4b diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "4G"
baseline:
  ref: "a589b4bbae"
changed:
  ref: "a589b4bbae"
CPU Details (lscpu)
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 HEAD and bench_pool-peak-noop-check
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ bench_pool-peak-noop-check ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 38.72 ms │                   38.04 ms │     no change │
│ QQuery 2  │ 19.50 ms │                   18.95 ms │     no change │
│ QQuery 3  │ 33.83 ms │                   30.53 ms │ +1.11x faster │
│ QQuery 4  │ 17.96 ms │                   17.31 ms │     no change │
│ QQuery 5  │ 38.75 ms │                   37.09 ms │     no change │
│ QQuery 6  │ 16.63 ms │                   16.37 ms │     no change │
│ QQuery 7  │ 45.27 ms │                   43.13 ms │     no change │
│ QQuery 8  │ 42.97 ms │                   42.75 ms │     no change │
│ QQuery 9  │ 49.28 ms │                   49.58 ms │     no change │
│ QQuery 10 │ 42.58 ms │                   42.52 ms │     no change │
│ QQuery 11 │ 13.65 ms │                   13.38 ms │     no change │
│ QQuery 12 │ 24.35 ms │                   24.00 ms │     no change │
│ QQuery 13 │ 33.32 ms │                   32.57 ms │     no change │
│ QQuery 14 │ 23.61 ms │                   23.43 ms │     no change │
│ QQuery 15 │ 31.54 ms │                   31.14 ms │     no change │
│ QQuery 16 │ 14.81 ms │                   13.91 ms │ +1.06x faster │
│ QQuery 17 │ 71.68 ms │                   70.30 ms │     no change │
│ QQuery 18 │ 59.82 ms │                   57.67 ms │     no change │
│ QQuery 19 │ 33.43 ms │                   32.99 ms │     no change │
│ QQuery 20 │ 31.87 ms │                   31.48 ms │     no change │
│ QQuery 21 │ 55.33 ms │                   54.43 ms │     no change │
│ QQuery 22 │ 13.99 ms │                   13.66 ms │     no change │
└───────────┴──────────┴────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                         │ 752.87ms │
│ Total Time (bench_pool-peak-noop-check)   │ 735.24ms │
│ Average Time (HEAD)                       │  34.22ms │
│ Average Time (bench_pool-peak-noop-check) │  33.42ms │
│ Queries Faster                            │        2 │
│ Queries Slower                            │        0 │
│ Queries with No Change                    │       20 │
│ Queries with Failure                      │        0 │
└───────────────────────────────────────────┴──────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and bench_pool-peak-noop-check
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃     bench_pool-peak-noop-check ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 38.72 / 40.90 ±1.61 / 42.94 ms │ 38.04 / 38.69 ±1.06 / 40.79 ms │ +1.06x faster │
│ QQuery 2  │ 19.50 / 19.69 ±0.16 / 19.88 ms │ 18.95 / 19.46 ±0.58 / 20.58 ms │     no change │
│ QQuery 3  │ 33.83 / 35.13 ±1.19 / 37.30 ms │ 30.53 / 32.90 ±2.07 / 35.92 ms │ +1.07x faster │
│ QQuery 4  │ 17.96 / 18.13 ±0.18 / 18.43 ms │ 17.31 / 18.30 ±1.35 / 20.93 ms │     no change │
│ QQuery 5  │ 38.75 / 40.07 ±1.04 / 41.44 ms │ 37.09 / 39.36 ±1.16 / 40.21 ms │     no change │
│ QQuery 6  │ 16.63 / 17.10 ±0.66 / 18.41 ms │ 16.37 / 16.81 ±0.59 / 17.95 ms │     no change │
│ QQuery 7  │ 45.27 / 48.05 ±3.26 / 54.44 ms │ 43.13 / 44.76 ±1.15 / 46.20 ms │ +1.07x faster │
│ QQuery 8  │ 42.97 / 43.40 ±0.34 / 43.87 ms │ 42.75 / 42.99 ±0.17 / 43.18 ms │     no change │
│ QQuery 9  │ 49.28 / 50.58 ±0.77 / 51.44 ms │ 49.58 / 50.59 ±0.75 / 51.40 ms │     no change │
│ QQuery 10 │ 42.58 / 42.75 ±0.12 / 42.93 ms │ 42.52 / 42.82 ±0.32 / 43.33 ms │     no change │
│ QQuery 11 │ 13.65 / 14.05 ±0.58 / 15.20 ms │ 13.38 / 13.70 ±0.17 / 13.89 ms │     no change │
│ QQuery 12 │ 24.35 / 24.75 ±0.44 / 25.59 ms │ 24.00 / 24.60 ±0.31 / 24.87 ms │     no change │
│ QQuery 13 │ 33.32 / 34.93 ±1.38 / 36.62 ms │ 32.57 / 35.00 ±2.68 / 40.08 ms │     no change │
│ QQuery 14 │ 23.61 / 23.95 ±0.22 / 24.28 ms │ 23.43 / 23.68 ±0.21 / 24.01 ms │     no change │
│ QQuery 15 │ 31.54 / 32.16 ±0.55 / 32.93 ms │ 31.14 / 32.47 ±0.98 / 33.49 ms │     no change │
│ QQuery 16 │ 14.81 / 15.14 ±0.17 / 15.30 ms │ 13.91 / 14.01 ±0.08 / 14.09 ms │ +1.08x faster │
│ QQuery 17 │ 71.68 / 76.03 ±5.64 / 85.80 ms │ 70.30 / 72.02 ±1.55 / 74.90 ms │ +1.06x faster │
│ QQuery 18 │ 59.82 / 61.64 ±1.45 / 64.18 ms │ 57.67 / 59.31 ±0.91 / 60.20 ms │     no change │
│ QQuery 19 │ 33.43 / 34.36 ±1.70 / 37.76 ms │ 32.99 / 34.16 ±1.37 / 36.81 ms │     no change │
│ QQuery 20 │ 31.87 / 32.39 ±0.37 / 32.88 ms │ 31.48 / 32.28 ±0.60 / 33.26 ms │     no change │
│ QQuery 21 │ 55.33 / 56.84 ±0.85 / 57.91 ms │ 54.43 / 56.76 ±1.84 / 59.67 ms │     no change │
│ QQuery 22 │ 13.99 / 14.35 ±0.26 / 14.79 ms │ 13.66 / 13.93 ±0.21 / 14.12 ms │     no change │
└───────────┴────────────────────────────────┴────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                         │ 776.40ms │
│ Total Time (bench_pool-peak-noop-check)   │ 758.59ms │
│ Average Time (HEAD)                       │  35.29ms │
│ Average Time (bench_pool-peak-noop-check) │  34.48ms │
│ Queries Faster                            │        5 │
│ Queries Slower                            │        0 │
│ Queries with No Change                    │       17 │
│ Queries with Failure                      │        0 │
└───────────────────────────────────────────┴──────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only when the benchmark runs with DATAFUSION_RUNTIME_MEMORY_LIMIT set.

Base: a589b4bbae | Changed: a589b4bbae

tpchtpch_sf1

Query Base Changed Change
Query 1 31.4 MiB 40.0 MiB +27.5%
Query 2 29.5 MiB 28.8 MiB -2.3%
Query 3 26.5 MiB 23.7 MiB -10.6%
Query 4 33.5 MiB 33.5 MiB -0.0%
Query 5 42.2 MiB 36.6 MiB -13.3%
Query 6 0 B 0 B 0.0%
Query 7 120.1 MiB 124.2 MiB +3.4%
Query 8 32.6 MiB 32.6 MiB +0.0%
Query 9 131.3 MiB 134.4 MiB +2.3%
Query 10 41.5 MiB 39.8 MiB -4.1%
Query 11 42.3 MiB 52.0 MiB +22.7%
Query 12 20.0 MiB 20.0 MiB -0.0%
Query 13 50.1 MiB 70.1 MiB +39.9%
Query 14 7.7 MiB 7.5 MiB -2.8%
Query 15 12.4 MiB 12.6 MiB +2.1%
Query 16 74.8 MiB 55.5 MiB -25.7%
Query 17 141.3 MiB 141.3 MiB +0.0%
Query 18 307.0 MiB 307.9 MiB +0.3%
Query 19 721.1 KiB 721.1 KiB +0.0%
Query 20 81.1 MiB 79.5 MiB -1.9%
Query 21 112.4 MiB 91.7 MiB -18.5%
Query 22 42.8 MiB 32.8 MiB -23.3%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
tpch base (a589b4bbae) 307.0 MiB 1.2 GiB 950.6 MiB 4.1×
tpch changed (a589b4bbae) 307.9 MiB 1.2 GiB 962.8 MiB 4.1×
Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 529.7 MiB
CPU user 22.2s
CPU sys 1.9s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 522.9 MiB
CPU user 21.6s
CPU sys 1.8s
Peak spill 0 B

File an issue against this benchmark runner

@adriangb

Copy link
Copy Markdown
Owner Author

run benchmark tpch

[pool-peak reproducibility 1/2, corrected] AFTER — per-iteration readings

The first attempt at this run was not an A/A: the runner resolves the

baseline as git merge-base HEAD origin/main, ignoring this PR's base

branch, so it compared the patched branch against an older main.

Pinning both sides to 59bb7b2 (apache#24023) instead, which

mirrors the 2/2 run exactly except for carrying the fix.

env:
DATAFUSION_RUNTIME_MEMORY_LIMIT: "4G"
baseline:
ref: 59bb7b2
changed:
ref: 59bb7b2

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5140120522-1329-8qb8d 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
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

Comparing 59bb7b2 (59bb7b2) to 59bb7b2 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "4G"
baseline:
  ref: "59bb7b2e77"
changed:
  ref: "59bb7b2e77"

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

Comparing 59bb7b2 (59bb7b2) to 59bb7b2 diff

Run configuration
run benchmark tpch
env:
  DATAFUSION_RUNTIME_MEMORY_LIMIT: "4G"
baseline:
  ref: "59bb7b2e77"
changed:
  ref: "59bb7b2e77"
CPU Details (lscpu)
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 HEAD and bench_pool-peak-noop-check
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ bench_pool-peak-noop-check ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 38.41 ms │                   38.09 ms │     no change │
│ QQuery 2  │ 19.06 ms │                   19.17 ms │     no change │
│ QQuery 3  │ 31.20 ms │                   30.63 ms │     no change │
│ QQuery 4  │ 17.49 ms │                   17.55 ms │     no change │
│ QQuery 5  │ 40.23 ms │                   37.24 ms │ +1.08x faster │
│ QQuery 6  │ 16.24 ms │                   16.10 ms │     no change │
│ QQuery 7  │ 43.43 ms │                   43.53 ms │     no change │
│ QQuery 8  │ 43.50 ms │                   42.72 ms │     no change │
│ QQuery 9  │ 49.69 ms │                   49.00 ms │     no change │
│ QQuery 10 │ 42.33 ms │                   42.32 ms │     no change │
│ QQuery 11 │ 13.40 ms │                   13.18 ms │     no change │
│ QQuery 12 │ 24.50 ms │                   23.65 ms │     no change │
│ QQuery 13 │ 31.91 ms │                   32.51 ms │     no change │
│ QQuery 14 │ 23.56 ms │                   23.38 ms │     no change │
│ QQuery 15 │ 31.19 ms │                   30.85 ms │     no change │
│ QQuery 16 │ 13.84 ms │                   13.64 ms │     no change │
│ QQuery 17 │ 70.05 ms │                   70.45 ms │     no change │
│ QQuery 18 │ 57.91 ms │                   55.59 ms │     no change │
│ QQuery 19 │ 33.24 ms │                   32.58 ms │     no change │
│ QQuery 20 │ 31.58 ms │                   31.42 ms │     no change │
│ QQuery 21 │ 53.97 ms │                   54.92 ms │     no change │
│ QQuery 22 │ 13.68 ms │                   13.62 ms │     no change │
└───────────┴──────────┴────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                         │ 740.40ms │
│ Total Time (bench_pool-peak-noop-check)   │ 732.12ms │
│ Average Time (HEAD)                       │  33.65ms │
│ Average Time (bench_pool-peak-noop-check) │  33.28ms │
│ Queries Faster                            │        1 │
│ Queries Slower                            │        0 │
│ Queries with No Change                    │       21 │
│ Queries with Failure                      │        0 │
└───────────────────────────────────────────┴──────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and bench_pool-peak-noop-check
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃     bench_pool-peak-noop-check ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 38.41 / 39.35 ±1.46 / 42.24 ms │ 38.09 / 38.69 ±1.00 / 40.68 ms │ no change │
│ QQuery 2  │ 19.06 / 19.59 ±0.61 / 20.66 ms │ 19.17 / 19.48 ±0.22 / 19.73 ms │ no change │
│ QQuery 3  │ 31.20 / 33.22 ±1.12 / 34.50 ms │ 30.63 / 32.35 ±1.51 / 34.23 ms │ no change │
│ QQuery 4  │ 17.49 / 17.60 ±0.12 / 17.83 ms │ 17.55 / 17.85 ±0.38 / 18.56 ms │ no change │
│ QQuery 5  │ 40.23 / 41.33 ±1.32 / 43.09 ms │ 37.24 / 39.84 ±1.34 / 40.97 ms │ no change │
│ QQuery 6  │ 16.24 / 17.21 ±1.02 / 18.56 ms │ 16.10 / 16.38 ±0.18 / 16.58 ms │ no change │
│ QQuery 7  │ 43.43 / 45.46 ±1.29 / 47.31 ms │ 43.53 / 45.86 ±1.30 / 47.38 ms │ no change │
│ QQuery 8  │ 43.50 / 44.55 ±0.93 / 46.10 ms │ 42.72 / 43.45 ±1.17 / 45.78 ms │ no change │
│ QQuery 9  │ 49.69 / 50.39 ±0.73 / 51.78 ms │ 49.00 / 50.57 ±1.47 / 53.25 ms │ no change │
│ QQuery 10 │ 42.33 / 42.63 ±0.22 / 43.01 ms │ 42.32 / 43.71 ±0.86 / 44.85 ms │ no change │
│ QQuery 11 │ 13.40 / 13.54 ±0.19 / 13.88 ms │ 13.18 / 13.42 ±0.19 / 13.71 ms │ no change │
│ QQuery 12 │ 24.50 / 24.69 ±0.17 / 24.95 ms │ 23.65 / 23.97 ±0.29 / 24.36 ms │ no change │
│ QQuery 13 │ 31.91 / 34.27 ±1.60 / 36.64 ms │ 32.51 / 34.00 ±1.08 / 35.36 ms │ no change │
│ QQuery 14 │ 23.56 / 23.66 ±0.08 / 23.77 ms │ 23.38 / 23.55 ±0.15 / 23.79 ms │ no change │
│ QQuery 15 │ 31.19 / 31.40 ±0.21 / 31.77 ms │ 30.85 / 31.83 ±0.81 / 32.88 ms │ no change │
│ QQuery 16 │ 13.84 / 13.99 ±0.12 / 14.18 ms │ 13.64 / 13.83 ±0.23 / 14.28 ms │ no change │
│ QQuery 17 │ 70.05 / 70.60 ±0.38 / 71.09 ms │ 70.45 / 71.54 ±1.24 / 73.08 ms │ no change │
│ QQuery 18 │ 57.91 / 59.89 ±2.39 / 64.60 ms │ 55.59 / 60.22 ±3.55 / 66.21 ms │ no change │
│ QQuery 19 │ 33.24 / 33.54 ±0.28 / 34.05 ms │ 32.58 / 33.06 ±0.46 / 33.91 ms │ no change │
│ QQuery 20 │ 31.58 / 32.29 ±0.51 / 33.12 ms │ 31.42 / 31.99 ±0.63 / 33.18 ms │ no change │
│ QQuery 21 │ 53.97 / 56.05 ±1.22 / 57.68 ms │ 54.92 / 56.43 ±1.08 / 58.27 ms │ no change │
│ QQuery 22 │ 13.68 / 13.96 ±0.19 / 14.23 ms │ 13.62 / 14.00 ±0.20 / 14.25 ms │ no change │
└───────────┴────────────────────────────────┴────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                         ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                         │ 759.19ms │
│ Total Time (bench_pool-peak-noop-check)   │ 755.99ms │
│ Average Time (HEAD)                       │  34.51ms │
│ Average Time (bench_pool-peak-noop-check) │  34.36ms │
│ Queries Faster                            │        0 │
│ Queries Slower                            │        0 │
│ Queries with No Change                    │       22 │
│ Queries with Failure                      │        0 │
└───────────────────────────────────────────┴──────────┘

Memory Pool Peaks

Peak MemoryPool reservation per query — what DataFusion's accounting believes it reserved. Recorded only when the benchmark runs with DATAFUSION_RUNTIME_MEMORY_LIMIT set.

Base: 59bb7b2e77 | Changed: 59bb7b2e77

tpchtpch_sf1

Query Base Changed Change
Query 1 20.0 MiB 30.0 MiB +50.0%
Query 2 25.1 MiB 25.4 MiB +1.4%
Query 3 17.8 MiB 19.9 MiB +12.3%
Query 4 23.3 MiB 23.7 MiB +1.6%
Query 5 36.6 MiB 32.9 MiB -10.3%
Query 6 0 B 0 B 0.0%
Query 7 102.2 MiB 107.9 MiB +5.6%
Query 8 32.2 MiB 31.1 MiB -3.5%
Query 9 130.7 MiB 130.4 MiB -0.3%
Query 10 36.2 MiB 36.2 MiB -0.0%
Query 11 21.2 MiB 21.9 MiB +3.3%
Query 12 10.6 MiB 11.2 MiB +5.3%
Query 13 40.0 MiB 40.0 MiB -0.0%
Query 14 7.2 MiB 7.1 MiB -1.8%
Query 15 12.2 MiB 12.2 MiB +0.0%
Query 16 34.3 MiB 44.5 MiB +29.7%
Query 17 141.3 MiB 141.3 MiB +0.0%
Query 18 306.8 MiB 306.8 MiB +0.0%
Query 19 721.1 KiB 721.1 KiB +0.0%
Query 20 72.4 MiB 75.4 MiB +4.1%
Query 21 81.1 MiB 86.2 MiB +6.2%
Query 22 22.5 MiB 23.2 MiB +2.8%

Pool accounting vs. process RSS

Max pool peak is the largest reservation any single query in the run reached; peak RSS covers the whole invocation, including data loading and allocator retention, and the two high-water marks need not coincide in time. The gap is therefore an upper bound on what the pool did not account for, not a measurement of it.

Benchmark Side Max pool peak Peak RSS Gap RSS / pool
tpch base (59bb7b2e77) 306.8 MiB 1.3 GiB 989.0 MiB 4.2×
tpch changed (59bb7b2e77) 306.8 MiB 1.2 GiB 904.4 MiB 3.9×
Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.3 GiB
Avg memory 530.8 MiB
CPU user 21.8s
CPU sys 1.7s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 523.8 MiB
CPU user 21.4s
CPU sys 1.7s
Peak spill 0 B

File an issue against this benchmark runner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants