Skip to content

Were there any major changes after Milvus v2.4.15 that could have affected performance? #41169

Discussion options

You must be logged in to vote

Two million of vectors(dim=384), HNSW index(m=48, efConstruction=800, efSearch=500), and limit=1.
The test script:

for i in range(100):
    vector = gen_embedding()
    start = time.time()
    results = client.search(collection_name=collection_name,
                            data=[vector],
                            anns_field="vector",
                            limit=1,
                            consistency_level="Bounded",
                            search_params={"ef": 500})
    end = time.time()
    print("RPC search time cost {:.1f} ms".format((end - start) * 1000))

import requests
for i in range(100):
    try:
        data = {
            "data": [np.random.uniform(low=-128…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Peter-YoungUk
Comment options

Answer selected by Peter-YoungUk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants