mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
deploy: add -automaxprocs
to reduce CPU and memory resources
With the new `-automaxprocs` commandline parameter, Ceph-CSI will adjust the GOMAXPROCS environment variable for the Golang runtime. The values are based on the CPU quota that is given to the process. This can reduce the number of threads that the Golang runtime spawns, which affects the require amount of memory as well. Updates: #5228 Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
committed by
mergify[bot]
parent
0cb6771115
commit
4db8b6222c
5
vendor/modules.txt
vendored
5
vendor/modules.txt
vendored
@ -518,6 +518,11 @@ go.opentelemetry.io/otel/metric/noop
|
||||
go.opentelemetry.io/otel/trace
|
||||
go.opentelemetry.io/otel/trace/embedded
|
||||
go.opentelemetry.io/otel/trace/noop
|
||||
# go.uber.org/automaxprocs v1.6.0
|
||||
## explicit; go 1.20
|
||||
go.uber.org/automaxprocs/internal/cgroups
|
||||
go.uber.org/automaxprocs/internal/runtime
|
||||
go.uber.org/automaxprocs/maxprocs
|
||||
# go.uber.org/multierr v1.11.0
|
||||
## explicit; go 1.19
|
||||
go.uber.org/multierr
|
||||
|
Reference in New Issue
Block a user