andygrove opened a new issue, #7864: URL: https://github.com/apache/datafusion-comet/issues/7864
Goal: close the gap between Comet and the fastest Spark accelerators on large TPC-DS runs, starting with the causes DataFlint found in Onehouse's 10 TB benchmark. ### Background Onehouse ran TPC-DS 10 TB on one cluster (10 executors × 16 cores, 59.4 GB pods, Iceberg tables on S3, Spark 4.1.3, one round with no warmup). DataFlint analyzed the event logs: [Comet vs Spark 4.1](https://medium.com/@menishmueli/apache-comet-vs-spark-4-1-the-10-tb-tpc-ds-benchmark-analyzed-with-dataflint-232dd4ed6f91), [Quanton vs Spark 4.1](https://medium.com/@menishmueli/onehouse-quanton-vs-spark-4-1-the-10-tb-tpc-ds-benchmark-analyzed-with-dataflint-f087e7864bdf). | Engine | Speedup over Spark 4.1.3 | Failures | |---|---|---| | Comet 1.2.0, defaults | 1.26× | q14a, q14b, q50; 14 executors killed | | Comet 1.2.0, four settings tuned | 1.48× | q14a, q14b | | Onehouse Quanton | 5.8× | none | Tuned Comet made scan stages 1.4× cheaper and post-shuffle stages 2× cheaper, while Quanton cut both by more than 6×. DataFlint attributes most of the difference to the plan, the join strategy and the memory model, not to faster operators. These are one vendor-run round each, so each child should confirm its cause on our own runs before the fix is sized. ### Plan - [ ] #7860 Merge repeated scans of the same table (q9 scans `store_sales` 16 times; q28, q88) - [ ] #5834 Keep Spark 4.2's merged subplans on Comet (struct-typed scalar subquery) ### Joins - [ ] #2545 Spilling in hash joins, so `forceShuffledHashJoin` can be on by default (hash joins took q93 from 652 s to 138 s; tuned Comet still kept 72 sort-merge joins, and those are its slowest queries) - [ ] #7861 Native sort-merge join fails on memory it can't spill in q14a and q14b ### Memory - [ ] #7862 Default memory layout gets executors OOM-killed (exit 137) where Spark completes - [ ] #7108 glibc keeps several GiB of freed native memory - [ ] #7344 Evaluate jemalloc as the default allocator ### Scan - [ ] #7863 Run native Iceberg scans as fewer, larger tasks (1.26M tasks across the suite vs 177k for Quanton) - [ ] #7859 [EPIC] Native scan I/O performance on object stores -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
