osd: Erasure code direct reads
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
xbetween 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)
- [ ] Includes unit test(s)
- [ ] Includes integration test(s)
- [ ] Includes bug reproducer
- [x] No tests
Show available Jenkins commands
-
jenkins test classic perfJenkins Job | Jenkins Job Definition -
jenkins test crimson perfJenkins Job | Jenkins Job Definition -
jenkins test signedJenkins Job | Jenkins Job Definition -
jenkins test make checkJenkins Job | Jenkins Job Definition -
jenkins test make check arm64Jenkins Job | Jenkins Job Definition -
jenkins test submodulesJenkins Job | Jenkins Job Definition -
jenkins test dashboardJenkins Job | Jenkins Job Definition -
jenkins test dashboard cephadmJenkins Job | Jenkins Job Definition -
jenkins test apiJenkins Job | Jenkins Job Definition -
jenkins test docsReadTheDocs | Github Workflow Definition -
jenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definition -
jenkins test windowsJenkins Job | Jenkins Job Definition -
jenkins test rook e2eJenkins Job | Jenkins Job Definition
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved
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.