Performance Related Question

Frederico Costa fredports at mufley.com
Thu Feb 28 18:23:03 UTC 2013


Hi...

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

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

Fred

On 2013-02-27 22:58, Warren Block wrote:
> On Wed, 27 Feb 2013, Frederico Costa wrote:
> 
>> On 2013-02-27 22:27, Michael Ross wrote:
>>> If I read you right, you didn't ``make -jX buildworld'',
>>> with X being the number of processes to spawn,
>>> so you used just one core on either machine.
>>> Buildworld does a lot of I/O, so disk speed is relevant.
>> 
>> Yes, i just made "make buildworld".
>> 
>> So i should use make -j2 on the S1(dual core) and -j4 on S2 
>> (2xdualcore)?
>> 
>> And it also makes sense what you say about the I/O.
> 
> It really depends on the system.  On my dual-core systems, I use
> devel/ccache and found that -j8 gave the best performance.


More information about the freebsd-questions mailing list