-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[improvement](bitshuffle)Enable avx512 support in bitshuffle for performance boost #15972
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
901867e
to
9c823b3
Compare
|
9c823b3
to
82aeafc
Compare
|
82aeafc
to
3fb4135
Compare
|
3fb4135
to
ce4c8a7
Compare
@morningman Could you help make the workflow run ? It seems need maintainers' approval |
Done. |
Hi @HackToday , thanks for your contribution. Some workflows failed because we didn't build the third-party libraries in workflow. We fetched the docker image of pre-built third-party libraries and built the project against the libraries. In order to fix these checks, you should split this pull request into two pieces. One is for upgrading the package |
Hi @adonis0147 do you mean two separate PRs ? One PR for upgrading bitshuffle, and another for changing BE (until first PR merged)? |
Yes. |
@adonis0147 The first split PR is here: #15993 |
In order to use AVX512 instructions. See #15972
ce4c8a7
to
7bb62f3
Compare
@adonis0147 hi, I am not sure the difference in Doris github run vs host run. In my local env, I can build and run ut successfully. The attached file is ut run in my local host. but doris github in teamcity would complain with error |
Hi @HackToday , sorry to confuse you. The source of the pre-built third-party libraries which GitHub workflows use differs from the one TeamCity workflows use. GitHub workflows use the pre-built third-party libraries from Apache Doris Third Party Prebuilt and these libraries are up to date. However, TeamCity workflows use ones from the Docker image apache/doris:build-env-ldb-toolchain-latest and they are obsolete now. That is the reason why your checks failed. In short, just wait patiently and I will let you re-trigger all these checks when everything is ready. By the way, would you like resolve the previous comments? |
hi @adonis0147 Have resolved. Please help check. Thanks. |
Hi @HackToday , the Docker image has been updated. Please rebase the branch on master to re-trigger the checks. |
7bb62f3
to
e2cc3d5
Compare
TeamCity pipeline, clickbench performance test result: |
hi @adonis0147 Have rebased. Not quite sure the Po regression failed reason:
It seems not related. How to rerun the P0 case or something else ? |
Hi @HackToday , these errors indicated that the workflow built the codebase successfully, but some cases failed. They are irrelevant to this PR and we are resolving them now. |
Hi @HackToday , it seems that we have resolved the issues with the workflows. Please rebase the branch on the latest master to trigger the checks again. |
e2cc3d5
to
faf42d0
Compare
…ormance boost Signed-off-by: Wu, Kaiqiang <kaiqiang.wu@intel.com> Co-authored-by: vesslanjin <jun.i.jin@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
In order to use AVX512 instructions. See apache#15972
…ormance boost (apache#15972) As AVX512 is available in most modern processors, it is good to use them if have performance boost. In latest bitshuffle, AVX512 have been added. We could make it integrated in doris for AVX512 case. Tested with master branch, queries(SSB query q1.1.sql~q4.3.sql total 13 queries) can be boost from 1.4%~3.2%. (use run-ssb-queries.sh 5 times, each time with 100 iterations.) Signed-off-by: Wu, Kaiqiang <kaiqiang.wu@intel.com> Co-authored-by: vesslanjin <jun.i.jin@intel.com>
…ormance boost (apache#15972) As AVX512 is available in most modern processors, it is good to use them if have performance boost. In latest bitshuffle, AVX512 have been added. We could make it integrated in doris for AVX512 case. Tested with master branch, queries(SSB query q1.1.sql~q4.3.sql total 13 queries) can be boost from 1.4%~3.2%. (use run-ssb-queries.sh 5 times, each time with 100 iterations.) Signed-off-by: Wu, Kaiqiang <kaiqiang.wu@intel.com> Co-authored-by: vesslanjin <jun.i.jin@intel.com>
@HackToday A avx512 related bug #24145 is reported. Would you analyse and fix this problem? |
Revert this PR and wait for further fix. |
@xiaokang sure, I have leave comment on the issue. I would double check if arch special issue or something else. Thanks |
…ormance boost (apache#15972) As AVX512 is available in most modern processors, it is good to use them if have performance boost. In latest bitshuffle, AVX512 have been added. We could make it integrated in doris for AVX512 case. Tested with master branch, queries(SSB query q1.1.sql~q4.3.sql total 13 queries) can be boost from 1.4%~3.2%. (use run-ssb-queries.sh 5 times, each time with 100 iterations.) Signed-off-by: Wu, Kaiqiang <kaiqiang.wu@intel.com> Co-authored-by: vesslanjin <jun.i.jin@intel.com> Change-Id: Iec7a7e6640ef9c3873b3f966e9c7f42d25d2e73e
Signed-off-by: Wu, Kaiqiang kaiqiang.wu@intel.com
Co-authored-by: vesslanjin jun.i.jin@intel.com
Proposed changes
Issue Number: close #xxx
Problem summary
As AVX512 is available in most modern processors, it is good to use them if have performance boost.
In latest bitshuffle, AVX512 have been added. We could make it integrated in doris for AVX512 case.
Tested with master branch, queries(SSB query q1.1.sql~q4.3.sql total 13 queries) can be boost from 1.4%~3.2%. (use run-ssb-queries.sh 5 times, each time with 100 iterations.)
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...