mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-06 19:02:18 +08:00
23 lines
819 B
YAML
23 lines
819 B
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_1m_1024_128_l2",
|
|
"index.index_types": ["mix_nsg"],
|
|
"index.nlists": [16384],
|
|
"nprobes": [8, 32],
|
|
"top_ks": [1, 16, 64, 128, 256, 512, 1000],
|
|
"nqs": [1, 10, 100, 200, 500, 1000],
|
|
"server.use_blas_threshold": 1100,
|
|
"server.use_gpu_threshold": 100,
|
|
"server.cpu_cache_capacity": 50,
|
|
"server.gpu_cache_capacity": 6,
|
|
# "server.resources": ["gpu0", "gpu1"],
|
|
"server.enable_gpu": True,
|
|
"db_path_prefix": "/test/milvus/db_data/sift_1m_1024_128_l2_nsg"
|
|
},
|
|
] |