Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 11:09:42 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        rwatson@FreeBSD.org
Cc:        astrodog@gmail.com, current@FreeBSD.org
Subject:   Re: lockf in installworld -- not a good idea
Message-ID:  <20060929.110942.1723237142.imp@bsdimp.com>
In-Reply-To: <20060929172657.Q74256@fledge.watson.org>
References:  <2fd864e0609290707t7e7d6e17g61a09ff5aa10ff3f@mail.gmail.com> <20060929.091414.74722768.imp@bsdimp.com> <20060929172657.Q74256@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20060929172657.Q74256@fledge.watson.org>
            Robert Watson <rwatson@FreeBSD.org> writes:
: 
: On Fri, 29 Sep 2006, Warner Losh wrote:
: 
: >> For what its worth.... I'd go with just stopping support for -j in 
: >> installworld, even if things are CPU bound.
: >
: > installworld should *NEVER* be done -j.  Ever.  That wasn't part of the 
: > installworld bargin when it was started.  There's no point to it at all. 
: > As such, any support to make it work should be removed with extreme 
: > prejustice.  Why on earth would you want to do installworld -j?
: 
: I wouldn't doubt that it's at least marginally faster, possibly a
: bit faster, but I think I come down pretty firmly on the side of
: "let's make installworld as simple and reliable as possible" --
: breaking in the middle of installworld can have messy consequences,
: and we should minimize the chances of that as much as possible.

I tend to agree with that basic philosophy.  From other items in the
thread, it was clear this came up in the context of build release,
which benefits from -j usually.  The installworld phase in that should
be as robust as possible as well, since otherwise we have issues with
the actual release.  Unless it is a big win (more than a few percent),
I'd imagine the right fix is to the release target to not do a
parallel installworld.  I know that in the build scripts that I wrote
in 3.x days and have ported forward since then I've never done a
parallel install, due to it rarely working reliably in that (long)
time span...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060929.110942.1723237142.imp>