From owner-freebsd-questions@FreeBSD.ORG Thu Feb 8 22:57:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D53B316A401 for ; Thu, 8 Feb 2007 22:57:00 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 7153913C481 for ; Thu, 8 Feb 2007 22:57:00 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so912143nfc for ; Thu, 08 Feb 2007 14:56:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=F03cCUbmTFjMzM6ZPn4zKiiUjUPJykNok8H+zlxjB01PiXK41ib1Zlzucy6+9LtKJ/uY6bJsrucTLIfXpX8j+Btd8J7/rKhebD3SRND0JNHot3Raz0Rjcjh9JHmkk2e5+4riXeCZ7ifWOmRyJCjiuevlz7SgMMueJOq6A0tphEw= Received: by 10.82.134.12 with SMTP id h12mr630887bud.1170975418688; Thu, 08 Feb 2007 14:56:58 -0800 (PST) Received: by 10.82.163.16 with HTTP; Thu, 8 Feb 2007 14:56:58 -0800 (PST) Message-ID: <8cb6106e0702081456r6bba1523rf00e3bd90d86989@mail.gmail.com> Date: Thu, 8 Feb 2007 14:56:58 -0800 From: "Josh Carroll" To: "Daniel Tourde" In-Reply-To: <197003711018545@lycos-europe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <197003711018545@lycos-europe.com> Cc: freebsd-questions@freebsd.org, Bill Moran Subject: Re: Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@psualum.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2007 22:57:00 -0000 > > > I noticed something strange: When I compile using ma in the ports > > > tree, I only have 50% load. CPU1 is used at CPU0 is idle... As was already pointed out, ports do not compile with make -j X by default. You can do so for ports that will build cleanly (not all of them will), by adding something similar to the following to your make.conf: .if ${.CURDIR:M*/ImageMagick*} MAKE_ARGS+=-j4 .endif A while back I found which ports I had installed that would play nice with make -j, so I updated make.conf with a bunch of similar entries to the above. Works fairly well, and there are actually quite a few ports that will compile with make -j. If you're interested, let me know and I'll throw my make.conf up somewhere. Josh