-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: Remove same page hack for simdStrstr #11553
Conversation
Summary: The hack is breaking ASAN check, removing it does not give huge performance loss though so we remove it. Benchmark results before vs after change: https://gist.github.com/Yuhta/b3f66e85d52b62240c09c15d6e7941bb Differential Revision: D66012678
This pull request was exported from Phabricator. Differential Revision: D66012678 |
✅ Deploy Preview for meta-velox canceled.
|
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 , thanks JImmy!
This pull request has been merged in 0a422f7. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
This may not guarantee that simdstrstr will always be faster than std in most cases. Doing so will always lose the last batch. tpchQuery13 54.72ms 18.28 tpchQuery13 27.57ms 36.27 |
@skadilover Are we slower than std in such cases? It probably should not be because the fallback is std. I tried a few annotations to skip ASAN on the memory load without success, maybe you can give it a try when you have time. |
@Yuhta now : Q13`s string-filter is the case that unmatch more frequently |
So you mean the code before will trigger ASAN check failed ?
Could you detail how to reproduce it? Share the compile flag you used ? I tried add -fsanitize=address, LikeTpchBenchmark.cpp will always failed (remove or not remove the hack code), seems nothing to do with this: |
@Yuhta |
@skadilover Yes it's the xsimd load_unaligned that triggers ASAN |
Summary: Pull Request resolved: facebookincubator#11553 The hack is breaking ASAN check, removing it does not give huge performance loss though so we remove it. Benchmark results before vs after change: https://gist.github.com/Yuhta/b3f66e85d52b62240c09c15d6e7941bb Reviewed By: kevinwilfong Differential Revision: D66012678 fbshipit-source-id: 107ae9e715ff5edd20707fb49b970ae5d3190559
Summary:
The hack is breaking ASAN check, removing it does not give huge
performance loss though so we remove it.
Benchmark results before vs after change:
https://gist.github.com/Yuhta/b3f66e85d52b62240c09c15d6e7941bb
Differential Revision: D66012678