]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/lc: raise default rgw_lc_max_wp_worker to 128
authorCasey Bodley <cbodley@redhat.com>
Thu, 5 Jun 2025 20:02:31 +0000 (16:02 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 21 Oct 2025 13:08:04 +0000 (09:08 -0400)
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 <cbodley@redhat.com>
PendingReleaseNotes
src/common/options/rgw.yaml.in

index c1d4992f1c7f5895aa67603ba115001253a7310b..e7be3648f21126a0d91072425899b3c866fc2cdb 100644 (file)
   Tentacle or earlier release, the value of this field will be 'N/A'. Regular
   subvolumes don't have a source subvolume and therefore the output for them
   won't contain a "source" field regardless of the release.
+* RGW: The default value of `rgw_lc_max_wp_worker` has been raised from 3 to 128
+  to accelerate lifecycle processing. These workers now use coroutines instead of
+  separate threads.
 
 * RGW: Replication policies now validate permissions using `s3:ReplicateObject`,
   `s3:ReplicateDelete`, and `s3:ReplicateTags` for destination buckets. For source
index 309e7639297b9a8862add1de3f3d81c0e0b6177d..18a117ecf8ebd3c5008b5b6cf331c6043a81e8c7 100644 (file)
@@ -441,12 +441,12 @@ options:
 - name: rgw_lc_max_wp_worker
   type: int
   level: advanced
-  desc: Number of workpool threads per LCWorker
-  long_desc: Number of threads in per-LCWorker workpools--used to accelerate per-bucket
+  desc: Number of workpool coroutines per LCWorker
+  long_desc: Number of coroutines in per-LCWorker workpools--used to accelerate per-bucket
     processing
-  fmt_desc: This option specifies the number of threads in each lifecycle
+  fmt_desc: This option specifies the number of coroutines in each lifecycle
     workers work pool. This option can help accelerate processing each bucket.
-  default: 3
+  default: 128
   services:
   - rgw
   with_legacy: true