-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Restic backup performance massively degraded with latest Minio build: 2017-05-05T01:14:51Z #4275
Comments
I should also note that no errors were logged to the console by either minio or restic during any of the above tests. |
Actually this should have been represented in |
Thanks @vsivsi attempting to reproduce locally.. |
@krishnasrinivas thanks for the fast response! Based on my quick reading of the content of that commit, there must be more to it than that.
Something else has to be going on. |
@vsivsi are you running FS, Erasure Code, Distributed Mode? |
also did you install from |
brew install minio/stable/minio |
Just running a single minio instance on localhost backed by a single FS volume.
|
Here are my results with the new version on Linux on my laptop.
I am not able to reproduce the same results as yours on Linux. Is is somehow possible to access your setup? |
Another clue, neither minio nor restic are using anything close to 100% CPU during the slow backups using the latest version of minio. It feels like something in minio is waiting for some kind of timeout and restic is stuck waiting for responses to its HTTP API requests. |
Oops sorry false alarm i am able to reproduce it on Linux as well @vsivsi |
I'll run two tests in the morning (it's midnight here).
|
Found the problem @vsivsi .. there is a retry loop that is occurring with the minio-go version restic is using. The fix is this minio/minio-go@fd94228 |
Rebuilding restic with these updates.. will keep you posted @vsivsi |
Okay so that fixed the issue,, will send a PR to restic to update
@vsivsi - Thanks for the bug report. |
Thanks for all the work! |
Shall I update minio-go for restic? |
Either you can do, or i can do whatever is easier @fd0 . |
I'll update it, thanks :) |
This corrects a severe performance regression when the current minio server is used as a backend, see minio/minio#4275
@vsivsi Could you try again please? We've also fixed a few things for the s3 backend since v0.5.0 was released, I'll release a new version probably in the next week. |
I have confirmed that a custom build of restic Thanks for the quick response from all! |
Feel free to close this issue @vsivsi. Other we will close once Restic has released a new version. |
Let's leave it open until restic releases, that way it will be easy for others to find in the meantime... Sound good? |
Good idea @vsivsi 👍 |
This has not yet been fixed in a restic release. Users deploying the latest released versions of minio and restic will still see this issue until that happens. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Update: This issue has been fixed in Restic 0.6.0
Something changed in Minio between versions 2017-04-29T00:40:27Z and 2017-05-05T01:14:51Z that has caused Restic (version 0.5.0) backups to become incredibly slow.
@fd0 (Restic owner) should probably know about this too...
My testing has been on OS X 10.11.6.
The following table summarizes results of my repeated testing:
(Full instructions to reproduce, with output of a representative run are below)
As you can see, restic is dramatically slower with the latest minio.
Expected Behavior
Restic performance with the latest minio release would be comparable to previous versions.
Current Behavior
Many restic operations are 1-2 orders of magnitude slower after upgrading to the latest minio.
Possible Solution
¯\(ツ)/¯
Steps to Reproduce (for bugs)
The test data can be recreated by:
Restic configuration was setup via env vars:
Using this setup, the following tests were repeated 3 times each. The results below are representative of all of those runs:
Using previous minio release:
Using latest minio release:
Context
Latest minio update makes minio + restic unusable
Your Environment
OS X 10.11.6
Restic version 0.5.0 (installed with brew)
Minio version 2017-05-05T01:14:51Z (installed with brew)
Minio run as a single standalone server and accessed on localhost.
The text was updated successfully, but these errors were encountered: