mirror of https://github.com/milvus-io/milvus.git
50 lines
1.9 KiB
YAML
50 lines
1.9 KiB
YAML
performance:
|
|
|
|
# interface: search_vectors
|
|
query:
|
|
# dataset: table name you have already created
|
|
# key starts with "server." need to reconfig and restart server, including use_blas_threshold/cpu_cache_capacity ..
|
|
[
|
|
# {
|
|
# "dataset": "sift_500m_1024_128_l2",
|
|
# "index.index_types": ["ivf_sq8"],
|
|
# "index.nlists": [16384],
|
|
# "nprobes": [8, 32],
|
|
# "top_ks": [1, 4, 16, 64, 128, 256, 512, 1000],
|
|
# "nqs": [1, 10, 100, 500, 800, 1000],
|
|
# "server.use_blas_threshold": 1100,
|
|
# "server.use_gpu_threshold": 100,
|
|
# "server.cpu_cache_capacity": 150,
|
|
# "server.gpu_cache_capacity": 6,
|
|
# "server.resources": ["gpu0", "gpu1"],
|
|
# "db_path_prefix": "/test/milvus/db_data/sift_500m_1024_128_l2_sq8"
|
|
# },
|
|
# {
|
|
# "dataset": "sift_500m_1024_128_l2",
|
|
# "index.index_types": ["ivf_sq8"],
|
|
# "index.nlists": [16384],
|
|
# "nprobes": [8, 32],
|
|
# "top_ks": [1, 4, 16, 64, 128, 256, 512, 1000],
|
|
# "nqs": [1, 10, 100, 500, 800, 1000],
|
|
# "server.use_blas_threshold": 1100,
|
|
# "server.use_gpu_threshold": 100,
|
|
# "server.cpu_cache_capacity": 150,
|
|
# "server.gpu_cache_capacity": 6,
|
|
# "server.resources": ["gpu0", "gpu1"],
|
|
# "db_path_prefix": "/test/milvus/db_data/sift_500m_1024_128_l2_sq8"
|
|
# },
|
|
{
|
|
"dataset": "sift_500m_1024_128_l2",
|
|
"index.index_types": ["ivf_sq8h"],
|
|
"index.nlists": [16384],
|
|
"nprobes": [8, 32],
|
|
"top_ks": [1, 100, 200, 1000],
|
|
"nqs": [1, 10, 100, 500, 1000],
|
|
"server.use_blas_threshold": 1100,
|
|
"server.use_gpu_threshold": 100,
|
|
"server.cpu_cache_capacity": 150,
|
|
"server.gpu_cache_capacity": 6,
|
|
"server.resources": ["gpu0", "gpu1"],
|
|
"db_path_prefix": "/test/milvus/db_data/sift_500m_1024_128_l2"
|
|
},
|
|
] |