qa/workunits/erasure-code: add a new bash script that can be used to#58377
qa/workunits/erasure-code: add a new bash script that can be used to#58377jamiepryde wants to merge 1 commit intoceph:mainfrom
Conversation
compare the output of selected ec plugins and techniques Signed-off-by: Jamie Pryde <jamiepry@uk.ibm.com>
|
output.txt - here is a bigger set of results.
|
|
jenkins test api |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
compare the output of selected ec plugins and techniques
This PR adds a new script that calls ceph_erasure_code_non_regression to generate encoded chunks for a specified list of plugins and techniques (and stripe widths, K and M values).
A hash of each chunk is calculated and added to an output file, which can then be inspected to compare the output of the plugins. This is useful when trying to decide if it would be possible to switch from one plugin to another.
In the following example it can be seen that the ISA reed_sol_van technique produces different parity chunks for M>1 than the Jerasure reed_sol_van technique, so it would not be straightforward to switch the plugin for an existing pool using the reed_sol_van technique.
An example run:
CEPH_ERASURE_CODE_NON_REGRESSION=/ceph/build/bin/ceph_erasure_code_non_regression STRIPE_WIDTHS="256" K=3 M=3 /ceph/qa/workunits/erasure-code/plugin-comparison.shContribution 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
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e