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

Enabled concurrent graph creation for Lucene engine with index thread qty settings #2480

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

navneet1v
Copy link
Collaborator

Description

Enabled concurrent graph creation for Lucene engine with index thread qty settings

Related Issues

Resolves #1581

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@navneet1v navneet1v added Enhancements Increases software capabilities beyond original client specifications skip-changelog labels Jan 31, 2025
@navneet1v navneet1v changed the title Enabled concurrent graph creation for Lucene engine with index thread… Enabled concurrent graph creation for Lucene engine with index thread qty settings Jan 31, 2025
@navneet1v navneet1v added indexing-improvements This label should be attached to all the github issues which will help improving the indexing time. and removed skip-changelog labels Jan 31, 2025
@navneet1v navneet1v marked this pull request as ready for review January 31, 2025 23:24
Vikasht34
Vikasht34 previously approved these changes Feb 1, 2025
@navneet1v navneet1v force-pushed the 2.x branch 2 times, most recently from dc3dbd0 to 68fb964 Compare February 1, 2025 00:40
@navneet1v
Copy link
Collaborator Author

Merging the change in 2.x branch since 2.19 is cut off. and I will work with release owner to see if we can put this change in 2.19

@navneet1v navneet1v merged commit d22f1ae into opensearch-project:2.x Feb 3, 2025
105 checks passed
@opensearch-trigger-bot
Copy link
Contributor

The backport to main failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-main main
# Navigate to the new working tree
cd .worktrees/backport-main
# Create a new branch
git switch --create backport/backport-2480-to-main
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 d22f1aeee7a44f5e88c9693b84ffd81a7cc312ae
# Push it to GitHub
git push --set-upstream origin backport/backport-2480-to-main
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-main

Then, create a pull request where the base branch is main and the compare/head branch is backport/backport-2480-to-main.

opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 3, 2025
… qty settings (#2480)

Signed-off-by: Navneet Verma <[email protected]>
(cherry picked from commit d22f1ae)
navneet1v added a commit that referenced this pull request Feb 3, 2025
… qty settings (#2480) (#2488)

Signed-off-by: Navneet Verma <[email protected]>
(cherry picked from commit d22f1ae)

Co-authored-by: Navneet Verma <[email protected]>
@navneet1v
Copy link
Collaborator Author

The changes for this feature is merged and based on the nighly run I can see the performance of the Force merge has improved. Nightly runs uses index_thread_qty as 2. and now with this change we can see the force merge time has reduced by 50%.

10M 768D dataset

Image

1M 768D Dataset

Image

@navneet1v
Copy link
Collaborator Author

navneet1v added a commit to navneet1v/k-NN that referenced this pull request Feb 4, 2025
navneet1v added a commit to navneet1v/k-NN that referenced this pull request Feb 6, 2025
navneet1v added a commit that referenced this pull request Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport main backport 2.19 Enhancements Increases software capabilities beyond original client specifications indexing-improvements This label should be attached to all the github issues which will help improving the indexing time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants