]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/scrub: increase the default scrub load limit 61351/head
authorRonen Friedman <rfriedma@redhat.com>
Mon, 13 Jan 2025 13:58:14 +0000 (07:58 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 13 Jan 2025 13:58:14 +0000 (07:58 -0600)
Modifying the default value of osd_scrub_load_threshold from 0.5
to 10.0, rendering it mostly irrelevant.

That is done following a combination of reasons:
- the new mclock scheduler, which provides a better mechanism to
  control scrub load under all conditions;
- the inapplicability of the existing mechanism to Crimson; and
- users` requests.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/options/osd.yaml.in

index 49099f42b716990477c0735f29c1d6a8d59c0d3a..2be1c08f934c82d163d2313e2cae94e7c4382537 100644 (file)
@@ -287,11 +287,10 @@ options:
   desc: Allow scrubbing when system load divided by number of CPUs is below this value
   fmt_desc: The normalized maximum load. Ceph will not initiate periodic (regular)
     scrubs when the system load (as defined by ``getloadavg() / number of online CPUs``)
-    is higher than this number.
-    Default is ``0.5``.
-  default: 0.5
+    is higher than this number. The default is set high enough to allow periodic scrubbing
+    under most load conditions.
+  default: 10.0
   with_legacy: true
-# if load is low
 - name: osd_scrub_min_interval
   type: float
   level: advanced
@@ -301,7 +300,6 @@ options:
   see_also:
   - osd_scrub_max_interval
   with_legacy: true
-# regardless of load
 - name: osd_scrub_max_interval
   type: float
   level: advanced