New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Introduce faster compression and multiple threads for volume backup & restore #5189
Comments
This is wonderful and awesome 🎆 Can benefit the story of disaster recovery, especially RTO. |
Make sure to introduce a backup format version, this way it's easy to implement the backwards compatibility. This is optional but for larger volumes it would be nice if we can dynamically switch to 64MB, perhaps a block size field in the new backup v2 version? |
This feature is straightforward, but still, requires an LEP to make this feature cycle complete. |
Continue the test of #5189 (comment) The restore throughput is increased by 140% when using Note: Restore hit the IO bound of the MinIO server, because the restore throughput is saturated from 5 worker threads. |
Pre Ready-For-Testing Checklist
longhorn/backupstore#94
|
Could you please also add |
I tested zstd before, and you can refer to #1409 (comment). |
Verified on master-head 20230213
Pre-requisite The test steps
Result Passed
supportbundle_6472c308-3572-4f24-98f4-402ad495a019_2023-02-13T12-41-39Z.zip |
Weird. Why are the performances of the three compressions so closed? |
Hi @derekbit : The test steps
If we create volume first and then set the different compression methods. When we backup volume, would the volume's compression method be changed? |
No. The newly created volume's compression method is determined by the global compression method at that time. It cannot be changed. |
Yeah, it's expected. Thank you. |
Hi @derekbit : Verified on master-head 20230214
Pre-requisite The test steps
The test steps
|
Is your improvement request related to a feature? Please describe (👍 if you like this request)
The backup mechanism in Longhorn is not efficient as investigated in #1409.
Besides the refactoring, the task will cover
Backup
volume.spec.backupCompressionMethod
)Restore
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
#1409
#3900
#3175
#4379
The text was updated successfully, but these errors were encountered: