Files
puppet-cloudkitty/releasenotes/notes/cap-orchestrator-max-workers-and-threads-36898c680850f418.yaml
Takashi Kajinami 87374d71da orchestrator: Cap maximum processes and threads by default
cloudkitty-orchestrator by default launches
 - N workers for rating processing
 - N workers for reprocessing
and also launch 5 * N threads in each worker.

N = Number of cpu cores

This results in huge value in case a node has relatively many cpu
cores (including pseudo cores in case hyper-threading is enabled).

Cap the maximum numbers to avoid too many processes/threads used in
node with many CPU cores.

Change-Id: Id9b2f33777db2d7265ca41e9066135b56aca34d2
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-09-08 13:35:22 +00:00

12 lines
432 B
YAML

---
upgrade:
- |
Default values of the following parameters have been changed to avoid
using too many processes or threads in node with many cores.
- ``cloudkitty::orchestrator::max_workers`` now defaults to
the ``os_workers`` fact.
- ``cloudkitty::orchestrator::max_workers_reprocessing`` now defaults to
the ``os_workers`` fact.
- ``cloudkitty::orchestrator::max_threads`` now defaults to `16`.