Skip to content

Make platform build faster #84

Description

@ergonlogic

Platform builds via drush make can be excruciatingly slow for large platforms. This is largely due to the NFS mounting of ~/platforms. Basically, the projects are downloaded to Drush's package cache (in ~/.drush/cache/download), then copied into a temporary directory (/tmp/make_tmp...), then finally moved into place at their final destination (/var/aegir/platforms/...). That final move operation crosses file-system boundaries, and so rather than being nearly instantaneous, requires copying the entire platform over NFS.

In my tests, this is taking roughly 15 minutes for a recent version of Rune. Moving the cache and temp dirs into ~/platforms might help here, as the copy and move operations would stay on the same FS.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions