Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2013 18:23:02 +0000
From:      Frederico Costa <fredports@mufley.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        Michael Ross <gmx@ross.cx>, freebsd-questions@freebsd.org
Subject:   Re: Performance Related Question
Message-ID:  <3e5f08a6797b963f947fa83cd208600b@www.mufley.com>
In-Reply-To: <alpine.BSF.2.00.1302271551320.57262@wonkity.com>
References:  <8d801e895617b492ddf724b6ce980448@www.mufley.com> <op.ws6rcqqsg7njmm@michael-think> <95256df2d5f04884368acf0f73bb82d0@www.mufley.com> <alpine.BSF.2.00.1302271551320.57262@wonkity.com>

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



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