speed up ports install

Jingshao Chen jingshao at teekoo.com
Mon Oct 20 23:01:20 UTC 2008


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list