ceph icon indicating copy to clipboard operation
ceph copied to clipboard

osd: Erasure code direct reads

Open aainscow opened this issue 7 months ago • 7 comments

Current erasure code reads always go to the primary OSD. This adds latency and reduces maximum possible IOPs.

In this PR, if "replica balanced reads" are on, we direct small reads directly to the OSD containing the data and perform that read synchronously.

Early performance results are looking positive:

https://github.com/lee-j-sanders/perfresults/blob/main/cbt_24thJuly_directreads/comparitive_performance_report_250724_091106.md

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
    • [x] 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
    • [x] No impact that needs to be tracked
  • Documentation (select at least one)
    • [ ] Updates relevant documentation
    • [x] No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

aainscow avatar Jul 24 '25 10:07 aainscow

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

github-actions[bot] avatar Jul 24 '25 10:07 github-actions[bot]

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

github-actions[bot] avatar Aug 31 '25 03:08 github-actions[bot]

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

github-actions[bot] avatar Sep 16 '25 22:09 github-actions[bot]

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

github-actions[bot] avatar Sep 29 '25 09:09 github-actions[bot]

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

github-actions[bot] avatar Oct 23 '25 13:10 github-actions[bot]

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

github-actions[bot] avatar Nov 28 '25 00:11 github-actions[bot]

Config Diff Tool Output


+ added: osd_min_split_replica_read_size (global.yaml.in)

The above configuration changes are found in the PR. Please update the relevant release documentation if necessary.
Ignore this comment if docs are already updated. To make the "Check ceph config changes" CI check pass, please comment /config check ok and re-run the test.

github-actions[bot] avatar Dec 02 '25 13:12 github-actions[bot]