From owner-freebsd-ports@FreeBSD.ORG Mon Oct 20 23:01:20 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDBA41065675 for ; Mon, 20 Oct 2008 23:01:20 +0000 (UTC) (envelope-from jchen@teekoo.com) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by mx1.freebsd.org (Postfix) with ESMTP id AB3548FC23 for ; Mon, 20 Oct 2008 23:01:20 +0000 (UTC) (envelope-from jchen@teekoo.com) Received: from jchen-lap.teekoo.com (dhcp-128-107-133-191.cisco.com [128.107.133.191]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1Ks3YK2Gbz-0006zw; Mon, 20 Oct 2008 18:48:45 -0400 Received: by jchen-lap.teekoo.com (Postfix, from userid 1001) id C30F51712C; Mon, 20 Oct 2008 15:48:43 -0700 (PDT) Date: Mon, 20 Oct 2008 15:48:43 -0700 From: Jingshao Chen To: freebsd-ports@freebsd.org Message-ID: <20081020224843.GA1007@teekoo.com> References: <48FB344E.9040904@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48FB344E.9040904@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Provags-ID: V01U2FsdGVkX18QhkCiXh2QRU9whZYgBMYX9WFzziwgtTtBp66 hZNU1coOsQayGZCEUv/oceyM4ywDfrrfi0vSC6YQU70oPU750S 8vIg/7MTHx3jkq+4L6MYbxti1kPu7cx Subject: Re: speed up ports install 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, 20 Oct 2008 23:01:20 -0000 I think this is a good idea. The only thing is we need to get to install process sync so if one is in need of a package while the other is downloading, the first process will just wait for it to complete then proceed. Thanks, Jingshao On Sun, Oct 19, 2008 at 09:21:18AM -0400, Eitan Adler wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I have a simple idea to make use the threads without any possibility of > conflicts. I am sure there will be someone to point out a negative, but > I don't see any. > When you do "make install" launch a "make fetch-recursive" thread at the > same time. That way you don't need to wait for the files to > install->fetch the next one->install it->fetch the next one... > For those who don't want that you could get the old behavior with "make > onlyinstall". I currently do this with a "make" wrapper script and I > find installation to be faster. > > > - -- > GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (FreeBSD) > > iEYEARECAAYFAkj7NE4ACgkQtl8kq+nCzNH0swCbBH7tXkd/J34muQal6LNOpje1 > QkcAnjHVJ5BPV/JpsiLdXbK+clO78eD9 > =prtk > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"