speed up ports install

Eitan Adler eitanadlerlist at gmail.com
Fri Oct 24 21:23:03 UTC 2008


-----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 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"
> _______________________________________________
> 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"

- --
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-----


More information about the freebsd-ports mailing list