Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2008 17:22:58 -0400
From:      Eitan Adler <eitanadlerlist@gmail.com>
To:        Jingshao Chen <jingshao@teekoo.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: speed up ports install
Message-ID:  <49023CB2.5040409@gmail.com>
In-Reply-To: <20081020224843.GA1007@teekoo.com>
References:  <48FB344E.9040904@gmail.com> <20081020224843.GA1007@teekoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49023CB2.5040409>