mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: raise l0 compaction memory ratio to 0.5 (#36690)
5 percent of free memory is too less for l0 compaction. This pr will raise it to 50 percent. See also: #36614 Signed-off-by: yangxuan <xuan.yang@zilliz.com>
This commit is contained in:
parent
c3d910756b
commit
c84bdfa766
@ -652,7 +652,7 @@ dataNode:
|
||||
readBufferSizeInMB: 16 # The data block size (in MB) read from chunk manager by the datanode during import.
|
||||
maxTaskSlotNum: 16 # The maximum number of slots occupied by each import/pre-import task.
|
||||
compaction:
|
||||
levelZeroBatchMemoryRatio: 0.05 # The minimal memory ratio of free memory for level zero compaction executing in batch mode
|
||||
levelZeroBatchMemoryRatio: 0.5 # The minimal memory ratio of free memory for level zero compaction executing in batch mode
|
||||
levelZeroMaxBatchSize: -1 # Max batch size refers to the max number of L1/L2 segments in a batch when executing L0 compaction. Default to -1, any value that is less than 1 means no limit. Valid range: >= 1.
|
||||
gracefulStopTimeout: 1800 # seconds. force stop node without graceful stop
|
||||
slot:
|
||||
|
||||
@ -4494,7 +4494,7 @@ if this parameter <= 0, will set it as 10`,
|
||||
Key: "dataNode.compaction.levelZeroBatchMemoryRatio",
|
||||
Version: "2.4.0",
|
||||
Doc: "The minimal memory ratio of free memory for level zero compaction executing in batch mode",
|
||||
DefaultValue: "0.05",
|
||||
DefaultValue: "0.5",
|
||||
Export: true,
|
||||
}
|
||||
p.L0BatchMemoryRatio.Init(base.mgr)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user