From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 04:19:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E42216A417 for ; Thu, 8 Nov 2007 04:19:18 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from exhub015-1.exch015.msoutlookonline.net (exhub015-1.exch015.msoutlookonline.net [207.5.72.93]) by mx1.freebsd.org (Postfix) with ESMTP id 5BF1F13C491 for ; Thu, 8 Nov 2007 04:19:18 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from home.p6m7g8.net (68.33.62.187) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.0.744.0; Wed, 7 Nov 2007 20:19:07 -0800 Message-ID: <47327F9F.2060707@ridecharge.com> Date: Wed, 7 Nov 2007 22:16:47 -0500 From: "Philip M. Gollucci" Organization: Riderway Inc. User-Agent: Thunderbird 2.0.0.6 (X11/20071030) MIME-Version: 1.0 To: Chris Whitehouse References: <472CB105.9020302@onetel.com> <47325A12.5060803@onetel.com> In-Reply-To: <47325A12.5060803@onetel.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: compile ports and base using both cores X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 04:19:18 -0000 Chris Whitehouse wrote: > Chris Whitehouse wrote: >> Hi, >> >> Installing ports or upgrading the base system only uses around 50% cpu >> utilization (measured with the top utility) on my dual core machine. Is >> there some way I can get higher cpu usage? >> >> /usr/src/UPDATING says don't use make -j. I tried installing >> openoffice.org-2 with make -j 2 but it failed at some stage saying it >> couldn't find a directory. It works not using -j. This was just added to the ports tree as port of Google Summer of Code 2007. I don't recall if its was complete. Lots of people compile the base system with -jX The sweet spot is typically number of cores + 1 so on a dual dual core computer use -j5 If your disks are slow, they will hold your cpu back. -- ----------------------------------------------------------------- Philip M. Gollucci (philip@ridecharge.com) c:323.219.4708 o:703.749.9295x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.