VictoriaMetrics/lib/cgroup
Aliaksandr Valialkin dba0553e11
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:11:59 +02:00
..
testdata adds cgroupsv2 support (#1283) 2021-05-13 09:27:33 +03:00
cpu.go lib/cgroup: round GOMAXPROCS to the lower integer value of cpuQuota 2024-09-23 16:11:59 +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:27:35 +03:00
mem.go lib/cgroup: remove SetGOGC() function 2024-02-05 12:13:08 +02:00
mem_test.go lib/cgroup: follow-up after b9bf3cbe3e 2021-02-08 16:01:26 +02:00
util.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:55:20 +03:00
util_test.go adds cgroupsv2 support (#1283) 2021-05-13 09:27:33 +03:00