From owner-freebsd-performance@FreeBSD.ORG Tue Sep 25 15:19:48 2007 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1768116A41A for ; Tue, 25 Sep 2007 15:19:48 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 776C413C459 for ; Tue, 25 Sep 2007 15:19:47 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.8/8.13.8) with ESMTP id l8PFJh9i077142; Tue, 25 Sep 2007 10:19:43 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.8/8.13.8/Submit) id l8PFJgid077141; Tue, 25 Sep 2007 10:19:42 -0500 (CDT) (envelope-from brooks) Date: Tue, 25 Sep 2007 10:19:42 -0500 From: Brooks Davis To: Erik Cederstrand Message-ID: <20070925151942.GB76413@lor.one-eyed-alien.net> References: <46F7A0CA.7040009@cederstrand.dk> <20070924144758.GA60358@lor.one-eyed-alien.net> <46F8B1E0.6060008@cederstrand.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <46F8B1E0.6060008@cederstrand.dk> User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Tue, 25 Sep 2007 10:19:43 -0500 (CDT) Cc: freebsd-performance@freebsd.org Subject: Re: Optimizing "make release" X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2007 15:19:48 -0000 --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 25, 2007 at 08:59:44AM +0200, Erik Cederstrand wrote: > Brooks Davis wrote: > > On Mon, Sep 24, 2007 at 01:34:34PM +0200, Erik Cederstrand wrote: > >> [...] > >> If I ignore documentation distfiles (will this affect benchmarks in a= ny =20 > >> way?), AFAICT the only distribution sets I need are base, proflibs,=20 > >> kernels and (maybe) lib32. Is there a way to get "make release" to do= =20 > >> just that? I'm open to other suggestions, of course. > > To just create a working image you can just do: > > make buildworld > > make buildkernel > > make DESTDIR=3D/target/directory installworld > > make DESTDIR=3D/target/directory distribution > > make DESTDIR=3D/target/directory installkernel >=20 > This doesn't seem to create the distribution sets I want. It just create= s=20 > the hierarchy of files which are eventually going to be on the hard-disk= on=20 > the clients. I may be wrong, but it seems that to be able to use sysinst= all=20 > to install the clients, I need to create distribution sets like the ones= =20 > supplied here: >=20 > ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/6.2-RELEASE/ Ah, I didn't realized you wanted to do that. If you do want to use sysinst= all, then you do indeed to use make release. The various NO* options documented= in the release(7) manpage and the makefile should be useful here. That said, I can't imagine why you'd want sysinstall to be involved in a automated benchmark system. Doing what it does using a hand rolled script is way easier then trying work with it. -- Brooks --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFG+ScNXY6L6fI4GtQRAtybAKDe8a6QR6h9VbFrT6Q0xQlDDYHsygCg5ysr pSxiaweEXyFYrlelMAXfAyQ= =8zVh -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--