Skip to content

How to search faster? #6204

Jun 30, 2021 · 4 comments · 3 replies
Discussion options

You must be logged in to vote

Let do some testing.
I did't know which kind of index you select, and what search parameters you choose.

I start a milvus server(v1.1.1) on my machine, with the config:

cache:
  cache_size: 40GB
  insert_buffer_size: 1GB

The machine environment:
Ubuntu18.04
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 12 cores
64GB memory

The following is a script, the script do these things:

  1. create collection, index_file_size=2048MB, dimension=256
  2. insert 10M vectors(random)
  3. create index IVF_FLAT, with nlist=8192
  4. load index data into cache(to get best performance)
  5. single thread to search 1000 times, with nq=1, topk=10, nprobe=32
  6. use 20 threads do parallel search, each thread execute 50 search(), totally exec…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by iswangl
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@iswangl
Comment options

@yhmo
Comment options

@iswangl
Comment options

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