Bug 2114612 - Quincy: High CPU and slow progress during backfill
Summary: Quincy: High CPU and slow progress during backfill
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.0
Assignee: Sridhar Seshasayee
QA Contact: skanta
Eliska
URL:
Whiteboard:
Depends On:
Blocks: 2126050
TreeView+ depends on / blocked
 
Reported: 2022-08-02 23:44 UTC by Vikhyat Umrao
Modified: 2023-03-20 18:57 UTC (History)
19 users (show)

Fixed In Version: ceph-17.2.3-3.el9cp
Doc Type: Bug Fix
Doc Text:
.Slow progress and high CPU utilization during backfill is resolved Previously, the worker thread with the smallest index in an OSD shard would return to the main worker loop, instead of waiting until an item could be scheduled from the mClock queue or until notified. This resulted in the busy loop and high CPU utilization. With this fix, the worker thread with the smallest thread index reacquires the appropriate lock and waits until notified, or until time period lapses as indicated by the mClock scheduler. The worker thread now waits until an item can be scheduled from the mClock queue or until notified and then returns to the main worker loop thereby eliminating the busy loop and solving the high CPU utilization issue.
Clone Of:
Environment:
Last Closed: 2023-03-20 18:57:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 56530 0 None None None 2022-08-02 23:44:47 UTC
Github ceph ceph pull 47216 0 None Merged osd: Handle oncommits and wait for future work items from mClock queue 2022-08-09 17:26:36 UTC
Github ceph ceph pull 47490 0 None Merged quincy: osd: Handle oncommits and wait for future work items from mClock queue 2022-08-09 17:26:11 UTC
Red Hat Issue Tracker RHCEPH-4986 0 None None None 2022-08-02 23:49:57 UTC
Red Hat Product Errata RHBA-2023:1360 0 None None None 2023-03-20 18:57:55 UTC

Description Vikhyat Umrao 2022-08-02 23:44:47 UTC
Description of problem:
Quincy: High CPU and slow progress during backfill
https://tracker.ceph.com/issues/56530

Version-Release number of selected component (if applicable):

Upstream quincy
RHCS 6

Upstream main branch PR - https://github.com/ceph/ceph/pull/47216

Comment 30 errata-xmlrpc 2023-03-20 18:57:13 UTC
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 (Red Hat Ceph Storage 6.0 Bug Fix update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2023:1360


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