GitHub user mpjlu opened a pull request:

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

    [SPARK-21305][ML][MLLIB]Add options to disable multi-threading of native 
BLAS

    ## What changes were proposed in this pull request?
    
    Many ML/MLLIB algorithms use native BLAS (like Intel MKL, ATLAS, OpenBLAS) 
to improvement the performance. 
    Many popular Native BLAS, like Intel MKL, OpenBLAS, use multi-threading 
technology, which will conflict with Spark.  Spark should provide options to 
disable multi-threading of Native BLAS.
    
    https://github.com/xianyi/OpenBLAS/wiki/faq#multi-threaded
    
https://software.intel.com/en-us/articles/recommended-settings-for-calling-intel-mkl-routines-from-multi-threaded-applications
    
    ## 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 optimzeBLAS

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

    https://github.com/apache/spark/pull/18551.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 #18551
    
----
commit d0d94e117e5ce6b69a44299ee1ef180df1935aab
Author: Peng Meng <[email protected]>
Date:   2017-07-06T07:51:10Z

    disable multi-threading in spark-env.sh

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to