Closed uhthomas closed 1 month ago
Go is not cgroup aware and by default will set GOMAXPROCS to the number of available threads, regardless of whether it is within the allocated quota. This behaviour causes high amount of CPU throttling and degraded application performance.
Fixes: #875
WDYT about using https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/lib/cgroup/cpu.go ?
Thank you for your time and PR.
Closing it with comment https://github.com/VictoriaMetrics/operator/issues/875#issuecomment-2272229935
Go is not cgroup aware and by default will set GOMAXPROCS to the number of available threads, regardless of whether it is within the allocated quota. This behaviour causes high amount of CPU throttling and degraded application performance.
Fixes: #875