VictoriaMetrics/lib/cgroup
Aliaksandr Valialkin 077193d87c
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 13:32:07 +03:00
..
testdata adds cgroupsv2 support (#1283) 2021-05-13 09:02:13 +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:30:14 +02: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:26:20 +03:00
mem.go lib/cgroup: reduce the default GOGC value from 50% to 30% 2022-04-06 13:32:07 +03:00
mem_test.go lib/cgroup: follow-up after b9bf3cbe3e 2021-02-08 15:54:38 +02: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:26:20 +03:00
util_test.go adds cgroupsv2 support (#1283) 2021-05-13 09:02:13 +03:00