Skip to content

Commit 31c8744

Browse files
committed
osd/scrub: increase the default scrub load limit
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 <[email protected]>
1 parent 89f42f1 commit 31c8744

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/common/options/osd.yaml.in

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,10 @@ options:
287287
desc: Allow scrubbing when system load divided by number of CPUs is below this value
288288
fmt_desc: The normalized maximum load. Ceph will not initiate periodic (regular)
289289
scrubs when the system load (as defined by ``getloadavg() / number of online CPUs``)
290-
is higher than this number.
291-
Default is ``0.5``.
292-
default: 0.5
290+
is higher than this number. The default is set high enough to allow periodic scrubbing
291+
under most load conditions.
292+
default: 10.0
293293
with_legacy: true
294-
# if load is low
295294
- name: osd_scrub_min_interval
296295
type: float
297296
level: advanced
@@ -301,7 +300,6 @@ options:
301300
see_also:
302301
- osd_scrub_max_interval
303302
with_legacy: true
304-
# regardless of load
305303
- name: osd_scrub_max_interval
306304
type: float
307305
level: advanced

0 commit comments

Comments
 (0)