GitHub user mpjlu opened a pull request:

    https://github.com/apache/spark/pull/17739

    [SPARK-20443][MLLIB][ML] set ALS blockify size

    ## What changes were proposed in this pull request?
    
    
    The blockSize of MLLIB ALS is very important for ALS performance.
    In our test, when the blockSize is 128, the performance is about 4X 
comparing with the blockSize is 4096 (default value).
    The following are our test results:
    BlockSize(recommendationForAll time)
    128(124s), 256(160s), 512(184s), 1024(244s), 2048(332s), 4096(488s), 
8192(OOM)
    
    The Test Environment:
    3 workers: each work 10 core, each work 30G memory, each work 1 executor.
    The Data: User 48W, and Item 1.7W
    
    
    ## How was this patch tested?
    The existing UT


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mpjlu/spark setAlsBlockSize

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/17739.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17739
    
----
commit 78e060e3455ecdc95fdedb6adccc0a375188e2d5
Author: Peng <peng.m...@intel.com>
Date:   2017-04-24T05:01:13Z

    set ALS blockify size

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to