-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
Orbstack slow with Mutagen #718
Comments
I haven't seen any sluggish performance using Mutagen. I'd like to see some performance stats showing the difference between Orbstack bind mounts versus Mutagen sync. Not saying I don't believe them, but there are multiple reasons why performance could be an issue with Mutagen (e.g. anti-virus). @navarr A good QOL update would be to have a flag for projects to disable it. Something like:
|
Mutagen is also stuck on 'Scanning Files' on a MacBook m1 chip I disabled Mutagen completely which solved the issue. I use it combined with Magento 2 Environment type. Disable Mutagen and use default volumne mount rm environments/magento2/magento2.darwin.yml commands/env.cmd #if [[ $OSTYPE =~ ^darwin ]]; then
# export MUTAGEN_SYNC_FILE="${WARDEN_DIR}/environments/${WARDEN_ENV_TYPE}/${WARDEN_ENV_TYPE}.mutagen.yml"
# if [[ -f "${WARDEN_HOME_DIR}/environments/${WARDEN_ENV_TYPE}/${WARDEN_ENV_TYPE}.mutagen.yml" ]]; then
# export MUTAGEN_SYNC_FILE="${WARDEN_HOME_DIR}/environments/${WARDEN_ENV_TYPE}/${WARDEN_ENV_TYPE}.mutagen.yml"
# fi
# if [[ -f "${WARDEN_ENV_PATH}/.warden/environments/${WARDEN_ENV_TYPE}/${WARDEN_ENV_TYPE}.mutagen.yml" ]]; then
# export MUTAGEN_SYNC_FILE="${WARDEN_ENV_PATH}/.warden/environments/${WARDEN_ENV_TYPE}/${WARDEN_ENV_TYPE}.mutagen.yml"
# fi
# if [[ -f "${WARDEN_ENV_PATH}/.warden/mutagen.yml" ]]; then
# export MUTAGEN_SYNC_FILE="${WARDEN_ENV_PATH}/.warden/mutagen.yml"
# fi
#fi |
@lewisvoncken
Can you please elaborate on how you are syncing in such case? |
Here is a pull request |
@lewisvoncken I left a comment on the PR, but the approach in the PR is the wrong approach. It forces everyone to use a bind mount even if they're not using OrbStack. The more appropriate approach would be to make Mutagen an optional service like Elasticsearch or Blackfire so those running OrbStack can disable Mutagen while those running Docker Desktop can run Mutagen. Cc. @navarr |
I have created a PR to make the use of Mutagen optional in the Warden configuration |
@joseluisi4 I added a couple comments. |
I have the same issue, for example when I change a composer.json file on my own filesystem and I access the container, I notice that both files are not the same. Running mutagen start/stop doesn't help.
This takes a very very long time. |
Version of Warden
0.14.1
Operating System and Installation Method
MacOS Sonoma 14.0
Image
mutagen
Describe the Bug
Combining Warden with Orbstack can be faster without Mutagen enabled.
To Reproduce
No response
Expected Behavior
No response
Additional context
orbstack/orbstack#430
The text was updated successfully, but these errors were encountered: