Change default thread core coefficient (#20120) (#20328) (#20333)

Signed-off-by: zhagnlu <lu.zhang@zilliz.com>

Signed-off-by: zhagnlu <lu.zhang@zilliz.com>
Co-authored-by: zhagnlu <lu.zhang@zilliz.com>

Signed-off-by: zhagnlu <lu.zhang@zilliz.com>
Co-authored-by: zhagnlu <lu.zhang@zilliz.com>
pull/20346/head
zhagnlu 2022-11-04 17:49:35 +08:00 committed by GitHub
parent d732a33938
commit 1dac462cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ common:
LoadNumThreadRatio: 8.0
BeamWidthRatio: 4.0
# This parameter specify how many times the number of threads is the number of cores
threadCoreCoefficient : 50
threadCoreCoefficient : 10
# please adjust in embedded Milvus: local
storageType: minio

View File

@ -34,7 +34,7 @@ const (
// DefaultIndexSliceSize defines the default slice size of index file when serializing.
DefaultIndexSliceSize = 16
DefaultGracefulTime = 5000 //ms
DefaultThreadCoreCoefficient = 50
DefaultThreadCoreCoefficient = 10
DefaultSessionTTL = 60 //s
DefaultSessionRetryTimes = 30