Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reef: osd: fix: slow scheduling when item_cost is large #53861

Merged
merged 1 commit into from Oct 19, 2023

Conversation

ljflores
Copy link
Contributor

@ljflores ljflores commented Oct 6, 2023

backport tracker: https://tracker.ceph.com/issues/63125


backport of #53417
parent tracker: https://tracker.ceph.com/issues/62812

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

We use the iops and bandwidth tested by
`ceph tell osd.0 bench 10737418240 204800 204800 100`
to verify the QoS function. iops was 400 and bandwidth was 80MiB/s.
When osd_mclock_scheduler_client_lim is set to 1,
the sequential write bandwidth is only half of the capacity.
Therefore, we believe that it should not unconditionally increase
osd_bandwidth_cost_per_io for each IO, but take the maximum of the two.

Fixes: https://tracker.ceph.com/issues/62812
co-author: yanghonggang <yanghonggang_yewu@cmss.chinamobile.com>
co-author: zhangjianwei <zhangjianwei2_yewu@cmss.chinamobile.com>
Signed-off-by: Jrchyang Yu <yuzhiqiang_yewu@cmss.chinamobile.com>
(cherry picked from commit 65ebf2d)
@ljflores ljflores requested a review from a team as a code owner October 6, 2023 15:31
@ljflores ljflores added this to the reef milestone Oct 6, 2023
@ljflores ljflores added the core label Oct 6, 2023
@yuriw yuriw merged commit bfca7b8 into ceph:reef Oct 19, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants