From owner-freebsd-questions@FreeBSD.ORG Tue Nov 30 05:27:55 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 00EBA16A4CE for ; Tue, 30 Nov 2004 05:27:55 +0000 (GMT) Received: from lakermmtao12.cox.net (lakermmtao12.cox.net [68.230.240.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7116443D48 for ; Tue, 30 Nov 2004 05:27:54 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.30.24]) by lakermmtao12.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP id <20041130052752.FCDL7953.lakermmtao12.cox.net@dolphin.local.net>; Tue, 30 Nov 2004 00:27:52 -0500 Received: from dolphin.local.net (localhost.local.net [127.0.0.1]) by dolphin.local.net (8.13.1/8.13.1) with SMTP id iAU5Rqg2025597; Mon, 29 Nov 2004 23:27:52 -0600 (CST) (envelope-from conrads@cox.net) Date: Mon, 29 Nov 2004 23:27:47 -0600 From: "Conrad J. Sabatier" To: Kris Kennaway Message-ID: <20041129232747.528fdce4@dolphin.local.net> In-Reply-To: <20041130035734.GA36416@xor.obsecurity.org> References: <000501c4d68f$74a82320$0400a8c0@satellite> <20041130035734.GA36416@xor.obsecurity.org> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: dave cc: freebsd-questions@freebsd.org 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:27:55 -0000 On Mon, 29 Nov 2004 19:57:34 -0800, Kris Kennaway wrote: > 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? > > make fetchindex > > Kris 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. You can save yourself a lot of headaches if you do a nightly cvsup via cron and rebuild the index at that time. -- Conrad J. Sabatier -- "In Unix veritas"