mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-14 16:12:15 +01: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
@ -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 New Issue
Block a user