From owner-freebsd-questions@FreeBSD.ORG Thu Dec 15 01:37:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2364B16A41F for ; Thu, 15 Dec 2005 01:37:50 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id F00C543D68 for ; Thu, 15 Dec 2005 01:37:48 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id C532B5DAE; Wed, 14 Dec 2005 20:37:47 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17522-07; Wed, 14 Dec 2005 20:37:47 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id C05315CEE; Wed, 14 Dec 2005 20:37:46 -0500 (EST) Message-ID: <43A0C8ED.4090209@mac.com> Date: Wed, 14 Dec 2005 20:37:49 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary Kline References: <20051214171014.GB37495@thought.org> <7088318B-3141-44E6-9F50-CB51F6CAE501@mac.com> <20051214211749.GJ41870@thought.org> <200512141342.22051.kstewart@owt.com> <20051215005519.GA44946@thought.org> In-Reply-To: <20051215005519.GA44946@thought.org> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org, Kent Stewart Subject: Re: fquestions 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, 15 Dec 2005 01:37:50 -0000 Gary Kline wrote: > On Wed, Dec 14, 2005 at 01:42:21PM -0800, Kent Stewart wrote: [ ... ] > Does it make any sense to use O3 when compiling stuff, > when stuff includes world/kernel/drivers? Does upping the > optimization make any significant difference in system > performance, in other words? Kent? Anybody? No. You are likely to vastly increase the amount of time it takes to compile the system without gaining any performance that's noticable. The system generally shouldn't be spending a lot of CPU in the kernel, anyway, compared with the amount of time running user-mode code. (Firewalls and routers are a significant exception, however.) If you want your system to perform better, benchmark the work it's actually doing, and then tune from there. Spending lots of time to optimize a part of the system that is already pretty efficient isn't going to do much, whereas solving the bottleneck will make a useful difference. -- -Chuck