Bug 1314108 - [RFE] Randomized scrub scheduling
[RFE] Randomized scrub scheduling
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RADOS (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 2.0
Assigned To: Kefu Chai
Bara Ancincova
Depends On:
Blocks: 1322504
  Show dependency treegraph
Reported: 2016-03-02 18:54 EST by Neil Levine
Modified: 2017-07-30 11:20 EDT (History)
8 users (show)

See Also:
Fixed In Version: ceph v10.2.0
Doc Type: Enhancement
Doc Text:
.Support for randomized scrub scheduling has been added The new Ceph `osd_scrub_interval_randomize_ratio` configuration option randomizes scrub scheduling by adding a random delay to the value specified by the `osd_scrub_min_interval` option. As a result, scrubbing of newly created pool or placement groups does not happen at the same time, and I/O impact is reduced.
Story Points: ---
Clone Of:
Last Closed: 2016-08-23 15:32:14 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Neil Levine 2016-03-02 18:54:10 EST

Scrubbing can be a resource intensive operation but is an important part of detecting bitrot in a cluster. Currently, we support (in Stockwell), the ability to schedule when scrubbing may happen (eg between 10pm and 2am). However
the period specified may not provide enough time to perform the scrub. The goal is to ensure that scrubbing is performed on ongoing basis but with intelligent scheduling.


For newly created pools/PGs then scrubbing all happens at the same time.
Randomize scrub scheduling so IO impact is reduced. (Merged in Infernalis)
Comment 3 Gregory Meno 2016-04-20 16:47:50 EDT
Is this merged in Jewel? I checked the release notes and the git log but couldn't figure it out.
Comment 4 David Zafman 2016-04-20 16:55:14 EDT
I see the configuration variable "osd_scrub_interval_randomize_ratio" in jewel.   So I'd say it is there.  The description above mentions that it was merged in Infernalis.
Comment 9 errata-xmlrpc 2016-08-23 15:32:14 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.