Closed uhthomas closed 2 months ago
It would likely be simpler to deploy with a simple GOMAXPROCS=1
. The exporter uses very little CPU itself.
@SuperQ Can this be done as-is or does it need something similar to https://github.com/prometheus/node_exporter/pull/2530?
Go is not cgroup aware. This means the VictoriaMetrics operator will be throttled hard in containerised environments with CPU limits.
The below screenshot shows the container with a CPU limit in Kubernetes. The first half of the time series is on a 13600k, with 20 threads. The second half is when the machine changed to use an EPYC 7763 with 128 threads. I changed the CPU limit for the third deployment, which is why it looks a bit more normal again.
automaxprocs can use cgroups automatically.