mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
app/vminsert: tune the maximum summary buffer size for pending data to 1/4 of available RAM, since 1/2 of RAM is too big considering GOGC overhead
This commit is contained in:
parent
4a82631e44
commit
9844845d79
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ func InitStorageNodes(addrs []string) {
|
|||
}(addr)
|
||||
}
|
||||
|
||||
maxBufSizePerStorageNode = memory.Allowed() / 2 / len(storageNodes)
|
||||
maxBufSizePerStorageNode = memory.Allowed() / 4 / len(storageNodes)
|
||||
if maxBufSizePerStorageNode > consts.MaxInsertPacketSize {
|
||||
maxBufSizePerStorageNode = consts.MaxInsertPacketSize
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue