Performance Related Question

Lowell Gilbert freebsd-questions-local at
Thu Feb 28 21:27:16 UTC 2013

Frederico Costa <fredports at> writes:

> And thanks for the suggestions.
> I have now tested with -j option and i can confirm that my
> expectations are correct the Dual CPU dual core AMD completes the
> buildworld with -j4 in one hour only, while the intal core 2 does it
> in 1h30m

The ideal values for that parameter vary considerably with the balance
between number of cores, number of virtual cores, memory (amount and
speed) and disk throughput. If you want to optimize it, you'd need to
experiment. But it's not worth it; you can easily spend hours shaving a
couple of minutes off of your system build time.

> should i stick the -j option in the make.conf?

No. It sometimes causes problems with the install targets, and besides,
it makes the build output very confusing (so when you have a problem,
you always want to run without it).

More information about the freebsd-questions mailing list