Skip to content

doc/rados: improve Debugging Slow Requests section - #68559

Merged
eameh-LF merged 2 commits into
ceph:mainfrom
eameh-LF:wip-doc-66683
Aug 5, 2026
Merged

eameh-LF merged 2 commits into
ceph:mainfrom
eameh-LF:wip-doc-66683

Conversation

@eameh-LF

Copy link
Copy Markdown
Contributor

No description provided.

@eameh-LF
eameh-LF requested review from a team as code owners April 22, 2026 20:41
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

13 similar comments
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@github-actions github-actions Bot added the core label Apr 22, 2026
@eameh-LF
eameh-LF marked this pull request as draft April 22, 2026 20:41

@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.

Nice. I've left some minor wording and formatting suggestions.

@bluikko bluikko 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.

The failing GitHub action should pass if you include doc/rados: also on the second commit log summary line. But I think squashing the commits might be preferred.

Some nits below.

Walk it to find the longest-duration event and diagnose bottleneck
(see `Identifying the bottleneck`_ below).

**Phase 1 — Messenger (message arrival)**

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.

I would suggest to replace all these six Unicode em dashes with ASCII hyphens or use the RST substitution feature with the Unicode code point.

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.

I’d prefer colons

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Agreed on colons, all phase headings now use the 'Phase N: Name' format.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Replaced all em dashes in the phase headings with colons, which Anthony also preferred.

- ``type_data.flag_point``: current or last state reached by the op
- ``type_data.client_info.client``: entity name, format ``client.NUM``
- ``type_data.client_info.client_addr``: network address, format
``IP:port/nonce`` where nonce identifies the client process instance

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.

Question, if you don't mind: how does IP:port work for IPv6? I assume it would use the usual bracket notation [IPv6]:port? I don't know if this should be noted (if it really works like that, hopefully it would).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for raising this. For IPv6, Ceph does use bracket notation, so I've updated the format string to show both IP:port/nonce and [IPv6]:port/nonce. That said, I'd like someone with deeper networking or messenger-layer expertise to verify this before it merges. Could you point me to the right person or team to confirm?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good question. Updated the field description to show both IP:port/nonce and [IPv6]:port/nonce formats. Happy to get a second opinion from someone with messenger-layer expertise if you know who to ping.

is uninitialized (zero) and the previous event has a real timestamp,
unsigned subtraction wraps: ``0 - 1718984486 ~= 2^32 - 1``.
This does **not** mean the op was throttled for 136 years. **Ignore the
``throttled`` event duration.** Focus on other events when diagnosing.

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.

Suggest to either break the bold around the inline preformatted or drop the bold: double backticks do not stack on top of double stars and render as-is

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Dropped the bold formatting around the inline code literal to fix the rendering issue.

- Large duration on ``waiting for rw locks`` → per-object lock
contention. Another op holds the lock on the same object. Reduce
concurrent writes to the same object.
- Large duration on ``waiting for subops from [X,Y]`` → replica X or Y

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.

Also suggest to use RST substitution with the right arrow Unicode code point for all these.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Used RST substitution with |rarr| (U+2192) for all the right arrows in the bottleneck section.

@eameh-LF
eameh-LF marked this pull request as ready for review May 2, 2026 21:30
Consistent with the convention used elsewhere in the docs to signal
that command parameters need to be customized before running.
@eameh-LF

Copy link
Copy Markdown
Contributor Author

Thanks Anthony and bluikko for the thorough review. Most of the feedback was addressed in prior commits (colons on phase headings, double backticks, op tracker note, osd_op_complaint_time distinction, Unicode cleanup, bold/lowercase fixes, RST substitution for arrows, IPv6 format). This latest commit fixes the remaining item: the three command intros now use the standard 'Run a command of the following form:' phrasing. Let me know if anything else needs attention.


.. _rados-slow-requests-debugging:

.. |rarr| unicode:: U+2192 .. RIGHT ARROW

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.

What is this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That line defines the |rarr| substitution for the right arrows used in the bottleneck lists further down. bluikko suggested using an RST substitution with the Unicode code point rather than raw arrow characters in the source, and the text after the second .. is just a comment describing it.

@eameh-LF

eameh-LF commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

I believe all the review feedback is now addressed, and I have replied to the remaining open threads. Since I am not in the Ceph org yet, could someone comment ok-to-test to kick off CI? The two perf regression failures look unrelated to this docs-only change. Thanks Anthony and bluikko for the thorough reviews.

@bluikko

bluikko commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

ok to test

@eameh-LF
eameh-LF merged commit b8fdadf into ceph:main Aug 5, 2026
6 checks passed
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