From owner-freebsd-questions@FreeBSD.ORG Wed Jan 23 22:40:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03F5416A421 for ; Wed, 23 Jan 2008 22:40:57 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id D7A8D13C44B for ; Wed, 23 Jan 2008 22:40:56 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2857252rvb.43 for ; Wed, 23 Jan 2008 14:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=cEoJJE9txTS2W5FEAfQmaZp3MK6PxCCJ50FaIKMFyGw=; b=pHFo+oEpJFX7AGE7p0y0HGll14usRm1u+qrRJWfVG2xee8As/IYecybZtdQH6pQehI6kVPbKd5GBPPSVFZeNmRC/QYBcfYadzruXpsm7ikPavlLFxnGecRIrmW0WpTFuEUHYYDNQ4FLEsppZUzOi9GFxBJ1pT+yszKMjBfg9DAU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cYesRnzy+xe4hcqkbdrkowVtc566K5fC5OIktt9eRQ0CY6pFODTGRJIxE0UYYI3N0jDbPgL4r/oD6Vg3LRpjdx/bJcwv31bkeziMtdptNWwhY0laXpq1GcyT6c5r92y7HEGxqyaTADAE1Af7AKQtupmVjuqfhKgxFmYRWqX1/CY= Received: by 10.141.33.21 with SMTP id l21mr6743392rvj.140.1201128056103; Wed, 23 Jan 2008 14:40:56 -0800 (PST) Received: by 10.141.49.19 with HTTP; Wed, 23 Jan 2008 14:40:56 -0800 (PST) Message-ID: Date: Wed, 23 Jan 2008 16:40:56 -0600 From: "illoai@gmail.com" To: "Shawn Barnhart" In-Reply-To: <4797B05F.6020201@grasslake.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4797B05F.6020201@grasslake.net> Cc: FreeBSD Subject: Re: Buildworld for slow system on faster system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 22:40:57 -0000 On 23/01/2008, Shawn Barnhart 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 -- --