From owner-freebsd-questions@FreeBSD.ORG Thu Feb 28 21:27:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C3C9D19D for ; Thu, 28 Feb 2013 21:27:16 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 93C6D2DB for ; Thu, 28 Feb 2013 21:27:16 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id A088033C18; Thu, 28 Feb 2013 16:27:10 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 609723983C; Thu, 28 Feb 2013 16:27:08 -0500 (EST) From: Lowell Gilbert To: Subject: Re: Performance Related Question References: <8d801e895617b492ddf724b6ce980448@www.mufley.com> <95256df2d5f04884368acf0f73bb82d0@www.mufley.com> <3e5f08a6797b963f947fa83cd208600b@www.mufley.com> Date: Thu, 28 Feb 2013 16:27:08 -0500 In-Reply-To: <3e5f08a6797b963f947fa83cd208600b@www.mufley.com> (Frederico Costa's message of "Thu, 28 Feb 2013 18:23:02 +0000") Message-ID: <441uc0ceoj.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2013 21:27:16 -0000 Frederico Costa 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).