workers_per_cpu_quota specifies the number of worker threads allocated to each CPU quota.
| Attribute | Description |
|---|---|
| Type | Integer |
| Default value | 10 |
| Value range | [2, 20] |
| Effective upon OBServer node restart | No |
The number of threads that can be processed simultaneously in a tenant is controlled by two parameters: cpu_quota_concurrency and workers_per_cpu_quota. In addition, the value of workers_per_cpu_quota must be greater than that of cpu_quota_concurrency.
The parameters are described as follows:
workers_per_cpu_quotaspecifies the maximum number of worker threads that a tenant can allocate to each CPU.cpu_quota_concurrencyspecifies the number of active worker threads on each CPU of the tenant. For more information aboutcpu_quota_concurrency, see cpu_quota_concurrency.