You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nick Pentreath (JIRA)" <ji...@apache.org> on 2017/02/27 11:50:48 UTC

[jira] [Commented] (SPARK-11968) ALS recommend all methods spend most of time in GC

    [ https://issues.apache.org/jira/browse/SPARK-11968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15885636#comment-15885636 ] 

Nick Pentreath commented on SPARK-11968:
----------------------------------------

While working on performance testing for ALS parity I've got a possible solution for this.

Will update once I have some more concrete numbers.

> ALS recommend all methods spend most of time in GC
> --------------------------------------------------
>
>                 Key: SPARK-11968
>                 URL: https://issues.apache.org/jira/browse/SPARK-11968
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, MLlib
>    Affects Versions: 1.5.2, 1.6.0
>            Reporter: Joseph K. Bradley
>            Assignee: Nick Pentreath
>
> After adding recommendUsersForProducts and recommendProductsForUsers to ALS in spark-perf, I noticed that it takes much longer than ALS itself.  Looking at the monitoring page, I can see it is spending about 8min doing GC for each 10min task.  That sounds fixable.  Looking at the implementation, there is clearly an opportunity to avoid extra allocations: [https://github.com/apache/spark/blob/e6dd237463d2de8c506f0735dfdb3f43e8122513/mllib/src/main/scala/org/apache/spark/mllib/recommendation/MatrixFactorizationModel.scala#L283]
> CC: [~mengxr]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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