Repository navigation
perf(repartition): remove grouped routing overhead - #27741
Rich-T-kid wants to merge 4 commits into
Conversation
Signed-off-by: Richard Baah <richiebbaah@Gmail.com>
Signed-off-by: Richard Baah <richiebbaah@Gmail.com>
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
run benchmark tpch env: |
|
Hi @Rich-T-kid, thanks for the request (#27741 (comment)). You already have 15 pending benchmark job(s), and this request would add 1 more — exceeding the per-user queue limit of 15. Please wait for some of your current runs to finish before submitting more. File an issue against this benchmark runner |
|
show benchmark queue |
|
Hi @Rich-T-kid, you asked to view the benchmark queue (#27741 (comment)).
File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "8"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "24"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "16"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "12"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "64"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "8"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "96"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "24"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "16"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "12"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "64"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "32"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "96"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "256"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "192"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "128"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "512"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "32"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "192"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "256"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "128"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "512"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
run benchmark tpch env: |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "384"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"Results will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing 01bd1d8 (01bd1d8) to 8a4e97e diff Run configurationrun benchmark tpch
env:
DATAFUSION_EXECUTION_TARGET_PARTITIONS: "384"
baseline:
ref: "8a4e97e53ebee18e6761dd67f4dd4e92caf244c6"
changed:
ref: "01bd1d8c45a4f852121250825199379f244774c2"CPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
Which issue does this PR close?
N/A — stacked performance follow-up to #27707.
Rationale for this change
This PR is stacked on #27707 at
8a4e97e53ebee18e6761dd67f4dd4e92caf244c6.Indexed output removed row materialization, but grouped hash/range output still builds a temporary collection before routing each selection and uses a hash map for dense output-partition lookup. This adds overhead as the number of output partitions grows.
What changes are included in this PR?
PartitioningOutput::Groupeddirectly to the coalescer.Vec<Option<OutputChannel>>with a live-channel count for output routing and early receiver removal.The stable counting-scatter experiment is intentionally excluded: it materially regressed skewed routing.
What is the testing strategy for this PR?
cargo test -p datafusion-physical-plan repartition::tests --libcargo clippy -p datafusion-physical-plan --all-targets --all-features -- -D warningscargo fmt --allandgit diff --checkA disposable
RepartitionExecharness compared this branch with8a4e97e5over 16 input partitions, 1,048,576 rows, 8 payload columns, uniform and 90% all-to-one skew. Every run checked row count and payload checksum; indexed rows matched (1,048,576) in all cases. Each pair reversed revision order. Negative is faster; sub-1% results are unresolved.Peak/average RSS was recorded for each case; it had no consistent direction. The full TPC-H partition matrix is being run by the benchmark bot against the exact stacked base.
Are there any user-facing changes?
No.