VictoriaMetrics/lib/cgroup
Aliaksandr Valialkin f526c7814e
lib/cgroup: reduce the default GOGC value from 50% to 30%
This reduces memory usage under production workloads by up to 10%,
while CPU spent on GC remains roughly the same.

The CPU spent on GC can be monitored with go_memstats_gc_cpu_fraction metric
2022-04-06 14:00:50 +03:00
..
testdata adds cgroupsv2 support (#1283) 2021-05-13 09:27:33 +03:00
cpu_test.go lib/cgroup: document the ability to detect cgroup v2 memory and cpu limits. This is follow-up for b50024812e 2021-05-13 09:27:35 +03:00
cpu.go lib/cgroup: fall back to runtime.NumCPU() when determining process_cpu_cores_available metric if it is impossible to determine cpu quota via cgroups 2022-01-31 20:31:12 +02:00
mem_test.go lib/cgroup: follow-up after b9bf3cbe3e 2021-02-08 16:01:26 +02:00
mem.go lib/cgroup: reduce the default GOGC value from 50% to 30% 2022-04-06 14:00:50 +03:00
util_test.go adds cgroupsv2 support (#1283) 2021-05-13 09:27:33 +03:00
util.go lib/cgroup: document the ability to detect cgroup v2 memory and cpu limits. This is follow-up for b50024812e 2021-05-13 09:27:35 +03:00