Repository navigation
osd/scrub: increasing the default data-read stride - #66230
Conversation
When performing deep scrubs, the scrubber reads object data in strides, to avoid monopolizing the OSD's I/O capacity. The default stride was set to 0.5MB, which is too low for modern storage devices. This commit increases the default stride to 4MB. Signed-off-by: Ronen Friedman <[email protected]>
following a change to the default stride size for deep scrubs, adding a standalone test to verify that scrubs of large objects work correctly (and to perform some minimal performance measurements). Signed-off-by: Ronen Friedman <[email protected]>
Config Diff Tool Output! changed: osd_deep_scrub_stride: old: 512_K (osd.yaml.in)
! changed: osd_deep_scrub_stride: new: 4_M (osd.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
JonBailey1993
left a comment
There was a problem hiding this comment.
Change looks got to me. Looks like there is an automated message about release docs though as this is changing a default value for a configurable.
|
jenkins test api |
rzarzynski
left a comment
There was a problem hiding this comment.
- Needs a release note.
- Let's bake awhile in
main.
|
@ceph/doc-writers - can you take a look at the proposed change to the release notes? thanks |
| @@ -9,6 +9,10 @@ | |||
| Admins can no longer enable the older, deprecated landing page layout by | |||
| adjusting FEATURE_TOGGLE_DASHBOARD. | |||
| * CephFS: The `peer_add` command is deprecated in favor of the `peer_bootstrap` command. | |||
| * RADOS: When objects data is read during deep scrubs, the data is read in strides | |||
There was a problem hiding this comment.
s/objects//
Also suggest taking out the parentheses ()
There was a problem hiding this comment.
So if removing the whole text in the parents, would the following be OK?:
Deep-scrub read operations are performed in strides.
The default stride size osd_deep_scrub_stride was 512 KBytes, and is now 4 MBytes.
There was a problem hiding this comment.
I meant only the ) and ( chars
| * RADOS: When objects data is read during deep scrubs, the data is read in strides | ||
| (with delays to the scrubbing process between each read, in order to avoid monopolizing | ||
| the I/O capacity of the OSD.) | ||
| The default stride size (`osd_deep_scrub_stride`) was 512 KBytes, and iss now modified to be 4 MBytes. |
There was a problem hiding this comment.
Suggest :confval: instead of the parens
and is now 4 MiB.
There was a problem hiding this comment.
@anthonyeleven - thanks.
:confval: ? I did not find a configuration value surrounded by colons in teh doc. Did you mean double back-quotes?
There was a problem hiding this comment.
I meant like this example in git/ceph/doc/radosgw/config-ref.rst:
The older and now non-defaultcivetweb frontend has a threading model that uses a thread per
connection and hence is automatically throttled by :confval:rgw_thread_pool_size
when accepting connections. The newer and default beast frontend is
not limited by the thread pool size when it comes to accepting new
But since this is PendingReleaseNotes not an RST doc, ignore that. "iss" should still be "is" though.
default value change (from 0.5MB to 4MB) Signed-off-by: Ronen Friedman <[email protected]>
e5bbd04 to
3822414
Compare
|
jenkins test make check |
|
jenkins test make check arm64 |
|
jenkins test make check |
|
jenkins test make check |
|
Merging - mostly based on my Teuthology tests (1 unrelated failure); but also on the results of 'bharath9' that show no related failures. |
When performing deep scrubs, the scrubber reads object
data in strides, to avoid monopolizing the OSD's I/O capacity.
The default stride was set to 0.5MB, which is too low for
modern storage devices. This commit increases the default
stride to 4MB.