Skip to content

Make platform build faster #84

@ergonlogic

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.

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