milvus/tests/benchmark/suites/locust_mix.yaml
Cai Yudong 84110d2684 Add tests/benchmark and tests/python_test using new python SDK
Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
2021-02-25 17:35:36 +08:00

48 lines
1.2 KiB
YAML

locust_mix_performance:
collections:
-
milvus:
cache_config.insert_buffer_size: 2GB
engine_config.use_blas_threshold: 1100
engine_config.gpu_search_threshold: 1
gpu_resource_config.enable: true
gpu_resource_config.cache_capacity: 4GB
gpu_resource_config.search_resources:
gpu0
gpu_resource_config.build_index_resources:
gpu0
wal_enable: true
collection_name: sift_1m_500000_128_l2
other_fields: int
ni_per: 50000
build_index: true
index_type: ivf_sq8
index_param:
nlist: 1024
task:
types:
- type: flush
weight: 1
-
type: query
weight: 20
params:
top_k: 10
nq: 100
filters:
- range:
int64:
LT: 0
GT: 1000000
search_param:
nprobe: 16
-
type: insert
weight: 10
params:
nb: 1
connection_num: 1
clients_num: 10
hatch_rate: 2
during_time: 600