spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhoukang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-26514) Introduce a new conf to improve the task parallelism
Date Tue, 01 Jan 2019 05:08:00 GMT
zhoukang created SPARK-26514:
--------------------------------

             Summary: Introduce a new conf to improve the task parallelism
                 Key: SPARK-26514
                 URL: https://issues.apache.org/jira/browse/SPARK-26514
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.4.0, 2.1.0
            Reporter: zhoukang


Currently, we have a conf below.
{code:java}
private[spark] val CPUS_PER_TASK = ConfigBuilder("spark.task.cpus").intConf.createWithDefault(1)
{code}
For some applications which are not cpu-intensive,we may want to let one cpu to run more than
one task.
Like:
{code:java}
private[spark] val TASKS_PER_CPU = ConfigBuilder("spark.cpu.tasks").intConf.createWithDefault(1)
{code}
Which can improve performance for some applications and can also improve resource utilization




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message