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

enhance: record memory size (uncompressed) item for index #38770

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chyezh
Copy link
Contributor

@chyezh chyezh commented Dec 26, 2024

issue: #38715

  • Current milvus use a serialized index size(compressed) for estimate resource for loading.
  • Add a new field MemSize (before compressing) for index to estimate resource.

@sre-ci-robot sre-ci-robot added area/internal-api size/XXL Denotes a PR that changes 1000+ lines. labels Dec 26, 2024
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: chyezh
To complete the pull request process, please assign yanliang567 after the PR has been reviewed.
You can assign the PR to them by writing /assign @yanliang567 in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Dec 26, 2024
Copy link
Contributor

mergify bot commented Dec 26, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

Copy link
Contributor

mergify bot commented Dec 26, 2024

@chyezh go-sdk check failed, comment rerun go-sdk can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 26, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 26, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

Copy link
Contributor

mergify bot commented Dec 26, 2024

@chyezh go-sdk check failed, comment rerun go-sdk can trigger the job again.

Copy link
Contributor

mergify bot commented Dec 26, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@chyezh chyezh force-pushed the enhance_serialized_index_file_multiply_factor branch from 4cb8035 to 1ebba3e Compare December 26, 2024 11:44
Copy link
Contributor

mergify bot commented Dec 26, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

Copy link
Contributor

mergify bot commented Dec 26, 2024

@chyezh go-sdk check failed, comment rerun go-sdk can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 26, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 26, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

Copy link

codecov bot commented Dec 26, 2024

Codecov Report

Attention: Patch coverage is 69.09091% with 51 lines in your changes missing coverage. Please review.

Project coverage is 81.14%. Comparing base (11bfc93) to head (1831a35).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
internal/core/src/index/CreateIndexResult.cpp 68.75% 10 Missing ⚠️
internal/util/indexcgowrapper/index.go 37.50% 9 Missing and 1 partial ⚠️
internal/core/src/index/TextMatchIndex.cpp 0.00% 8 Missing ⚠️
internal/core/src/common/protobuf_utils.cpp 50.00% 6 Missing ⚠️
internal/core/src/indexbuilder/index_c.cpp 0.00% 6 Missing ⚠️
internal/core/src/index/StringIndexMarisa.cpp 0.00% 5 Missing ⚠️
internal/core/src/index/ScalarIndexSort.cpp 0.00% 4 Missing ⚠️
internal/core/src/common/protobuf_utils.h 83.33% 1 Missing ⚠️
internal/core/src/storage/DiskFileManagerImpl.cpp 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #38770   +/-   ##
=======================================
  Coverage   81.14%   81.14%           
=======================================
  Files        1388     1392    +4     
  Lines      196471   196552   +81     
=======================================
+ Hits       159418   159498   +80     
- Misses      31465    31466    +1     
  Partials     5588     5588           
Components Coverage Δ
Client 79.53% <ø> (ø)
Core 69.51% <59.80%> (-0.03%) ⬇️
Go 83.11% <84.12%> (+0.01%) ⬆️
Files with missing lines Coverage Δ
internal/core/src/index/BitmapIndex.cpp 81.09% <100.00%> (+0.08%) ⬆️
internal/core/src/index/BitmapIndex.h 44.44% <ø> (ø)
internal/core/src/index/CreateIndexResult.h 100.00% <100.00%> (ø)
internal/core/src/index/HybridScalarIndex.cpp 79.12% <100.00%> (-0.33%) ⬇️
internal/core/src/index/HybridScalarIndex.h 39.02% <ø> (ø)
internal/core/src/index/Index.h 100.00% <ø> (ø)
internal/core/src/index/InvertedIndexTantivy.cpp 92.41% <100.00%> (-0.26%) ⬇️
internal/core/src/index/InvertedIndexTantivy.h 53.84% <ø> (ø)
internal/core/src/index/ScalarIndexSort.h 38.46% <ø> (ø)
internal/core/src/index/StringIndexMarisa.h 71.42% <ø> (ø)
... and 29 more

... and 23 files with indirect coverage changes

@chyezh
Copy link
Contributor Author

chyezh commented Dec 27, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 27, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 27, 2024

rerun cpp-unit-test

@chyezh
Copy link
Contributor Author

chyezh commented Dec 27, 2024

rerun go-sdk

Copy link
Contributor

mergify bot commented Dec 27, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

Copy link
Contributor

mergify bot commented Dec 27, 2024

@chyezh go-sdk check failed, comment rerun go-sdk can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 27, 2024

rerun go-sdk

@chyezh
Copy link
Contributor Author

chyezh commented Dec 27, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 27, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 28, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 28, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 29, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 29, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@chyezh chyezh force-pushed the enhance_serialized_index_file_multiply_factor branch 2 times, most recently from 07910b5 to 5a89096 Compare December 30, 2024 06:21
Copy link
Contributor

mergify bot commented Dec 30, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 30, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 30, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 30, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 30, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 30, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 30, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Dec 31, 2024

rerun cpp-unit-test

Copy link
Contributor

mergify bot commented Dec 31, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

Copy link
Contributor

mergify bot commented Dec 31, 2024

@chyezh go-sdk check failed, comment rerun go-sdk can trigger the job again.

Copy link
Contributor

mergify bot commented Dec 31, 2024

@chyezh cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

Copy link
Contributor

mergify bot commented Dec 31, 2024

@chyezh go-sdk check failed, comment rerun go-sdk can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Jan 2, 2025

rerun go-sdk

Copy link
Contributor

mergify bot commented Jan 2, 2025

@chyezh go-sdk check failed, comment rerun go-sdk can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Jan 2, 2025

rerun go-sdk

Copy link
Contributor

mergify bot commented Jan 2, 2025

@chyezh go-sdk check failed, comment rerun go-sdk can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Jan 2, 2025

rerun go-sdk

Copy link
Contributor

mergify bot commented Jan 2, 2025

@chyezh go-sdk check failed, comment rerun go-sdk can trigger the job again.

chyezh added 3 commits January 5, 2025 11:03
- Current milvus use a serialized index size(compressed) for estimate resource for loading.
- Add a new field MemSize (before compressing) for index to estimate resource.

Signed-off-by: chyezh <[email protected]>
Signed-off-by: chyezh <[email protected]>
Signed-off-by: chyezh <[email protected]>
@chyezh chyezh force-pushed the enhance_serialized_index_file_multiply_factor branch from dbf4b36 to 1831a35 Compare January 5, 2025 03:03
Copy link
Contributor

mergify bot commented Jan 5, 2025

@chyezh E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Jan 5, 2025

/run-cpu-e2e

@mergify mergify bot added the ci-passed label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/internal-api ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement size/XXL Denotes a PR that changes 1000+ lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants