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
Enable multithreaded SI in fullscan, but limit threads #1321
Comments
➤ Ilya Kuznetsov commented: TODO: add benchmarks of FT+SI with thread limit |
➤ Ilya Kuznetsov commented: Some benchmarks of FT+SI:
Performance peaks out around 8 threads and either stays the same with more threads or gets worse. |
➤ Ilya Kuznetsov commented: More benchmarks of fullscan+SI:
As in the previous fullscan+SI query, performance peaks at 6 threads. |
➤ Ilya Kuznetsov commented: Mostly done in f6ea68b1 (cbo_cutoff branch). |
➤ Ilya Kuznetsov commented: Modified CBO to support multithreaded SI in d2425a9 If this results in performance issues, open a new issue. |
With the latest optimizations that I did in SI (#3610) it makes sense to enabled multithreaded execution of fullscan queries with SI. However, there are some caveats. Here's an example:
These are benchmarks from i7-11800H (8/16 cores). Looks like query gets best results when running on 6 cores. When the number of threads exceeds the number of physical cores, performance goes downhill.
We need more benchmarks on other queries. If the results look similar, it makes sense to enable multithreaded execution of fullscan queries with SI, but with some thread limit.
The text was updated successfully, but these errors were encountered: