From 28c65b58a217a9239dc1c2a22a8f319e26f435e8 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 9 Apr 2020 15:28:53 +0300 Subject: [PATCH] lib/memory: add more details to `-memory.allowedPercent` help message --- lib/memory/memory.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/memory/memory.go b/lib/memory/memory.go index 53325b1b0..7049138f8 100644 --- a/lib/memory/memory.go +++ b/lib/memory/memory.go @@ -8,7 +8,9 @@ import ( "github.com/VictoriaMetrics/VictoriaMetrics/lib/logger" ) -var allowedMemPercent = flag.Float64("memory.allowedPercent", 60, "Allowed percent of system memory VictoriaMetrics caches may occupy") +var allowedMemPercent = flag.Float64("memory.allowedPercent", 60, "Allowed percent of system memory VictoriaMetrics caches may occupy. "+ + "Too low value may increase cache miss rate, which usually results in higher CPU and disk IO usage. "+ + "Too high value may evict too much data from OS page cache, which will result in higher disk IO usage") var ( allowedMemory int