From owner-freebsd-questions@FreeBSD.ORG Thu Feb 28 18:23:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D74839A2 for ; Thu, 28 Feb 2013 18:23:03 +0000 (UTC) (envelope-from fredports@mufley.com) Received: from kruegger.mufley.com (kruegger.mufley.com [91.121.140.194]) by mx1.freebsd.org (Postfix) with ESMTP id A56F2A38 for ; Thu, 28 Feb 2013 18:23:03 +0000 (UTC) Received: by kruegger.mufley.com (Postfix, from userid 80) id 7DF1617B819; Thu, 28 Feb 2013 18:23:02 +0000 (GMT) To: Warren Block Subject: Re: Performance Related Question X-PHP-Originating-Script: 80:main.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 28 Feb 2013 18:23:02 +0000 From: Frederico Costa Mail-Reply-To: In-Reply-To: References: <8d801e895617b492ddf724b6ce980448@www.mufley.com> <95256df2d5f04884368acf0f73bb82d0@www.mufley.com> Message-ID: <3e5f08a6797b963f947fa83cd208600b@www.mufley.com> X-Sender: fredports@mufley.com User-Agent: Roundcube Webmail/0.8.5 Cc: Michael Ross , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: fredports@mufley.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2013 18:23:03 -0000 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.