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

Allow parallel optimizations in Qdrant after uploading #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timvisee
Copy link
Member

@timvisee timvisee commented Oct 2, 2024

The max_optimization_threads parameter is currently configured incorrectly after uploading, and this does not allow parallel optimizations.

This PR sets it to a high value so that we do use parallel optimizations as it'll likely result in better results. Note that setting such high limit is fine, because in practice we're still limited by CPU budget. We cannot set it back to null through this API.

On my machine with 24 CPUs I now see 3 parallel optimizations, rather than just 1. The indexing time is more than 2 times quicker.

Am I correct that the benchmark machine we used for the public results does not have more than 8 CPU cores? If we did have more cores, we should probably redo the benchmarks.

@filipecosta90
Copy link
Contributor

@timvisee have you noticed: #163 that solved it, plus included backoff to avoid any errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants