Date: Mon, 20 Oct 2008 15:48:43 -0700 From: Jingshao Chen <jingshao@teekoo.com> To: freebsd-ports@freebsd.org Subject: Re: speed up ports install Message-ID: <20081020224843.GA1007@teekoo.com> In-Reply-To: <48FB344E.9040904@gmail.com> References: <48FB344E.9040904@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081020224843.GA1007>