You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "WuZeyi (Jira)" <ji...@apache.org> on 2019/10/23 01:21:00 UTC

[jira] [Updated] (SPARK-29553) This problemis about using native BLAS to improvement ML/MLLIB performance

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

WuZeyi updated SPARK-29553:
---------------------------
    Description: 
I use {color:#ff0000}native BLAS{color} to improvement ML/MLLIB performance on Yarn.

The file {color:#ff0000}spark-env.sh{color} which is modified by SPARK-21305 said that I should set {color:#ff0000}OPENBLAS_NUM_THREADS=1{color} to disable multi-threading of OpenBLAS, but it does not take effect.

I modify {color:#ff0000}spark.conf{color} to set  {color:#FF0000}spark.executorEnv.OPENBLAS_NUM_THREADS=1{color},and the performance improve.
  
  
 I think MKL_NUM_THREADS is the same.
  

  was:
I use {color:#FF0000}native BLAS{color} to improvement ML/MLLIB performance on Yarn.

The file {color:#FF0000}spark-env.sh{color} which is modified by [SPARK-21305] said that I should set {color:#FF0000}OPENBLAS_NUM_THREADS=1{color} to disable multi-threading of OpenBLAS, but it does not take effect.

I modify {color:#FF0000}spark.conf{color} to set  OPENBLAS_NUM_THREADS=1,and the performance improve.
 
 
I think MKL_NUM_THREADS is the same.
 


> This problemis about using native BLAS to improvement ML/MLLIB performance
> --------------------------------------------------------------------------
>
>                 Key: SPARK-29553
>                 URL: https://issues.apache.org/jira/browse/SPARK-29553
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, MLlib
>    Affects Versions: 2.3.0, 2.4.4
>            Reporter: WuZeyi
>            Priority: Major
>              Labels: performance
>
> I use {color:#ff0000}native BLAS{color} to improvement ML/MLLIB performance on Yarn.
> The file {color:#ff0000}spark-env.sh{color} which is modified by SPARK-21305 said that I should set {color:#ff0000}OPENBLAS_NUM_THREADS=1{color} to disable multi-threading of OpenBLAS, but it does not take effect.
> I modify {color:#ff0000}spark.conf{color} to set  {color:#FF0000}spark.executorEnv.OPENBLAS_NUM_THREADS=1{color},and the performance improve.
>   
>   
>  I think MKL_NUM_THREADS is the same.
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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