From owner-freebsd-questions@FreeBSD.ORG Tue Nov 30 05:35:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC50E16A4CE for ; Tue, 30 Nov 2004 05:35:07 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84BE143D58 for ; Tue, 30 Nov 2004 05:35:07 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6311A512AF; Mon, 29 Nov 2004 21:40:13 -0800 (PST) Date: Mon, 29 Nov 2004 21:40:13 -0800 From: Kris Kennaway To: "Conrad J. Sabatier" Message-ID: <20041130054013.GB67455@xor.obsecurity.org> References: <000501c4d68f$74a82320$0400a8c0@satellite> <20041130035734.GA36416@xor.obsecurity.org> <20041129232747.528fdce4@dolphin.local.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WYTEVAkct0FjGQmd" Content-Disposition: inline In-Reply-To: <20041129232747.528fdce4@dolphin.local.net> User-Agent: Mutt/1.4.2.1i cc: dave cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: portupgrade and index X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 05:35:07 -0000 --WYTEVAkct0FjGQmd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 29, 2004 at 11:27:47PM -0600, Conrad J. Sabatier wrote: > On Mon, 29 Nov 2004 19:57:34 -0800, Kris Kennaway > wrote: >=20 > > On Mon, Nov 29, 2004 at 10:48:29PM -0500, dave wrote: > > > Hello, > > > I've got a box that runs portupgrade to keep the most current > > > ports. > > > I've lately switched to make fetchindex vs. portsdb -uU which goes > > > much faster. My problem is whenever i do a make search for a port > > > the index.5 file is regenerated and that takes an extremely long > > > time. I was wondering if this is normal behavior, and what if > > > anything i could do to speed it up? > >=20 > > make fetchindex > >=20 > > Kris >=20 > You can also increase the concurrency of "portsdb -U"/"make index" by > setting INDEX_JOBS in /etc/make.conf. The default number of parallel > jobs is 2. Increasing this to, say, 8, will save some time in building > the index. In my testing 4 helped on a dual SMP machine but 8 didn't, because the process was I/O bound already at 4. Kris --WYTEVAkct0FjGQmd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBrAe8Wry0BWjoQKURAi2rAKDw3Avmq0Cw1RrwSG08aYL2pqi4wACgjRgN tPqBQVcKZ7v6Mod39knW+Ko= =O7yd -----END PGP SIGNATURE----- --WYTEVAkct0FjGQmd--