VictoriaMetrics/lib/cgroup
Aliaksandr Valialkin 109772bdc4
lib/cgroup: round GOMAXPROCS to the lower integer value of cpuQuota
Rounding GOMAXPROCS to the upper interger value of cpuQuota increases chances of CPU starvation,
non-optimimal goroutine scheduling and additional CPU overhead related to context switching.

So it is better to round GOMAXPROCS to the lower integer value of cpuQuota.
2024-09-23 16:09:12 +02:00
..
testdata adds cgroupsv2 support (#1283) 2021-05-13 09:02:13 +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:26:20 +03:00
cpu.go lib/cgroup: round GOMAXPROCS to the lower integer value of cpuQuota 2024-09-23 16:09:12 +02:00
mem_test.go
mem.go lib/cgroup: remove SetGOGC() function 2024-02-05 12:11:08 +02:00
util_test.go adds cgroupsv2 support (#1283) 2021-05-13 09:02:13 +03:00
util.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00