-
Notifications
You must be signed in to change notification settings - Fork 122
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
Massive performance difference between docker-for-mac and docker-machine #689
Comments
@arthurlm44 I can confirm that I'm also seeing MAJOR performance issues when comparing Docker for Mac and Docker Machine. InformationI actually tried three different configurations:
I ran a test suite that contains a little over 300 tests. Here are my results: Config 1 (Local + Docker Machine): ~5 minutes Versions: running Docker Toolbox 1.12 and Docker for Mac 1.12 |
So is this issue related to File I/O performance problems as well? |
This issue is likely a duplicate of #668 which tracks a recent performance regression in Docker for Mac's block storage layer related to disk flushing. If this is using If you believe that neither of these issues is the same as your issue, please feel free to re-open this issue with additional details to help us understand the problem you are experiencing. Thanks for using Docker for Mac! |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Performance equal to docker-machine
Actual behavior
Much slower than docker-machine
Information
Using docker-compose to start and run a mysql container.
Running a Rails application natively on OSX host.
When running Rails migrations, against the dockerized mysql container, I'm getting massive performance differences between docker-for-mac and docker-machine (using virtualbox)
Docker-for-Mac:
real 10m29.800s user 0m11.336s sys 0m3.192s
docker-machine:
real 0m32.145s user 0m9.637s sys 0m2.719s
That is a 20x performance difference.
Is this caused by xhyve limitations? Should we expect docker-for-mac performance issues to be addressed? The performance issues, unfortunately, are stopping us from using docker for local development on OSX.
The text was updated successfully, but these errors were encountered: