bootstrap-vz/bootstrapvz/plugins/tmpfs_workspace
2018-02-25 04:12:24 +00:00
..
__init__.py fix pylint W0403(relative-import) 2018-02-25 04:12:24 +00:00
README.rst tmpfs_workspace: Plugin for having workspace on tmpfs for speed 2018-01-20 05:30:59 +01:00
tasks.py tmpfs_workspace: Plugin for having workspace on tmpfs for speed 2018-01-20 05:30:59 +01:00

tmpfs workspace
---------------

The ``tmpfs workspace`` plugin mounts a tmpfs filesystem for the
workspace temporary files. This is useful when the workspace directory
is placed on a slow medium (e.g. a hard disk drive), the build process
performs lots of local I/O (e.g. building a vagrant box), and there is
enough RAM to store data necessary for the build process. For example,
the ``stretch-vagrant.yml`` manifest file from the examples directory
takes 33 minutes to build on the plugin author's home server. Using
this plugin reduces this time to 3 minutes at the cost of 1.2GB of
additional RAM usage.

Settings
~~~~~~~~

This plugin has no settings. To enable it add ``"tmpfs_workspace":{}``
to the plugin section of the manifest.