Skip to content

[QST] Question about tuning #5341

Answered by tgravescs
tregodev asked this question in General
Discussion options

You must be logged in to vote

we try to explain this in this section: https://nvidia.github.io/spark-rapids/docs/tuning-guide.html#number-of-tasks-per-executor. Sounds like we need to clarify it more.

spark.task.resource.gpu.amount

This controls how many tasks can run per executor on the CPU side. Our plugin only supports 1 GPU per executor so this is the reciprocal of how many tasks you want on the CPU which is conotrolled by the spark.executor.cores configuration. So in your case you have 5 cores per executor which means you can have 5 tasks per executor if spark.task.resource.gpu.amount is set to 1/5. This is purely on the Spark side how it does the scheduling without the Rapids plugin enabled. if you change eith…

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 #2962 on April 27, 2022 16:58.