You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/06/04 03:05:00 UTC

[jira] [Assigned] (SPARK-32184) Performance regression on TPCH Q18 in 3.0 - ~20% slower than 2.4

     [ https://issues.apache.org/jira/browse/SPARK-32184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-32184:
------------------------------------

    Assignee:     (was: Apache Spark)

> Performance regression on TPCH Q18 in 3.0 - ~20% slower than 2.4
> ----------------------------------------------------------------
>
>                 Key: SPARK-32184
>                 URL: https://issues.apache.org/jira/browse/SPARK-32184
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>         Environment: spark 2.4 and spark 3.0 are using the same configurations
>  * spark.driver.memory 20g
>  * spark.executor.memory 20g
>  * spark.executor.cores 7
>  * spark.executor.memoryOverhead 3g
>  * spark.sql.shuffle.partitions 384
>            Reporter: Yuan Zhou
>            Priority: Major
>         Attachments: 2.4.png, 3.0.png
>
>
> Hi Spark developers,
> Testing with the new Spark 3.0.0 here and found some performance regression on TPCH Q18. Spark 2.4 seems can "reuse" the HashAgg results in two SMJ, while Spark 3.0.0 needs to calculate this results twice. I tried to search the documentation but no turnings found on this. 
> Here's the SQL diagram for 2.4. The 2nd exchange on the top right corner was reused.   !2.4.png!
> Here's the diagram for 3.0. The 1st exchange on top-right corner was reused. 
> !3.0.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org