Reduce the load memory usage predict factor to 2 (#25469)

Signed-off-by: yah01 <yang.cen@zilliz.com>
pull/24709/head
yah01 2023-07-11 13:06:28 +08:00 committed by GitHub
parent 5aec6036dc
commit 8b06941da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ queryNode:
enableIndex: true
nlist: 128 # growing segment index nlist
nprobe: 16 # nprobe to search growing segment, based on your accuracy requirement, must smaller than nlist
loadMemoryUsageFactor: 3 # The multiply factor of calculating the memory usage while loading segments
loadMemoryUsageFactor: 2 # The multiply factor of calculating the memory usage while loading segments
enableDisk: true # enable querynode load disk index, and search on disk index
maxDiskUsagePercentage: 95
cache:

View File

@ -1599,7 +1599,7 @@ func (p *queryNodeConfig) init(base *BaseTable) {
p.LoadMemoryUsageFactor = ParamItem{
Key: "queryNode.loadMemoryUsageFactor",
Version: "2.0.0",
DefaultValue: "3",
DefaultValue: "2",
PanicIfEmpty: true,
Doc: "The multiply factor of calculating the memory usage while loading segments",
Export: true,