Skip to content

squid: common/options: Change HDD OSD shard configuration defaults for mClock - #59973

Merged
SrinivasaBharath merged 1 commit into
ceph:squidfrom
sseshasa:wip-68223-squid
Dec 5, 2024
Merged

SrinivasaBharath merged 1 commit into
ceph:squidfrom
sseshasa:wip-68223-squid

Conversation

@sseshasa

Copy link
Copy Markdown
Contributor

@sseshasa
sseshasa requested review from a team as code owners September 25, 2024 09:08
@sseshasa sseshasa added this to the squid milestone Sep 25, 2024
@sseshasa

Copy link
Copy Markdown
Contributor Author

@rzarzynski @neha-ojha Could you please approve this backport? Thanks!

@sseshasa

sseshasa commented Oct 3, 2024

Copy link
Copy Markdown
Contributor Author

@athanatos Can you please approve this backport PR?

@anthonyeleven anthonyeleven left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: follow up with wordsmithing

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

Based on tests performed at scale on a HDD based cluster, it was found
that scheduling with mClock was not optimal with multiple OSD shards. For
e.g., in the scaled cluster with multiple OSD node failures, the client
throughput was found to be inconsistent across test runs coupled with
multiple reported slow requests.

However, the same test with a single OSD shard and with multiple worker
threads yielded significantly better results in terms of consistency of
client and recovery throughput across multiple test runs.

For more details see https://tracker.ceph.com/issues/66289.

Therefore, as an interim measure until the issue with multiple OSD shards
(or multiple mClock queues per OSD) is investigated and fixed, the
following change to the default HDD OSD shard configuration is made:

 - osd_op_num_shards_hdd = 1 (was 5)
 - osd_op_num_threads_per_shard_hdd = 5 (was 1)

The other changes in this commit include:
 - Doc change to the OSD and mClock config reference describing
   this change.
 - OSD troubleshooting entry on the procedure to change the shard
   configuration for clusters affected by this issue running on older
   releases.
 - Add release note for this change.

Fixes: https://tracker.ceph.com/issues/66289
Signed-off-by: Sridhar Seshasayee <[email protected]>
(cherry picked from commit 0d81e72)

Conflicts:
        doc/rados/troubleshooting/troubleshooting-osd.rst
- Included the troubleshooting entry before the "Flapping OSDs" section.
        PendingReleaseNotes
- Moved the release note under 19.0.0 section.
@ljflores

Copy link
Copy Markdown
Member

afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
squid: common/options: Change HDD OSD shard configuration defaults for mClock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants