On 08/16/12 02:10 AM, Mike Hommey wrote: > But maybe we can work around this. At least for rm -rf, instead of > rm -rf'ing before the build, we could move the objdir away so that a > fresh new one is created. The older one could be removed much later.
I don't think this would be any more than a one-time win until the disk fills up. At the start of each job we ensure there's enough space to do the current job. By moving the objdir away we'd avoiding doing any clean up until we need more space than is available. After that, each job would still end up cleaning up roughly one objdir to clean up enough space to run. A common technique for dealing with this on Windows is to have a dedicated partition for the builds, and to format it on start-up rather than delete things, because a quick format is much quicker than deleting. I don't think it's something RelEng could implement quickly, but might be worthwhile looking at in the longer term. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform