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

[BUG] 50% performance regression in concatenate for string columns observed in 21.08 #8960

Closed
abellina opened this issue Aug 4, 2021 · 1 comment · Fixed by #8968
Closed
Labels
bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. Performance Performance related issue Spark Functionality that helps Spark RAPIDS

Comments

@abellina
Copy link
Contributor

abellina commented Aug 4, 2021

In the Spark plugin we saw an issue where calls to cudf concatenate (NVIDIA/spark-rapids#3135) caused Q4 derived from TPCDS to be 50% slower (~40 seconds from 20 seconds observed with cudf 21.06).

The issue is described in the ticket referred above, but I repeat here a couple of traces for context:

21.08 before the fix:
image

Dave's development branch with the fix:
image

The main issue we saw was tiny (~4 Byte) DtoH copies to pageable memory before the concatenate kernel really runs.

The code change is fairly simple: https://github.com/nvdbaranec/cudf/tree/concat_performance, we'd like to propose it be included in cuDF 21.08 if at all possible.

@abellina abellina added bug Something isn't working Needs Triage Need team to review and classify labels Aug 4, 2021
@jlowe jlowe added libcudf Affects libcudf (C++/CUDA) code. Performance Performance related issue Spark Functionality that helps Spark RAPIDS labels Aug 4, 2021
@harrism
Copy link
Member

harrism commented Aug 4, 2021

Here's a better link to the code changes. nvdbaranec@25d2d11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. Performance Performance related issue Spark Functionality that helps Spark RAPIDS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants