From owner-freebsd-ports@FreeBSD.ORG Mon May 28 07:29:56 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A6FA16A4EC for ; Mon, 28 May 2007 07:29:56 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.freebsd.org (Postfix) with ESMTP id 47D2F13C48A for ; Mon, 28 May 2007 07:29:56 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from laptop2.montlan (12-216-253-187.client.mchsi.com[12.216.253.187]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20070528072955m9200d8ntte>; Mon, 28 May 2007 07:29:55 +0000 Message-ID: <465A84F3.3020907@math.missouri.edu> Date: Mon, 28 May 2007 02:29:55 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2) Gecko/20070525 SeaMonkey/1.1.1 MIME-Version: 1.0 To: ports@freebsd.org References: <465A83ED.5000606@math.missouri.edu> In-Reply-To: <465A83ED.5000606@math.missouri.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Slightly faster "make all-depends-list" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 07:29:56 -0000 Stephen Montgomery-Smith wrote: > Here is a C program that does the same as "make all-depends-list" but > runs four threads at once. I get small time increases on a regular > computer, and twice the speed on dual processor systems. > > e.g. > all-depends-list /usr/ports/x11/xorg > The attachment didn't take. Here it is: http://www.math.missouri.edu/~stephen/all-depends-list.c