Repository navigation
doc/rados: improve Debugging Slow Requests section - #68559
Conversation
|
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
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
anthonyeleven
left a comment
There was a problem hiding this comment.
Nice. I've left some minor wording and formatting suggestions.
bluikko
left a comment
There was a problem hiding this comment.
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)** |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Agreed on colons, all phase headings now use the 'Phase N: Name' format.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Also suggest to use RST substitution with the right arrow Unicode code point for all these.
There was a problem hiding this comment.
Used RST substitution with |rarr| (U+2192) for all the right arrows in the bottleneck section.
Consistent with the convention used elsewhere in the docs to signal that command parameters need to be customized before running.
|
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 |
There was a problem hiding this comment.
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.
|
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. |
|
ok to test |
No description provided.