Limit number of default swift server workers
'auto' defaults to the number of effective cpu cores and we should cap the default max number using os_workers fact, unless overridden. Change-Id: I59393a8d2d6aa13c386aea56da72b096ca672d4a
This commit is contained in:
parent
0104069ab1
commit
db15378216
@ -99,15 +99,15 @@
|
||||
#
|
||||
# [*account_server_workers*]
|
||||
# (optional) Number of account server workers.
|
||||
# Defaults to undef.
|
||||
# Defaults to $::os_workers.
|
||||
#
|
||||
# [*container_server_workers*]
|
||||
# (optional) Number of container server workers.
|
||||
# Defaults to undef.
|
||||
# Defaults to $::os_workers.
|
||||
#
|
||||
# [*object_server_workers*]
|
||||
# (optional) Number of account server workers.
|
||||
# Defaults to undef.
|
||||
# Defaults to $::os_workers.
|
||||
#
|
||||
# [*splice*]
|
||||
# (optional) Use splice for zero-copy object GETs. This requires Linux Kernel
|
||||
@ -138,9 +138,9 @@ class swift::storage::all(
|
||||
$log_statsd_default_sample_rate = '1.0',
|
||||
$log_statsd_sample_rate_factor = '1.0',
|
||||
$log_statsd_metric_prefix = '',
|
||||
$account_server_workers = undef,
|
||||
$container_server_workers = undef,
|
||||
$object_server_workers = undef,
|
||||
$account_server_workers = $::os_workers,
|
||||
$container_server_workers = $::os_workers,
|
||||
$object_server_workers = $::os_workers,
|
||||
$splice = false,
|
||||
) {
|
||||
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- Default number of account/container/object server workers
|
||||
capped to os_workers fact unless overridden.
|
Loading…
Reference in New Issue
Block a user