Skip to content

Do tasks run in parallel or sequential in one executor? #5337

Answered by tgravescs
HaoYang670 asked this question in General
Discussion options

You must be logged in to vote

the parallelism overall on the executor is first controlled by the number of cores given to the executor, how many does the executor have? you said the machine has 16 but were all of those allocated to your 1 executor? Easiest way to check is look at the executors UI page.
If that had 16 cores that means Spark could have started 16 tasks in parallel on that executor and the spark.rapids.sql.concurrentGpuTasks does control how many of those tasks are allowed to run on the GPU concurrently. So it should control the max parallelism of tasks run concurrently on the GPU.

more information on this at: https://nvidia.github.io/spark-rapids/docs/tuning-guide.html#number-of-tasks-per-executor

Also …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sameerz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #4332 on April 27, 2022 16:44.