operator
operator copied to clipboard
chore: use Linux container CPU quota
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 ?