Skip to content

kv/rocksdb: raise rocksdb get latency perf counter - #63063

Merged
YiteGu merged 1 commit into
ceph:mainfrom
ShirleyFei:add-read-latency
Aug 5, 2025
Merged

YiteGu merged 1 commit into
ceph:mainfrom
ShirleyFei:add-read-latency

Conversation

@ShirleyFei

@ShirleyFei ShirleyFei commented Apr 30, 2025 •

Copy link
Copy Markdown
Contributor

if obc NOT found in cache(object_contexts), we need get obc from db, l_rocksdb_get_latency will become part of the op latency. Understanding l_rocksdb_get_latency calls and latency helps us understand the performance changes of osd.

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

@ShirleyFei
ShirleyFei requested a review from a team as a code owner April 30, 2025 08:48
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@github-actions github-actions Bot added the core label Apr 30, 2025
@YiteGu
YiteGu requested review from aclamk and ifed01 April 30, 2025 08:52
Comment thread src/kv/RocksDBStore.cc Outdated

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 know most of the places (like BlueFS) use NULL in PerfCounterBuilder. But lets replace with nullptr.

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.

Sure, thanks so much for the review. :) I have fixed this and pushed again.

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

Optional fix requested.

@YiteGu

YiteGu commented May 1, 2025

Copy link
Copy Markdown
Member

jenkins test make check

@YiteGu

YiteGu commented May 4, 2025

Copy link
Copy Markdown
Member

jenkins test api

@YiteGu

YiteGu commented May 15, 2025

Copy link
Copy Markdown
Member

jenkins test make check arm64

@ljflores

Copy link
Copy Markdown
Member

Apologies for the delay in QA- I ran into some issues that I think are related to another PR. I'm asking Bharath to drop it and rerun some jobs to make sure.

Testing ref: https://tracker.ceph.com/issues/71409

@amathuria

Copy link
Copy Markdown
Contributor

@amathuria

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

2 similar comments
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@ifed01

ifed01 commented Jul 21, 2025

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

@ShirleyFei - QA validation for this PR is completed.You may proceed with merging once the QA link verification is successfully completed.

@YiteGu

YiteGu commented Jul 31, 2025

Copy link
Copy Markdown
Member

@ShirleyFei - QA validation for this PR is completed.You may proceed with merging once the QA link verification is successfully completed.

@SrinivasaBharath QA link verification seems to be running for a long time and has not yet finished.

@ljflores ljflores closed this Aug 4, 2025
@ljflores ljflores reopened this Aug 4, 2025
@YiteGu
YiteGu merged commit 31cda92 into ceph:main Aug 5, 2025
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.

8 participants