From owner-freebsd-questions@FreeBSD.ORG Thu Feb 28 01:43:05 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 3E056F24 for ; Thu, 28 Feb 2013 01:43:05 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 132B5EC for ; Thu, 28 Feb 2013 01:43:05 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id bn7so1485082ieb.11 for ; Wed, 27 Feb 2013 17:43:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=XQa/z7NyPWyAn7urVmfSE2MErH369Q2XhhEdxJpcAx8=; b=SxXB4x1hx4DO9f6MGccEDqfZkGKxHIZtY6gazrddXVsQOfwTqsYaPhyNiZG3XZejBe Mr7/kxY+pDf76TaSMHn/ZatMKMmYrwVCZUagdyrLQbGO9gMC8LZ0KO7NV7LyZ8fvhEiz vDaF4UmOBJb58veRxxvQxcHyQshsEQ7ndHHf7qlI8mt2ruelWm0fMkQPocJmJlMkR1iq Dnm4xP92GVBabxBb0Wy23xOVfINZzx2ejysGazDpXSb4Ihz9LTnsBshxwozknSjMpZeh AbsV1G8w3dqOcWCE5IBf5EQd27r+ThWOBpKfZ8+iVG0d/naNuts0FBe9ZGQSIWlhYrKO /rHg== X-Received: by 10.50.40.131 with SMTP id x3mr8579045igk.10.1362015784308; Wed, 27 Feb 2013 17:43:04 -0800 (PST) Received: from [192.168.1.14] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id ua6sm5864038igb.0.2013.02.27.17.43.02 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 17:43:03 -0800 (PST) Message-ID: <512EB626.9010901@gmail.com> Date: Wed, 27 Feb 2013 19:43:02 -0600 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Performance Related Question References: <8d801e895617b492ddf724b6ce980448@www.mufley.com> <95256df2d5f04884368acf0f73bb82d0@www.mufley.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2013 01:43:05 -0000 On 2/27/2013 4:53 PM, Michael Ross wrote: > On a multi-CPU machine using an SMP configured kernel, try values > between 6 and 10 and see how they speed things up. > But you also do need to consider memory usage. On the areas of buildworld that are CPU intensive, they can also be memory intensive. If the active processes need to get swapped out to disk, you can wipe out any performance gain. I've noticed this some with clang. I don't care that clang uses more memory, "compile once, run many", but be aware of it if you're benchmarking. The ram amount can also influence cache sizes, and you have a major difference in memory amounts.