[
https://issues.apache.org/jira/browse/SPARK-62243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-62243:
-----------------------------------
Labels: pull-request-available (was: )
> GraphX LabelPropagation is slow and memory heavy on 1st iteration
> -----------------------------------------------------------------
>
> Key: SPARK-62243
> URL: https://issues.apache.org/jira/browse/SPARK-62243
> Project: Spark
> Issue Type: Task
> Components: Graph
> Affects Versions: 4.5.0
> Reporter: Sem Sinchenko
> Priority: Major
> Labels: pull-request-available
>
> The GraphX LabelPropagation send messages as `Map[VertexId, Long]` and inside
> the merge it allocates a new Map + iterate keys. This leads to:
> * huge state on first iteration, a VertexId -> 1L mapping of size
> num-neighbors
> * ~quadratic complexity
> * slow merge map
> * huge GC pressure from allocation new Map in each merge
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]