gecko-dev/testing/docker/centos6-build
Gregory Szorc 7043587cd4 Bug 1293395 - Declare Docker volumes for cache paths; r=dustin
As bug 1291940 shows, aufs can be a real performance drag.

Most performance critical paths in containers are caches. This allows
the use of the host filesystem (instead of aufs), which is much faster
under load.

Unfortunately, most caches are stripped on Try. This means paths that
would be served from the fast host filesystem are now being handled
by aufs. This can make Try jobs slower than non-Try jobs.

This commit declares Docker volumes for popular cache paths. If the
cache is present, the cache takes precedence over the declared volume.
If the cache isn't present, Docker falls back to an empty volume that's
used for the task and only the task.

It's worth noting that desktop-build is updated redundantly with
centos6-build. We currently can't rebuild centos6-build because of
a determinism issue (bug 1272629) breaking valgrind. So, I work around
this by declaring the volume in the top-most "desktop-build" layer.
This hack can be removed once we merge the images.

MozReview-Commit-ID: 7JtxAfI7ED5

--HG--
extra : rebase_source : aec1675c3393d767f5d10130553148155190f19d
2016-08-08 13:38:06 -07:00
..
Dockerfile Bug 1293395 - Declare Docker volumes for cache paths; r=dustin 2016-08-08 13:38:06 -07:00
REGISTRY
VERSION Backed out changeset 3d245551d3fb (bug 1260505) for suspicion of causing taskcluster-images opt Docker Artifact Image Builder failures 2016-04-05 09:48:49 +02:00
hgrc
system-setup.sh Backed out changeset 3d245551d3fb (bug 1260505) for suspicion of causing taskcluster-images opt Docker Artifact Image Builder failures 2016-04-05 09:48:49 +02:00