From owner-freebsd-ports@FreeBSD.ORG Fri Oct 24 21:23:03 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 69F5E1065679 for ; Fri, 24 Oct 2008 21:23:03 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id 37EAC8FC0A for ; Fri, 24 Oct 2008 21:23:03 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so979444rvf.43 for ; Fri, 24 Oct 2008 14:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding :from; bh=wi5Y9xpYFVwb1Vl5AUvZmoJ5iPA0Rq8b48+xU3o+po0=; b=kzI0PzcCRk7sxzpKFY/m/HkI6gJeafhQQgjqI3hPCpfUplRNQ/215xGmDC6xLXyVCr kG42ps7/X0yOjfnfnKuNMzmWlv2CcdptO5NUsKgVnTYvhcBP4zr5W7Vz4eJhPquCW32U VLkOxdor1OPKCQbKpHzFsDf36fHUVuj56BL78= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding:from; b=oFKuqgVrI6kvzhxfyuZaKGupVkzGYXS/h+LM4zJG4KLB4AFNp9CZvzL1thk2nMLd3k +hEXpIkGHuHU+0SLepNHlwQRxufR4bc9p//Wk743NZVDtbJAMRZwClDqO/ldBVdQgcNx pgS7NdD+oMhb7SgywXsvbhAaCSmJllLzwGSEE= Received: by 10.141.151.18 with SMTP id d18mr1485575rvo.75.1224883382704; Fri, 24 Oct 2008 14:23:02 -0700 (PDT) Received: from ?192.168.1.101? (ool-182d26f3.dyn.optonline.net [24.45.38.243]) by mx.google.com with ESMTPS id f21sm1961997rvb.5.2008.10.24.14.23.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 24 Oct 2008 14:23:01 -0700 (PDT) Message-ID: <49023CB2.5040409@gmail.com> Date: Fri, 24 Oct 2008 17:22:58 -0400 User-Agent: Mozilla (X11; U; FreeBSD i386; en-US; ) Gecko Thunderbird Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Jingshao Chen References: <48FB344E.9040904@gmail.com> <20081020224843.GA1007@teekoo.com> In-Reply-To: <20081020224843.GA1007@teekoo.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=E9C2CCD1; url=pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: Eitan Adler Cc: freebsd-ports@freebsd.org 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: Fri, 24 Oct 2008 21:23:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jingshao Chen wrote: > 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. I would l love to implement it and then send it as a patch - but I don't know how. > > Thanks, > Jingshao > > On Sun, Oct 19, 2008 at 09:21:18AM -0400, Eitan Adler wrote: > 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. > > _______________________________________________ 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" > _______________________________________________ > 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" - -- GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkCPLIACgkQtl8kq+nCzNGxNgCfcRVq3lxZh+G+Lt3Y5S5BgEk4 70YAn3Z+c7/4LRH6knbiN3nTL78b1lPz =35MD -----END PGP SIGNATURE-----