Skip to content

Commit 889ce8b

Browse files
committed
rgw/lc: raise default rgw_lc_max_wp_worker to 128
now that the workers run as coroutines instead of threads, we can afford to run several more workers per bucket Signed-off-by: Casey Bodley <[email protected]>
1 parent 31f6e60 commit 889ce8b

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

PendingReleaseNotes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@
166166
Tentacle or earlier release, the value of this field will be 'N/A'. Regular
167167
subvolumes don't have a source subvolume and therefore the output for them
168168
won't contain a "source" field regardless of the release.
169+
* RGW: The default value of `rgw_lc_max_wp_worker` has been raised from 3 to 128
170+
to accelerate lifecycle processing. These workers now use coroutines instead of
171+
separate threads.
169172

170173
* RGW: Replication policies now validate permissions using `s3:ReplicateObject`,
171174
`s3:ReplicateDelete`, and `s3:ReplicateTags` for destination buckets. For source

src/common/options/rgw.yaml.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,12 +441,12 @@ options:
441441
- name: rgw_lc_max_wp_worker
442442
type: int
443443
level: advanced
444-
desc: Number of workpool threads per LCWorker
445-
long_desc: Number of threads in per-LCWorker workpools--used to accelerate per-bucket
444+
desc: Number of workpool coroutines per LCWorker
445+
long_desc: Number of coroutines in per-LCWorker workpools--used to accelerate per-bucket
446446
processing
447-
fmt_desc: This option specifies the number of threads in each lifecycle
447+
fmt_desc: This option specifies the number of coroutines in each lifecycle
448448
workers work pool. This option can help accelerate processing each bucket.
449-
default: 3
449+
default: 128
450450
services:
451451
- rgw
452452
with_legacy: true

0 commit comments

Comments
 (0)