Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2008 16:40:56 -0600
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Shawn Barnhart" <swb@grasslake.net>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Buildworld for slow system on faster system
Message-ID:  <d7195cff0801231440v68e1b246mca1025c8dee704da@mail.gmail.com>
In-Reply-To: <4797B05F.6020201@grasslake.net>
References:  <4797B05F.6020201@grasslake.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23/01/2008, Shawn Barnhart <swb@grasslake.net> wrote:
> My primary FreeBSD box is a Dual P3 700 Mhz, which is dandy for my
> console mode server usage but kind of blows for buildworld and kernels
> when I want them done a timely fashion.  I'd like to do it in a
> dual-proc VM on my quad core workstation, where it gets done a lot faster.
>
> Is there any documentation for doing buildworld on a faster system for a
> slower system?  Can I just mount the slow system's /usr/src on a
> mountpoint on the faster system, do the buildworld and buildkernel, and
> then run the installworld and installkernel as per normal on the slow
> system?  It sounds too easy, so it probably is..


It is /usr/obj you want to mount across, though it
will work.  Assuming they're similar enough
versions.  Also assure yourself that their respective
/etc/make.conf (and/or /etc/src.conf) files are
essentially identical, or you will great sorrows
have.

If /usr/obj is nfs mounted on the _build_ machine
it will slow down your build times absurdly, unless
your network (minus overhead) is nearly as fast as
your HDD controller.

>
> What about ports?  I can usually tolerate the ports build times, so its
> not a big deal, although sometimes the dependencies and larger packages
> can be toe-tappers as well.
>

Sure, just use the package-recursive target and use
pkg_add on the install machine(1).



(1) details elided

-- 
--



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