Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change aggregation of executor CPU and run time for Qualification tool to speed up query #2620

Merged
merged 11 commits into from
Jun 8, 2021

Conversation

tgravescs
Copy link
Collaborator

Running the qualification tool over all nds results and having it include the executor cpu time percent was taking about 45 minutes and required 30G driver memory. To address this I changed the way we aggregate those metrics just for the qualification side so that we don't need to keep all tasks and create the individual tasks table. Now it just aggregates them up per stage on the fly and we can simply look it up per stage and aggregate them based on that. That improved the run time to be about 15 minutes and I used 5G memory (I might be able to use less, this is what I set it at).

since the performance is better I turned it on by default and changed config to allow removing it if you don't want it for some reason.

@tgravescs tgravescs added the task Work required that improves the product but is not user facing label Jun 7, 2021
@tgravescs tgravescs added this to the June 7 - June 18 milestone Jun 7, 2021
@tgravescs tgravescs self-assigned this Jun 7, 2021
@nartal1
Copy link
Collaborator

nartal1 commented Jun 7, 2021

build

@tgravescs tgravescs merged commit b94d5a2 into NVIDIA:branch-21.06 Jun 8, 2021
@tgravescs tgravescs deleted the qualperf branch June 8, 2021 00:29
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
…l to speed up query (NVIDIA#2620)

* Aggregate task metrics for qualification

Signed-off-by: Thomas Graves <tgraves@apache.org>

* change to put times in the existing stages df

* update default and fix query

* rename columns

* update tests for new calculation exec cpu time

* update comment

* cleanup

* Update docs and default param

* update readme and comment

* update spark-shell for qualification
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
…l to speed up query (NVIDIA#2620)

* Aggregate task metrics for qualification

Signed-off-by: Thomas Graves <tgraves@apache.org>

* change to put times in the existing stages df

* update default and fix query

* rename columns

* update tests for new calculation exec cpu time

* update comment

* cleanup

* Update docs and default param

* update readme and comment

* update spark-shell for qualification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Work required that improves the product but is not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants