make -j$n buildworld : use of -j investigated
Kris Kennaway
kris at obsecurity.org
Thu Nov 25 18:48:23 PST 2004
On Fri, Nov 26, 2004 at 11:44:53AM +0900, Rob wrote:
> Nick Barnes wrote:
> >On Thu, 25 Nov 2004 16:19:02 +0900, Rob <spamrefuse at yahoo.com> wrote:
> >
> >
> >>> time(minutes) * speed(MHz) * nproc / 1000 MHz
> >
> >
> >Looking at your examples, it seems you divide by 1e5, not by 1000.
>
> Sorry, yes you're right.
>
> >In other words, buildworld is CPU bound and takes about 6e12 clock
> >cycles. Use -j<nproc>.
>
> My main point is: when using "-j<nproc>", I am able to predict how long
> the buildworld takes on a range of 'mainstream' systems like the ones I
> have (pentium-II to pentium-IV and dual-pentium-III):
>
> time(minutes) = 1e5 / ( speed(MHz) * nproc )
>
> P-II 333 MHz : 300 min.
> P-III 700 MHz : 142 min.
> P-III 2x800 MHz : 62 min.
> P-IV 2000 MHz : 50 min.
>
> Within a few minutes, all these times are correct.
>
> I still have to test my P-I/150 MHz also running 5.3, and verify
> that buildworld will take approx. 670 min.
Of course, there are other factors that you don't consider that have a
huge impact on buildworld time, in particular disk performance.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041125/eb9dffde/attachment.bin
More information about the freebsd-stable
mailing list